]>
git.saurik.com Git - wxWidgets.git/blob - wxPython/wx/py/tests/test_version.py
3 __author__
= "Patrick K. O'Brien <pobrien@orbtech.com>"
5 __revision__
= "$Revision$"[11:-2]
11 # Import from this module's parent directory.
14 sys
.path
.insert(0, os
.pardir
)
22 These unittest methods are preferred:
23 -------------------------------------
24 self.assert_(expr, msg=None)
25 self.assertEqual(first, second, msg=None)
26 self.assertRaises(excClass, callableObj, *args, **kwargs)
28 self.failIf(expr, msg=None)
32 class ModuleTestCase(unittest
.TestCase
):
34 def test_module(self
):
36 self
.assert_(module
.__author
__)
37 self
.assert_(module
.__cvsid
__)
38 self
.assert_(module
.__revision
__)
39 self
.assert_(module
.VERSION
)
42 class VersionTestCase(unittest
.TestCase
):
44 def test_VERSION(self
):
45 self
.assert_(type(version
.VERSION
) is types
.StringType
)
48 if __name__
== '__main__':