Author: bugman Date: Wed Apr 23 21:05:44 2014 New Revision: 22843 URL: http://svn.gna.org/viewcvs/relax?rev=22843&view=rev Log: The General.test_bug_21720_pipe_switching_with_tab_closure GUI test now works without compiled C modules. Modified: trunk/test_suite/gui_tests/general.py Modified: trunk/test_suite/gui_tests/general.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/general.py?rev=22843&r1=22842&r2=22843&view=diff ============================================================================== --- trunk/test_suite/gui_tests/general.py (original) +++ trunk/test_suite/gui_tests/general.py Wed Apr 23 21:05:44 2014 @@ -54,21 +54,21 @@ # NOE tab: Set up the analysis. self.app.gui.analysis.new_analysis(analysis_type=analysis_type, analysis_name=analysis_name, pipe_name=pipe_name, pipe_bundle=pipe_bundle) - # R1 tab: Simulate the new analysis wizard. + # Mf tab: Simulate the new analysis wizard. self.app.gui.analysis.menu_new(None) page = self.app.gui.analysis.new_wizard.wizard.get_page(0) - page.select_r1(None) - page.analysis_name.SetValue(str_to_gui("R1 test")) + page.select_mf(None) + page.analysis_name.SetValue(str_to_gui("Mf test")) self.app.gui.analysis.new_wizard.wizard._go_next(None) page = self.app.gui.analysis.new_wizard.wizard.get_page(1) - page.pipe_name.SetValue(str_to_gui('r1')) - page.pipe_bundle.SetValue(str_to_gui('r1 bundle')) + page.pipe_name.SetValue(str_to_gui('mf')) + page.pipe_bundle.SetValue(str_to_gui('mf bundle')) self.app.gui.analysis.new_wizard.wizard._go_next(None) - # R1 tab: Get the data. + # Mf tab: Get the data. analysis_type, analysis_name, pipe_name, pipe_bundle, uf_exec = self.app.gui.analysis.new_wizard.get_data() - # R1 tab: Set up the analysis. + # Mf tab: Set up the analysis. self.app.gui.analysis.new_analysis(analysis_type=analysis_type, analysis_name=analysis_name, pipe_name=pipe_name, pipe_bundle=pipe_bundle) # NOE tab: Switch back. @@ -77,5 +77,5 @@ # NOE tab: Closure. self.app.gui.analysis.delete_analysis(0) - # Check that the R1 data pipe is now the current pipe. - self.assertEqual(cdp_name(), 'r1') + # Check that the Mf data pipe is now the current pipe. + self.assertEqual(cdp_name(), 'mf')