mailr6111 - /1.3/test_suite/unit_tests/_prompt/test_deselect.py


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

Header


Content

Posted by edward on May 07, 2008 - 14:44:
Author: bugman
Date: Wed May  7 14:44:11 2008
New Revision: 6111

URL: http://svn.gna.org/viewcvs/relax?rev=6111&view=rev
Log:
Added the infrastructure for the arg unit tests of the deselect user function 
class.


Added:
    1.3/test_suite/unit_tests/_prompt/test_deselect.py

Added: 1.3/test_suite/unit_tests/_prompt/test_deselect.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/test_suite/unit_tests/_prompt/test_deselect.py?rev=6111&view=auto
==============================================================================
--- 1.3/test_suite/unit_tests/_prompt/test_deselect.py (added)
+++ 1.3/test_suite/unit_tests/_prompt/test_deselect.py Wed May  7 14:44:11 
2008
@@ -1,0 +1,40 @@
+###############################################################################
+#                                                                            
 #
+# Copyright (C) 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 prompt.relax_data import Relax_data
+
+# Unit test imports.
+from data_types import DATA_TYPES
+import fake_relax
+
+
+class Test_deselect(TestCase):
+    """Unit tests for the functions of the 'prompt.deselect' module."""
+
+    # Instantiate the user function class.
+    relax_data_fns = Relax_data(fake_relax.fake_instance())
+
+




Related Messages


Powered by MHonArc, Updated Wed May 07 15:00:24 2008