mailr27698 - /trunk/test_suite/system_tests/structure.py


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

Header


Content

Posted by edward on February 20, 2015 - 14:56:
Author: bugman
Date: Fri Feb 20 14:56:11 2015
New Revision: 27698

URL: http://svn.gna.org/viewcvs/relax?rev=27698&view=rev
Log:
Added one more check to the Structure.test_bug_23295_ss_metadata_merge system 
test.

The test would pass if no HELIX or SHEET records were to be written to the 
PDB file.


Modified:
    trunk/test_suite/system_tests/structure.py

Modified: trunk/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/system_tests/structure.py?rev=27698&r1=27697&r2=27698&view=diff
==============================================================================
--- trunk/test_suite/system_tests/structure.py  (original)
+++ trunk/test_suite/system_tests/structure.py  Fri Feb 20 14:56:11 2015
@@ -1040,6 +1040,9 @@
 
             # Increment the secondary structure index.
             index += 1
+
+        # Check the count to make sure that secondary structure records have 
at all been created.
+        self.assertEqual(len(contents), index+1)
 
 
     def test_bug_sr_2998_broken_conect_records(self):




Related Messages


Powered by MHonArc, Updated Fri Feb 20 16:00:02 2015