mailr4091 - /1.3/test_suite/unit_tests/_generic_fns/test_selection.py


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

Header


Content

Posted by edward on November 28, 2007 - 09:43:
Author: bugman
Date: Wed Nov 28 09:43:57 2007
New Revision: 4091

URL: http://svn.gna.org/viewcvs/relax?rev=4091&view=rev
Log:
Fixes for the unit tests of generic_fns.selection.generate_spin_id().


Modified:
    1.3/test_suite/unit_tests/_generic_fns/test_selection.py

Modified: 1.3/test_suite/unit_tests/_generic_fns/test_selection.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_generic_fns/test_selection.py?rev=4091&r1=4090&r2=4091&view=diff
==============================================================================
--- 1.3/test_suite/unit_tests/_generic_fns/test_selection.py (original)
+++ 1.3/test_suite/unit_tests/_generic_fns/test_selection.py Wed Nov 28 
09:43:57 2007
@@ -261,7 +261,7 @@
         id = selection.generate_spin_id(data)
 
         # Test the string.
-        self.assertEqual(id, ':1&GLY')
+        self.assertEqual(id, ':1&:GLY')
 
 
     def test_generate_spin_id2(self):
@@ -277,7 +277,7 @@
         id = selection.generate_spin_id(data, spin_num_col=2, 
spin_name_col=3)
 
         # Test the string.
-        self.assertEqual(id, ':1&GLY@234&NH')
+        self.assertEqual(id, ':1&:GLY@234&@NH')
 
 
     def test_generate_spin_id3(self):
@@ -293,7 +293,7 @@
         id = selection.generate_spin_id(data, mol_name_col=0, 
res_num_col=None, res_name_col=None, spin_num_col=1, spin_name_col=2)
 
         # Test the string.
-        self.assertEqual(id, '#Ap4Aase@234&NH')
+        self.assertEqual(id, '#Ap4Aase@234&@NH')
 
 
     def test_generate_spin_id4(self):
@@ -309,7 +309,7 @@
         id = selection.generate_spin_id(data, mol_name_col=0, res_num_col=1, 
res_name_col=2)
 
         # Test the string.
-        self.assertEqual(id, '#Ap4Aase:1&GLY')
+        self.assertEqual(id, '#Ap4Aase:1&:GLY')
 
 
     def test_generate_spin_id5(self):
@@ -325,7 +325,7 @@
         id = selection.generate_spin_id(data, mol_name_col=0, res_num_col=1, 
res_name_col=2, spin_num_col=3, spin_name_col=4)
 
         # Test the string.
-        self.assertEqual(id, '#Ap4Aase:1&GLY@234&NH')
+        self.assertEqual(id, '#Ap4Aase:1&:GLY@234&@NH')
 
 
     def test_molecule_loop(self):




Related Messages


Powered by MHonArc, Updated Wed Nov 28 10:00:11 2007