mailr4085 - /1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py


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

Header


Content

Posted by edward on November 28, 2007 - 09:21:
Author: bugman
Date: Wed Nov 28 09:21:34 2007
New Revision: 4085

URL: http://svn.gna.org/viewcvs/relax?rev=4085&view=rev
Log:
Added a base class for the unit tests of the specific_fns.relax_data module.


Added:
    1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py

Added: 1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py?rev=4085&view=auto
==============================================================================
--- 1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py (added)
+++ 1.3/test_suite/unit_tests/_specific_fns/test_relax_data.py Wed Nov 28 
09:21:34 2007
@@ -1,0 +1,39 @@
+###############################################################################
+#                                                                            
 #
+# Copyright (C) 2007 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 specific_fns import relax_data
+from relax_errors import RelaxError
+from test_suite.unit_tests.relax_data_testing_base import 
Relax_data_base_class
+
+
+
+class Test_relax_data(Relax_data_base_class, TestCase):
+    """Unit tests for the functions of the 'specific_fns.relax_data' 
module."""
+
+    # Place the specific_fns.relax_data module into the class namespace.
+    relax_data_fns = relax_data.Rx_data()
+
+




Related Messages


Powered by MHonArc, Updated Wed Nov 28 09:40:06 2007