mailr3636 - /1.3/test_suite/unit_tests/prompt/test_molecule.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 - 11:21:
Author: bugman
Date: Tue Nov 20 11:21:27 2007
New Revision: 3636

URL: http://svn.gna.org/viewcvs/relax?rev=3636&view=rev
Log:
Implemented the mol_id arg unit test for the molecule.display() user function.


Modified:
    1.3/test_suite/unit_tests/prompt/test_molecule.py

Modified: 1.3/test_suite/unit_tests/prompt/test_molecule.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/prompt/test_molecule.py?rev=3636&r1=3635&r2=3636&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/prompt/test_molecule.py (original)
+++ 1.3/test_suite/unit_tests/prompt/test_molecule.py Tue Nov 20 11:21:27 2007
@@ -130,8 +130,8 @@
             self.assertRaises(RelaxStrError, self.molecule_fns.delete, 
mol_id=data[1])
 
 
-    def test_display_argfail_spin_id(self):
-        """Test the proper failure of the spin.display() user function for 
the spin_id argument."""
+    def test_display_argfail_mol_id(self):
+        """Test the proper failure of the molecule.display() user function 
for the mol_id argument."""
 
         # Loop over the data types.
         for data in return_data_types():
@@ -140,7 +140,7 @@
                 continue
 
             # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.spin_fns.display, 
spin_id=data[1])
+            self.assertRaises(RelaxNoneStrError, self.molecule_fns.display, 
mol_id=data[1])
 
 
     def test_rename_argfail_spin_id(self):




Related Messages


Powered by MHonArc, Updated Tue Nov 20 11:40:07 2007