mailr7340 - /1.3/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 September 26, 2008 - 15:54:
Author: bugman
Date: Fri Sep 26 15:54:57 2008
New Revision: 7340

URL: http://svn.gna.org/viewcvs/relax?rev=7340&view=rev
Log:
Added some checks to the test_load_results() system test.


Modified:
    1.3/test_suite/system_tests/structure.py

Modified: 1.3/test_suite/system_tests/structure.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/structure.py?rev=7340&r1=7339&r2=7340&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/structure.py (original)
+++ 1.3/test_suite/system_tests/structure.py Fri Sep 26 15:54:57 2008
@@ -52,3 +52,11 @@
 
         # Read the results file.
         self.relax.interpreter._Results.read(file='str', dir=path)
+
+        # Aliases.
+        cdp = ds[ds.current_pipe]
+
+        # Test the structure.
+        self.assert_(hasattr(cdp, 'structure'))
+        self.assertEqual(cdp.structure.file_name, 'Ap4Aase_res1-12.pdb')
+




Related Messages


Powered by MHonArc, Updated Fri Sep 26 16:00:02 2008