Commit 734b4cae authored by Sebastien Robin's avatar Sebastien Robin

print output before assert, this allows to understand issues

parent cf3c1aab
No related merge requests found
...@@ -57,5 +57,5 @@ class TestSQLBench(unittest.TestCase): ...@@ -57,5 +57,5 @@ class TestSQLBench(unittest.TestCase):
stdout=subprocess.PIPE, stderr=subprocess.PIPE) stdout=subprocess.PIPE, stderr=subprocess.PIPE)
output, error = process.communicate() output, error = process.communicate()
self.assertEquals(0, len(error), error) self.assertEquals(0, len(error), error)
self.assertTrue(output.find("Total time: ")>=0)
print output print output
self.assertTrue(output.find("Total time: ")>=0)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment