Skip to content
Snippets Groups Projects
Commit d0e9025d authored by Reinhard Prix's avatar Reinhard Prix
Browse files

make sure tests don't rely on graphics libs

parent e976b57c
Branches
Tags
1 merge request!21Make tests more robust
......@@ -550,12 +550,8 @@ class GridSearch(Test):
tref=self.tref,
Lambda0=[30, 0, 0, 0],
)
search.run()
self.assertTrue(
os.path.isfile(
"{}/{}_slice_projection.png".format(search.outdir, search.label)
)
)
fig, axes = search.run(save=False)
self.assertTrue(fig is not None)
def test_glitch_grid_search(self):
search = pyfstat.GridGlitchSearch(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment