Skip to content

Commit

Permalink
Update examples tests to search for correct string
Browse files Browse the repository at this point in the history
  • Loading branch information
rsdefever committed Mar 26, 2020
1 parent dcfa467 commit 642d1ae
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mosdef_cassandra/tests/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_run_nvt(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

Expand All @@ -51,7 +51,7 @@ def test_run_npt(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

Expand All @@ -74,7 +74,7 @@ def test_run_gcmc(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

Expand All @@ -97,7 +97,7 @@ def test_run_gemc(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

Expand All @@ -120,7 +120,7 @@ def test_run_nvt_mixture(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

Expand All @@ -143,6 +143,6 @@ def test_run_gcmc_adsorption(self):

completed = False
for line in log_data:
if "Energy of final" in line:
if "Cassandra simulation complete" in line:
completed = True
assert completed

0 comments on commit 642d1ae

Please sign in to comment.