Skip to content

Commit b7cec6d

Browse files
committed
last asserts
1 parent 4c29e9a commit b7cec6d

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/test_basic.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,11 @@ def test_record_replay():
99
assert r == 0
1010
with open("out1.txt", 'r') as f:
1111
contents = f.read()
12-
assert("FINAL MUTATION SCORE OVER 14 EXECUTED MUTANTS: 57.14%" in contents)
12+
assert "FINAL MUTATION SCORE OVER 14 EXECUTED MUTANTS: 57.14%" in contents
1313

1414
with open("out2.txt", 'w') as f:
1515
r = subprocess.call(["muttfuzz \"./toy\" toy --score --avoid_repeats --stop_on_repeat --save_results s_analysis.csv --use_saved_mutants mutants"], shell=True, stdout=f, stderr=f)
1616
assert r == 0
1717
with open("out2.txt", 'r') as f:
1818
contents = f.read()
19-
assert("FINAL MUTATION SCORE OVER 14 EXECUTED MUTANTS: 57.14%" in contents)
20-
19+
assert "FINAL MUTATION SCORE OVER 14 EXECUTED MUTANTS: 57.14%" in contents

0 commit comments

Comments
 (0)