8 class TestOverall(unittest
.TestCase
):
11 Test overall package health by compiling and checking
15 def testModules(self
):
16 """Testing all modules by compiling them"""
17 src
= '.%sslixmpp' % os
.sep
18 if sys
.version_info
< (3, 0):
19 rx
= re
.compile('/[.]svn')
21 rx
= re
.compile('/[.]svn|.*26.*')
22 self
.failUnless(compileall
.compile_dir(src
, rx
=rx
, quiet
=True))
24 def testTabNanny(self
):
25 """Testing that indentation is consistent"""
26 self
.failIf(tabnanny
.check('..%sslixmpp' % os
.sep
))
29 suite
= unittest
.TestLoader().loadTestsFromTestCase(TestOverall
)