Author: bugman Date: Tue Feb 5 10:14:37 2013 New Revision: 18423 URL: http://svn.gna.org/viewcvs/relax?rev=18423&view=rev Log: Proper handling of the dipole interaction wizard in the Mf.test_bug_20479_gui_final_pipe GUI test. This was causing the subsequent GUI tests to fail as the observer objects from the wizard were not all being unregistered. Modified: trunk/test_suite/gui_tests/model_free.py Modified: trunk/test_suite/gui_tests/model_free.py URL: http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/model_free.py?rev=18423&r1=18422&r2=18423&view=diff ============================================================================== --- trunk/test_suite/gui_tests/model_free.py (original) +++ trunk/test_suite/gui_tests/model_free.py Tue Feb 5 10:14:37 2013 @@ -115,18 +115,15 @@ # Attach the protons. self._execute_uf(uf_name='sequence.attach_protons') - # Dipole-dipole interaction wizard: Initialisation and skipping of the structure loading. - analysis.setup_dipole_pair() - analysis.dipole_wizard._current_page = 2 - - # Dipole-dipole interaction wizard: The dipole_pair.define and dipole_pair.set_dist user functions (but skipping dipole_pair.unit_vectors). - analysis.dipole_wizard._apply() - interpreter.flush() # Required because of the asynchronous uf call. - page = analysis.dipole_wizard.get_page(0) - analysis.dipole_wizard._go_next() - interpreter.flush() # Required because of the asynchronous uf call. - analysis.dipole_wizard._go_next() - interpreter.flush() # Required because of the asynchronous uf call. + # Dipole-dipole interaction wizard. + analysis.setup_dipole_pair() # Initialisation. + analysis.dipole_wizard._skip() # Skip the structure.read_pdb user function. + analysis.dipole_wizard._skip() # Skip the structure.get_pos user function. + analysis.dipole_wizard._go_next() # The dipole_pair.define user function. + interpreter.flush() # Required because of the asynchronous uf call. + analysis.dipole_wizard._go_next() # The dipole_pair.set_dist user function. + interpreter.flush() # Required because of the asynchronous uf call. + analysis.dipole_wizard._skip() # Skip the dipole_pair.unit_vectors user function. # Set up the CSA interaction. analysis.value_set_csa()