Python 2.6 unittest support

This commit is contained in:
leandrotoledo 2015-07-15 10:18:02 -03:00
parent 92c3f48cda
commit 124ea4e4a3

View file

@ -1,5 +1,6 @@
import unittest
from tests.test_bot import BotTest
if __name__ == '__main__':
testsuite = unittest.TestLoader().discover('.')
testsuite = unittest.TestLoader().loadTestsFromTestCase(BotTest)
unittest.TextTestRunner(verbosity=1).run(testsuite)