mailr17025 - /branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py


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

Header


Content

Posted by edward on June 22, 2012 - 14:21:
Author: bugman
Date: Fri Jun 22 14:21:40 2012
New Revision: 17025

URL: http://svn.gna.org/viewcvs/relax?rev=17025&view=rev
Log:
Removed all of the unit tests of the deleted structure.vectors user function.


Modified:
    branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py

Modified: branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py?rev=17025&r1=17024&r2=17025&view=diff
==============================================================================
--- branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py 
(original)
+++ branches/interatomic/test_suite/unit_tests/_prompt/test_structure.py Fri 
Jun 22 14:21:40 2012
@@ -269,84 +269,3 @@
 
             # The argument test.
             self.assertRaises(RelaxStrError, self.structure_fns.read_pdb, 
parser=data[1])
-
-
-    def test_vectors_argfail_attached(self):
-        """The attached arg test of the structure.vectors() user function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the str arguments, and skip them.
-            if data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxStrError, self.structure_fns.vectors, 
attached=data[1])
-
-
-    def test_vectors_argfail_spin_id(self):
-        """The spin_id arg test of the structure.vectors() user function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the None and str arguments, and skip them.
-            if data[0] == 'None' or data[0] == 'str':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxNoneStrError, self.structure_fns.vectors, 
spin_id=data[1])
-
-
-    def test_vectors_argfail_model(self):
-        """The model arg test of the structure.vectors() user function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the None, bin, and int arguments, and skip them.
-            if data[0] == 'None' or data[0] == 'bin' or data[0] == 'int':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxNoneIntError, self.structure_fns.vectors, 
model=data[1])
-
-
-    def test_vectors_argfail_verbosity(self):
-        """The verbosity arg test of the structure.vectors() user 
function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the bin and int arguments, and skip them.
-            if data[0] == 'bin' or data[0] == 'int':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxIntError, self.structure_fns.vectors, 
verbosity=data[1])
-
-
-    def test_vectors_argfail_ave(self):
-        """The ave arg test of the structure.vectors() user function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the bool arguments, and skip them.
-            if data[0] == 'bool':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxBoolError, self.structure_fns.vectors, 
ave=data[1])
-
-
-    def test_vectors_argfail_unit(self):
-        """The unit arg test of the structure.vectors() user function."""
-
-        # Loop over the data types.
-        for data in DATA_TYPES:
-            # Catch the bool arguments, and skip them.
-            if data[0] == 'bool':
-                continue
-
-            # The argument test.
-            self.assertRaises(RelaxBoolError, self.structure_fns.vectors, 
unit=data[1])
-
-
-




Related Messages


Powered by MHonArc, Updated Fri Jun 22 14:40:02 2012