Fix typo causing Result object reusage between tests
This commit is contained in:
1 parent
9b02605802
commit
beb1df32ef
3 files changed
+5
-5
No files matched your search
+1
-1
@@ -155,7 +155,7 @@ def getResult(machine, test):
|
||||
|
||||
# Can find an existing result by test and machine
|
||||
results = Result.objects.filter(test=test)
|
||||
results = list(Result.objects.filter(machine=machine))
|
||||
results = list(results.filter(machine=machine))
|
||||
if results != []: return results[0]
|
||||
|
||||
# Must make a new one for the machine
|
||||
|
||||
Reference in new issue
Block a user