mailr14240 - /branches/gui_testing/status.py


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

Header


Content

Posted by edward on August 07, 2011 - 22:03:
Author: bugman
Date: Sun Aug  7 22:03:18 2011
New Revision: 14240

URL: http://svn.gna.org/viewcvs/relax?rev=14240&view=rev
Log:
Created the status.reset() method to resetting the status object.

This will be used in the test suite.


Modified:
    branches/gui_testing/status.py

Modified: branches/gui_testing/status.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/status.py?rev=14240&r1=14239&r2=14240&view=diff
==============================================================================
--- branches/gui_testing/status.py (original)
+++ branches/gui_testing/status.py Sun Aug  7 22:03:18 2011
@@ -129,6 +129,13 @@
 
         # Add a status container.
         self.auto_analysis[name] = Auto_analysis(name, type)
+
+
+    def reset(self):
+        """Reset the status object to its initial state."""
+
+        # Simply call the setup again.
+        self._setup()
 
 
 




Related Messages


Powered by MHonArc, Updated Sun Aug 07 22:20:02 2011