mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-21 22:56:38 +01:00
11 lines
383 B
Python
11 lines
383 B
Python
import logging
|
|
import unittest
|
|
from tests.test_bot import BotTest
|
|
|
|
if __name__ == '__main__':
|
|
logging.basicConfig(
|
|
format='%(asctime)s - %(name)s - %(levelname)s - %(message)s')
|
|
logger = logging.getLogger()
|
|
logger.setLevel(logging.DEBUG)
|
|
testsuite = unittest.TestLoader().loadTestsFromTestCase(BotTest)
|
|
unittest.TextTestRunner(verbosity=1).run(testsuite)
|