Commit 255c65e7 authored by niklas.baumgarten's avatar niklas.baumgarten
Browse files

refactoring

parent f8f03249
Pipeline #106947 failed with stages
in 4 minutes and 35 seconds
......@@ -64,8 +64,8 @@ class TestLogParser(TestCase):
copytree(self.sample, self.real_sample)
self.assertEqual(len(os.listdir(self.real_sample)), 2)
with self.assertRaises(FileNotFoundError):
self.mpp.perm_potential_plot('Non existing sample', save_only=True)
self.mpp.perm_potential_plot('sample', save_only=True)
self.mpp.perm_potential_plot_2d('Non existing sample', save_only=True)
self.mpp.perm_potential_plot_2d('sample', save_only=True)
self.assertEqual(len(os.listdir(self.mpp.PROJECT_VTK_DATA_DIR)), 1)
self.assertEqual(len(os.listdir(self.real_sample)), 3)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment