Index: test/promises-aplus/testcfg.py |
diff --git a/test/promises-aplus/testcfg.py b/test/promises-aplus/testcfg.py |
index 5f447c3f90a88b2f4863711008acf4876eb826c1..bd80f97a13b7feb0953aa3868d2baf8ecadfe18c 100644 |
--- a/test/promises-aplus/testcfg.py |
+++ b/test/promises-aplus/testcfg.py |
@@ -91,11 +91,11 @@ class PromiseAplusTestSuite(testsuite.TestSuite): |
def IsNegativeTest(self, testcase): |
return '@negative' in self.GetSourceForTest(testcase) |
- def IsFailureOutput(self, output, testpath): |
- if output.exit_code != 0: |
+ def IsFailureOutput(self, testcase): |
+ if testcase.output.exit_code != 0: |
return True |
- return not 'All tests have run.' in output.stdout or \ |
- 'FAIL:' in output.stdout |
+ return not 'All tests have run.' in testcase.output.stdout or \ |
+ 'FAIL:' in testcase.output.stdout |
def DownloadTestData(self): |
archive = os.path.join(self.root, TEST_ARCHIVE) |