diff --git a/scripts/test/Muon/fitting_tab_widget/fitting_tab_presenter_test.py b/scripts/test/Muon/fitting_tab_widget/fitting_tab_presenter_test.py index 150537a7e3ed2a8d7133792033977dd4f0dfc5db..7d3a14e398b1cdf478cb76773d2ec11329d32a4e 100644 --- a/scripts/test/Muon/fitting_tab_widget/fitting_tab_presenter_test.py +++ b/scripts/test/Muon/fitting_tab_widget/fitting_tab_presenter_test.py @@ -525,8 +525,7 @@ class FittingTabPresenterTest(unittest.TestCase): self.view.function_browser.setParameter('A', 1.5) - self.assertEqual([str(item) for item in self.presenter._fit_function], - ['name=GausOsc,A=1.5,Sigma=0.2,Frequency=0.1,Phi=0'] + ['name=GausOsc,A=0.2,Sigma=0.2,Frequency=0.1,Phi=0'] * 2) + self.assertEqual(str(self.view.fit_object), 'name=GausOsc,A=1.5,Sigma=0.2,Frequency=0.1,Phi=0') def test_handle_display_workspace_changed_updates_displayed_single_function(self): self.presenter.selected_data = ['MUSR22725; Group; top; Asymmetry', 'MUSR22725; Group; bottom; Asymmetry',