mailr3733 - /1.3/test_suite/unit_tests/state_testing_base.py


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

Header


Content

Posted by edward on November 20, 2007 - 23:42:
Author: bugman
Date: Tue Nov 20 23:26:38 2007
New Revision: 3733

URL: http://svn.gna.org/viewcvs/relax?rev=3733&view=rev
Log:
Created by copying a base class for testing both the prompt.state and 
generic_fns.state modules.


Added:
    1.3/test_suite/unit_tests/state_testing_base.py
      - copied, changed from r3730, 
1.3/test_suite/unit_tests/generic_fns/test_state.py

Copied: 1.3/test_suite/unit_tests/state_testing_base.py (from r3730, 
1.3/test_suite/unit_tests/generic_fns/test_state.py)
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/state_testing_base.py?p2=1.3/test_suite/unit_tests/state_testing_base.py&p1=1.3/test_suite/unit_tests/generic_fns/test_state.py&r1=3730&r2=3733&rev=3733&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/generic_fns/test_state.py (original)
+++ 1.3/test_suite/unit_tests/state_testing_base.py Tue Nov 20 23:26:38 2007
@@ -22,7 +22,6 @@
 
 # Python module imports.
 from os import remove
-from unittest import TestCase
 
 # relax module imports.
 from data import Data as relax_data_store
@@ -30,8 +29,12 @@
 
 
 
-class Test_state(TestCase):
-    """Unit tests for the functions of the 'generic_fns.state' module."""
+class State_base_class:
+    """Base class for the tests of both the 'prompt.state' and 
'generic_fns.state' modules.
+
+    This base class also contains shared unit tests.
+    """
+
 
     def setUp(self):
         """Set up for all the data pipe unit tests."""




Related Messages


Powered by MHonArc, Updated Wed Nov 21 00:00:20 2007