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
No related tags found
No related merge requests found
...@@ -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(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment