Skip to content

Commit

Permalink
Delete simulation files after unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
amarkpayne committed Jul 2, 2019
1 parent 227232b commit cc9eaf3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rmgpy/tools/simulateTest.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def test_minimal(self):
self.assertTrue(os.path.isfile(sensfile))

shutil.rmtree(os.path.join(folder, 'solver'))
os.remove(os.path.join(folder, 'simulate.log'))

def test_liquid(self):
folder = os.path.join(os.path.dirname(rmgpy.__file__), 'tools/data/sim/liquid')
Expand All @@ -71,6 +72,7 @@ def test_liquid(self):
self.assertTrue(os.path.isfile(sensfile))

shutil.rmtree(os.path.join(folder, 'solver'))
os.remove(os.path.join(folder, 'simulate.log'))

def tearDown(self):
import rmgpy.data.rmg
Expand Down

0 comments on commit cc9eaf3

Please sign in to comment.