mailr19072 - /trunk/test_suite/unit_tests/_lib/test___init__.py


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

Header


Content

Posted by edward on March 23, 2013 - 18:20:
Author: bugman
Date: Sat Mar 23 18:20:20 2013
New Revision: 19072

URL: http://svn.gna.org/viewcvs/relax?rev=19072&view=rev
Log:
Added a sanity unit test for the lib package to make sure it is the relax lib 
package.


Modified:
    trunk/test_suite/unit_tests/_lib/test___init__.py

Modified: trunk/test_suite/unit_tests/_lib/test___init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/test_suite/unit_tests/_lib/test___init__.py?rev=19072&r1=19071&r2=19072&view=diff
==============================================================================
--- trunk/test_suite/unit_tests/_lib/test___init__.py (original)
+++ trunk/test_suite/unit_tests/_lib/test___init__.py Sat Mar 23 18:20:20 2013
@@ -40,3 +40,9 @@
 
         # Mac OS X application fix:  Handle the py2app extension placing the 
Python directories into Resources/lib/python2.7 (Resources/lib is the relax 
lib package).
         self.blacklist = ['python2.7']
+
+
+    def test_correct_package(self):
+        """Just be sure that the correct package is loaded."""
+
+        self.assert_('model_selection' in self.package.__all__)




Related Messages


Powered by MHonArc, Updated Sat Mar 23 18:40:01 2013