mailr8241 - in /branches/relax_disp/test_suite/system_tests: __init__.py relax_disp.py


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

Header


Content

Posted by sebastien . morin . 1 on January 06, 2009 - 22:21:
Author: semor
Date: Tue Jan  6 22:21:26 2009
New Revision: 8241

URL: http://svn.gna.org/viewcvs/relax?rev=8241&view=rev
Log:
Reverted revision 8228.

The command used was:
svn merge -r8228:8227 .

This follows a message by Edward concerning the copying of existing code 
within relax:
https://mail.gna.org/public/relax-devel/2009-01/msg00006.html
(Message-id: <7f080ed10901061301w4fd295feu5a2af1a157153064@xxxxxxxxxxxxxx>)

Removed:
    branches/relax_disp/test_suite/system_tests/relax_disp.py
Modified:
    branches/relax_disp/test_suite/system_tests/__init__.py

Modified: branches/relax_disp/test_suite/system_tests/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/system_tests/__init__.py?rev=8241&r1=8240&r2=8241&view=diff
==============================================================================
--- branches/relax_disp/test_suite/system_tests/__init__.py (original)
+++ branches/relax_disp/test_suite/system_tests/__init__.py Tue Jan  6 
22:21:26 2009
@@ -46,7 +46,6 @@
 from palmer import Palmer
 from peak_lists import Peak_lists
 from pipe_create import Pipe_create
-from relax_disp import Relax_disp
 from relax_fit import Relax_fit
 from results import Results
 from sequence import Sequence
@@ -70,7 +69,6 @@
            'palmer',
            'peak_lists'
            'pipe_create',
-           'relax_disp',
            'relax_fit',
            'results',
            'sequence',
@@ -112,7 +110,6 @@
         suite_array.append(TestLoader().loadTestsFromTestCase(Palmer))
         suite_array.append(TestLoader().loadTestsFromTestCase(Peak_lists))
         suite_array.append(TestLoader().loadTestsFromTestCase(Pipe_create))
-        suite_array.append(TestLoader().loadTestsFromTestCase(Relax_disp))
         suite_array.append(TestLoader().loadTestsFromTestCase(Relax_fit))
         suite_array.append(TestLoader().loadTestsFromTestCase(Results))
         suite_array.append(TestLoader().loadTestsFromTestCase(Sequence))

Removed: branches/relax_disp/test_suite/system_tests/relax_disp.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/test_suite/system_tests/relax_disp.py?rev=8240&view=auto
==============================================================================
--- branches/relax_disp/test_suite/system_tests/relax_disp.py (original)
+++ branches/relax_disp/test_suite/system_tests/relax_disp.py (removed)
@@ -1,62 +1,0 @@
-###############################################################################
-#                                                                            
 #
-# Copyright (C) 2006-2008 Edward d'Auvergne                                  
 #
-# Copyright (C) 2009 Sebastien Morin                                         
 #
-#                                                                            
 #
-# 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 shutil import rmtree
-import sys
-from tempfile import mkdtemp
-from unittest import TestCase
-
-# relax module imports.
-from data import Relax_data_store; ds = Relax_data_store()
-
-
-class Relax_disp(TestCase):
-    """Class for testing various aspects specific to relaxation dispersion 
curve-fitting."""
-
-    def setUp(self):
-        """Set up for all the functional tests."""
-
-        # Create the data pipe.
-        self.relax.interpreter._Pipe.create('relax_disp', 'relax_disp')
-
-        # Create a temporary directory for dumping files.
-        ds.tmpdir = mkdtemp()
-        self.tmpdir = ds.tmpdir
-
-
-    def tearDown(self):
-        """Reset the relax data storage object."""
-
-        # Remove the temporary directory.
-        rmtree(self.tmpdir)
-
-        # Reset the relax data storage object.
-        ds.__reset__()
-
-
-#    def test_curve_fitting(self):
-#        """Test the relaxation dispersion curve fitting C modules."""
-#
-#        # Execute the script.
-#        self.relax.interpreter.run(script_file=sys.path[-1] + 
'/test_suite/system_tests/scripts/relax_disp.py')




Related Messages


Powered by MHonArc, Updated Tue Jan 06 22:40:03 2009