def test_test_fiducial_list_raises_on_bad_method(self):
     with self.assertRaises(ValueError):
         fs.test_fiducial_list(self.model, None, "foobar")
 def test_test_fiducial_list_worst_score_func(self):
     self.assertTrue(
         fs.test_fiducial_list(self.model,
                               self.fiducials_list,
                               self.prep_or_meas,
                               score_func='worst'))
 def test_test_fiducial_list_return_all(self):
     result, spectrum, score = fs.test_fiducial_list(self.model,
                                                     self.fiducials_list,
                                                     self.prep_or_meas,
                                                     return_all=True)
 def test_test_fiducial_list(self):
     self.assertTrue(
         fs.test_fiducial_list(self.model, self.fiducials_list,
                               self.prep_or_meas))