Registering machines

This commit is contained in:
AndyGrant committed 2018-06-11 01:00:13 -04:00
1 parent 54ed339555
commit 45866bec60
10 files changed
+26 -425

No files matched your search

+5 -2
View File
@@ -18,7 +18,7 @@ def getSourceLocation(branch, repo):
def verifyMachine(machineid, username, osname, threads):
# Machine does not exist, make a new one
if machineid == None:
if machineid == 'None':
machine = Machine()
machine.owner = username
machine.osname = osname
@@ -99,4 +99,7 @@ def newTest(request):
# Nothing seems to have gone wrong
test.save()
return test
return test
def getWorkload(threads):
pass