mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-01-03 01:39:23 +01:00
Python 2.6 unittest support
This commit is contained in:
parent
92c3f48cda
commit
124ea4e4a3
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue