Skip to content

Commit

Permalink
Update test_VXdetector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Landbarsch authored Jan 18, 2025
1 parent 015bbf5 commit 528ab57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vxdetector/tests/test_VXdetector.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def tearDown(self):
shutil.rmtree(self.fp_tmpdir)

def test_csv_output(self):
new_file = f'{self.fp_tmpdir}/test.csv'
new_file = f'{self.fp_tmpdir}test.csv'
single_file = True
vx.do_output(self.result, new_file, single_file)
content = []
Expand Down Expand Up @@ -63,7 +63,7 @@ def test_numeric_conversion(self):
'V6': 0.0122571189279732,
}}
single_file = True
new_file = f'{self.fp_tmpdir}/test3.csv'
new_file = f'{self.fp_tmpdir}test3.csv'
vx.do_output(mixed_result, new_file, single_file)
content = []
with open(self.output_test)as f:
Expand All @@ -90,7 +90,7 @@ def test_output_options(self):
vx.do_output(self.result, new_file, single_file)
sys.stdout = sys.__stdout__
self.assertEqual(capturedOutput.getvalue(), expected)
new_file = f'{self.fp_tmpdir}/test2.csv'
new_file = f'{self.fp_tmpdir}test2.csv'
vx.do_output(self.result, new_file, single_file)
self.assertTrue(os.path.exists(new_file))

Expand Down

0 comments on commit 528ab57

Please sign in to comment.