mailr6855 - /branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py


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

Header


Content

Posted by edward on July 09, 2008 - 11:18:
Author: bugman
Date: Wed Jul  9 11:02:23 2008
New Revision: 6855

URL: http://svn.gna.org/viewcvs/relax?rev=6855&view=rev
Log:
Fixed the unit tests broken by the split up of n_state_model.model().


Modified:
    branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py

Modified: 
branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py?rev=6855&r1=6854&r2=6855&view=diff
==============================================================================
--- branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py 
(original)
+++ branches/rdc_analysis/test_suite/unit_tests/_prompt/test_n_state_model.py 
Wed Jul  9 11:02:23 2008
@@ -157,8 +157,8 @@
             self.assertRaises(RelaxBoolError, 
self.n_state_model_fns.cone_pdb, cone_type='', force=data[1])
 
 
-    def test_model_argfail_N(self):
-        """Failure of the N arg of the n_state_model.model() user 
function."""
+    def test_number_of_states_argfail_N(self):
+        """Failure of the N arg of the n_state_model.number_of_states() user 
function."""
 
         # Loop over the data types.
         for data in DATA_TYPES:
@@ -167,11 +167,11 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxIntError, self.n_state_model_fns.model, 
N=data[1])
-
-
-    def test_model_argfail_ref(self):
-        """Failure of the ref arg of the n_state_model.model() user 
function."""
+            self.assertRaises(RelaxIntError, 
self.n_state_model_fns.number_of_states, N=data[1])
+
+
+    def test_ref_domain_argfail_ref(self):
+        """Failure of the ref arg of the n_state_model.ref_domain() user 
function."""
 
         # Loop over the data types.
         for data in DATA_TYPES:
@@ -180,7 +180,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxStrError, self.n_state_model_fns.model, 
N=5, ref=data[1])
+            self.assertRaises(RelaxStrError, 
self.n_state_model_fns.ref_domain, ref=data[1])
 
 
     def test_set_domain_argfail_tensor(self):




Related Messages


Powered by MHonArc, Updated Wed Jul 09 11:20:12 2008