mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
cleaned up track output test a bit
This commit is contained in:
parent
9da450e810
commit
5a89348898
1 changed files with 5 additions and 3 deletions
|
|
@ -39,9 +39,11 @@ def test_outputs():
|
|||
assert compare, 'Results to not agree'
|
||||
|
||||
def teardown():
|
||||
temp_files = glob.glob(''.join((cwd, '/statepoint*')))
|
||||
temp_files = temp_files + glob.glob(''.join((cwd, '/track*')))
|
||||
temp_files = temp_files + glob.glob(''.join((cwd, '/poly*')))
|
||||
temp_files = glob.glob('statepoint*')
|
||||
temp_files += glob.glob('track*')
|
||||
temp_files += glob.glob('*.vtp')
|
||||
temp_files += glob.glob('*.pvtp')
|
||||
temp_files = temp_files + ['results_test.dat']
|
||||
for f in temp_files:
|
||||
if os.path.exists(f):
|
||||
os.remove(f)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue