mailr4371 - in /1.3/test_suite/system_tests: __init__.py pipe_create.py test_pipe_create.py


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

Header


Content

Posted by edward on January 05, 2008 - 21:08:
Author: bugman
Date: Sat Jan  5 21:08:14 2008
New Revision: 4371

URL: http://svn.gna.org/viewcvs/relax?rev=4371&view=rev
Log:
Renamed the test_pipe_create module and class back to pipe_create.


Added:
    1.3/test_suite/system_tests/pipe_create.py
      - copied, changed from r4366, 
1.3/test_suite/system_tests/test_pipe_create.py
Removed:
    1.3/test_suite/system_tests/test_pipe_create.py
Modified:
    1.3/test_suite/system_tests/__init__.py

Modified: 1.3/test_suite/system_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/__init__.py?rev=4371&r1=4370&r2=4371&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/__init__.py (original)
+++ 1.3/test_suite/system_tests/__init__.py Sat Jan  5 21:08:14 2008
@@ -33,9 +33,9 @@
 from jw_mapping import Jw
 from model_free import Mf
 from model_selection import Modsel
+from pipe_create import Pipe_create
 from relax_fit import Relax_fit
 from sequence import Sequence
-from test_pipe_create import Test_pipe_create
 
 
 __all__ = ['angles',
@@ -77,7 +77,7 @@
         suite_array.append(TestLoader().loadTestsFromTestCase(Modsel))
         suite_array.append(TestLoader().loadTestsFromTestCase(Relax_fit))
         suite_array.append(TestLoader().loadTestsFromTestCase(Sequence))
-        
suite_array.append(TestLoader().loadTestsFromTestCase(Test_pipe_create))
+        suite_array.append(TestLoader().loadTestsFromTestCase(Pipe_create))
 
         # Add the relax namespace to each TestCase object.
         for i in xrange(len(suite_array)):

Copied: 1.3/test_suite/system_tests/pipe_create.py (from r4366, 
1.3/test_suite/system_tests/test_pipe_create.py)
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/pipe_create.py?p2=1.3/test_suite/system_tests/pipe_create.py&p1=1.3/test_suite/system_tests/test_pipe_create.py&r1=4366&r2=4371&rev=4371&view=diff
==============================================================================
--- 1.3/test_suite/system_tests/test_pipe_create.py (original)
+++ 1.3/test_suite/system_tests/pipe_create.py Sat Jan  5 21:08:14 2008
@@ -27,7 +27,7 @@
 from data import Data as relax_data_store
 
 
-class Test_pipe_create(TestCase):
+class Pipe_create(TestCase):
     """TestCase class for the functional tests of relax data pipes."""
 
 

Removed: 1.3/test_suite/system_tests/test_pipe_create.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/system_tests/test_pipe_create.py?rev=4370&view=auto
==============================================================================
--- 1.3/test_suite/system_tests/test_pipe_create.py (original)
+++ 1.3/test_suite/system_tests/test_pipe_create.py (removed)
@@ -1,44 +1,0 @@
-###############################################################################
-#                                                                            
 #
-# Copyright (C) 2006-2008 Edward d'Auvergne                                  
 #
-#                                                                            
 #
-# This file is part of the program relax.                                    
 #
-#                                                                            
 #
-# relax is free software; you can redistribute it and/or modify              
 #
-# it under the terms of the GNU General Public License as published by       
 #
-# the Free Software Foundation; either version 2 of the License, or          
 #
-# (at your option) any later version.                                        
 #
-#                                                                            
 #
-# relax is distributed in the hope that it will be useful,                   
 #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of             
 #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              
 #
-# GNU General Public License for more details.                               
 #
-#                                                                            
 #
-# You should have received a copy of the GNU General Public License          
 #
-# along with relax; if not, write to the Free Software                       
 #
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  
 #
-#                                                                            
 #
-###############################################################################
-
-# Python module imports.
-from unittest import TestCase
-
-# relax module imports.
-from data import Data as relax_data_store
-
-
-class Test_pipe_create(TestCase):
-    """TestCase class for the functional tests of relax data pipes."""
-
-
-    def tearDown(self):
-        """Reset the relax data storage object."""
-
-        relax_data_store.__reset__()
-
-
-    def test_pipe_create(self):
-        """Create a data pipe."""
-
-        # Create the data pipe.
-        self.relax.interpreter._Pipe.create('test', 'mf')




Related Messages


Powered by MHonArc, Updated Sat Jan 05 23:40:16 2008