Commit d0e9025d authored by Reinhard Prix's avatar Reinhard Prix
Browse files

make sure tests don't rely on graphics libs

parent e976b57c
...@@ -550,12 +550,8 @@ class GridSearch(Test): ...@@ -550,12 +550,8 @@ class GridSearch(Test):
tref=self.tref, tref=self.tref,
Lambda0=[30, 0, 0, 0], Lambda0=[30, 0, 0, 0],
) )
search.run() fig, axes = search.run(save=False)
self.assertTrue( self.assertTrue(fig is not None)
os.path.isfile(
"{}/{}_slice_projection.png".format(search.outdir, search.label)
)
)
def test_glitch_grid_search(self): def test_glitch_grid_search(self):
search = pyfstat.GridGlitchSearch( search = pyfstat.GridGlitchSearch(
......
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