mailr20875 - /branches/relax_disp/test_suite/gui_tests/model_free.py


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

Header


Content

Posted by edward on September 06, 2013 - 10:23:
Author: bugman
Date: Fri Sep  6 10:23:03 2013
New Revision: 20875

URL: http://svn.gna.org/viewcvs/relax?rev=20875&view=rev
Log:
Fix for the Mf.test_auto_analysis GUI test due to the spectrum list GUI 
element changes.

The Fake_right_click() class now needs a GetPosition() method.


Modified:
    branches/relax_disp/test_suite/gui_tests/model_free.py

Modified: branches/relax_disp/test_suite/gui_tests/model_free.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/gui_tests/model_free.py?rev=20875&r1=20874&r2=20875&view=diff
==============================================================================
--- branches/relax_disp/test_suite/gui_tests/model_free.py (original)
+++ branches/relax_disp/test_suite/gui_tests/model_free.py Fri Sep  6 
10:23:03 2013
@@ -437,8 +437,15 @@
 class Fake_right_click:
     """Simulate a grid_cell_right_click event ."""
 
+    def GetPosition(self):
+        """Simulate the GetPosition() method."""
+
+        # Return some random position.
+        return (10, 10)
+
+
     def GetRow(self):
-        """Overwrite the GetRow() method."""
+        """Simulate the GetRow() method."""
 
         # Return the first row.
         return 0




Related Messages


Powered by MHonArc, Updated Fri Sep 06 10:40:02 2013