mailr12844 - /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 June 03, 2011 - 17:48:
Author: bugman
Date: Fri Jun  3 17:48:05 2011
New Revision: 12844

URL: http://svn.gna.org/viewcvs/relax?rev=12844&view=rev
Log:
The Scientific python PDB reading tests are no longer skipped if the module 
is not installed.


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=12844&r1=12843&r2=12844&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/structure.py (original)
+++ 1.3/test_suite/system_tests/structure.py Fri Jun  3 17:48:05 2011
@@ -26,7 +26,6 @@
 # relax module imports.
 from base_classes import SystemTestCase
 from data import Relax_data_store; ds = Relax_data_store()
-import dep_check
 from generic_fns.mol_res_spin import count_spins
 from status import Status; status = Status()
 
@@ -40,14 +39,6 @@
         @keyword methodName:    The name of the test.
         @type methodName:       str
         """
-
-        # Scientific python tests.
-        scientific_tests = ['test_load_scientific_results', 
'test_read_pdb_scientific1', 'test_read_pdb_scientific2', 
'test_read_pdb_scientific3', 'test_read_pdb_scientific4', 
'test_read_pdb_scientific5', 'test_read_pdb_scientific6', 
'test_read_pdb_scientific7', 'test_read_pdb_mol_2_model_scientific', 
'test_read_pdb_model_2_mol_scientific', 'test_read_pdb_complex_scientific']
-
-        # Missing module.
-        if methodName in scientific_tests and not 
dep_check.scientific_module:
-            # Store in the status object.
-            status.skipped_tests.append([methodName, 'Scientific Python', 
'system'])
 
         # Execute the base class method.
         super(Structure, self).__init__(methodName)




Related Messages


Powered by MHonArc, Updated Fri Jun 03 18:00:02 2011