fix output check in tests
This commit is contained in:
+1
-1
@@ -12,7 +12,7 @@ class CrashTest(deepstate_base.DeepStateTestCase):
|
||||
self.assertTrue("Passed: Crash_SegFault" in output)
|
||||
foundCrashSave = False
|
||||
for line in output.split("\n"):
|
||||
if ("Saving input to" in line) and (".crash" in line):
|
||||
if ("Saved test case" in line) and (".crash" in line):
|
||||
foundCrashSave = True
|
||||
self.assertTrue(foundCrashSave)
|
||||
|
||||
|
||||
@@ -15,6 +15,6 @@ class TakeOverTest(deepstate_base.DeepStateTestCase):
|
||||
|
||||
foundPassSave = False
|
||||
for line in output.split("\n"):
|
||||
if ("Saving input to" in line) and (".pass" in line):
|
||||
if ("Saved test case" in line) and (".pass" in line):
|
||||
foundPassSave = True
|
||||
self.assertTrue(foundPassSave)
|
||||
|
||||
Reference in New Issue
Block a user