mailr21810 - /trunk/test_suite/gui_tests/relax_disp.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by tlinnet on December 06, 2013 - 09:57:
Author: tlinnet
Date: Fri Dec  6 09:57:11 2013
New Revision: 21810

URL: http://svn.gna.org/viewcvs/relax?rev=21810&view=rev
Log:
Fix for proper spacing and comments in GUI test.

Work in progress for Support Request #3044, 
(https://gna.org/support/index.php?3044) - Load spins from SPARKY list.

Modified:
    trunk/test_suite/gui_tests/relax_disp.py

Modified: trunk/test_suite/gui_tests/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/gui_tests/relax_disp.py?rev=21810&r1=21809&r2=21810&view=diff
==============================================================================
--- trunk/test_suite/gui_tests/relax_disp.py (original)
+++ trunk/test_suite/gui_tests/relax_disp.py Fri Dec  6 09:57:11 2013
@@ -178,7 +178,7 @@
         analysis.peak_wizard_launch(None)
         wizard = analysis.peak_wizard
 
-        # The spectrum, use Keyword auto.
+        # The spectrum, where the use of Keyword auto will auto-assign 
spectra Z_A{i}.
         page = wizard.get_page(wizard.page_indices['read'])
         
page.uf_args['file'].SetValue(str_to_gui("%sfolded_sparky_corr_final_max_standard_trunc.ser"
 % data_path))
         page.uf_args['spectrum_id'].SetValue(['auto'])
@@ -191,11 +191,16 @@
 
         # Get ID from RMSD window.
         page = wizard.get_page(wizard.page_indices['rmsd'])
+
         # Flush all wx events (to allow the spectrum list GUI element to 
populate all its rows).
         wx.Yield()
-        # Get the ID
+
+        # Get the first ID from list.
         cur_id = page.uf_args['spectrum_id'].GetValue()
+
+        # Now check that the first is set to 'Z_A0', since the keyword 
'auto' was used for spectrum_id.
         self.assertEqual(cur_id, 'Z_A0')
+
 
     def test_hansen_trunc_data(self):
         """Test the GUI analysis with Flemming Hansen's CPMG data truncated 
to residues 70 and 71."""




Related Messages


Powered by MHonArc, Updated Fri Dec 06 10:00:01 2013