mailr7631 - in /1.3/test_suite/system_tests: angles.py scripts/angles.py


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

Header


Content

Posted by edward on October 12, 2008 - 11:23:
Author: bugman
Date: Sun Oct 12 11:23:07 2008
New Revision: 7631

URL: http://svn.gna.org/viewcvs/relax?rev=7631&view=rev
Log:
Shifted the pipe creation from setUp() to the script to allow for stand alone 
execution.


Modified:
    1.3/test_suite/system_tests/angles.py
    1.3/test_suite/system_tests/scripts/angles.py

Modified: 1.3/test_suite/system_tests/angles.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/angles.py?rev=7631&r1=7630&r2=7631&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/angles.py (original)
+++ 1.3/test_suite/system_tests/angles.py Sun Oct 12 11:23:07 2008
@@ -32,13 +32,6 @@
 
 class Angles(TestCase):
     """Class for testing the angle calculation function."""
-
-    def setUp(self):
-        """Set up for all the functional tests."""
-
-        # Create the data pipe.
-        self.relax.interpreter._Pipe.create('mf', 'mf')
-
 
     def tearDown(self):
         """Reset the relax data storage object."""

Modified: 1.3/test_suite/system_tests/scripts/angles.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/scripts/angles.py?rev=7631&r1=7630&r2=7631&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/scripts/angles.py (original)
+++ 1.3/test_suite/system_tests/scripts/angles.py Sun Oct 12 11:23:07 2008
@@ -1,5 +1,8 @@
 import sys
 
+
+# Create the data pipe.
+pipe.create('mf', 'mf')
 
 # Read the sequence.
 sequence.read(file='Ap4Aase.seq', dir=sys.path[-1] + 
'/test_suite/shared_data')




Related Messages


Powered by MHonArc, Updated Sun Oct 12 12:00:03 2008