Author: bugman
Date: Thu Nov 22 11:12:27 2007
New Revision: 3806

URL: http://svn.gna.org/viewcvs/relax?rev=3806&view=rev
Log:
Fixed the arg unit tests of state.load() and state.save() to use 'dir_name' 
rather than 'dir'.


Modified:
    1.3/test_suite/unit_tests/_prompt/test_state.py

Modified: 1.3/test_suite/unit_tests/_prompt/test_state.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_state.py?rev=3806&r1=3805&r2=3806&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_state.py (original)
+++ 1.3/test_suite/unit_tests/_prompt/test_state.py Thu Nov 22 11:12:27 2007
@@ -69,8 +69,8 @@
             self.assertRaises(RelaxStrFileError, self.state.load_state, 
state=data[1])
 
 
-    def test_load_argfail_dir(self):
-        """Test the proper failure of the state.load() user function for the 
dir argument."""
+    def test_load_argfail_dir_name(self):
+        """Test the proper failure of the state.load() user function for the 
dir_name argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -79,7 +79,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.state.load_state, 
state='a', dir=data[1])
+            self.assertRaises(RelaxNoneStrError, self.state.load_state, 
state='a', dir_name=data[1])
 
 
     def test_save_argfail_state(self):
@@ -95,8 +95,8 @@
             self.assertRaises(RelaxStrFileError, self.state.save_state, 
state=data[1])
 
 
-    def test_save_argfail_dir(self):
-        """Test the proper failure of the state.save() user function for the 
dir argument."""
+    def test_save_argfail_dir_name(self):
+        """Test the proper failure of the state.save() user function for the 
dir_name argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -105,7 +105,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.state.save_state, 
state='a', dir=data[1])
+            self.assertRaises(RelaxNoneStrError, self.state.save_state, 
state='a', dir_name=data[1])
 
 
     def test_save_argfail_force(self):


_______________________________________________
relax (http://nmr-relax.com)

This is the relax-commits mailing list
relax-commits@gna.org

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-commits

Reply via email to