380f0e4e38
it is not actively useful and takes 70% of the time of the tests
22 lines
493 B
Python
22 lines
493 B
Python
import os
|
|
import re
|
|
import sys
|
|
import unittest
|
|
import compileall
|
|
|
|
|
|
class TestOverall(unittest.TestCase):
|
|
|
|
"""
|
|
Test overall package health by compiling and checking
|
|
code style.
|
|
"""
|
|
|
|
def testModules(self):
|
|
"""Testing all modules by compiling them"""
|
|
src = '.%sslixmpp' % os.sep
|
|
rx = re.compile('/[.]svn|.*26.*')
|
|
self.assertTrue(compileall.compile_dir(src, rx=rx, quiet=True))
|
|
|
|
|
|
suite = unittest.TestLoader().loadTestsFromTestCase(TestOverall)
|