mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-23 06:50:29 +01:00
make sure to stop Updater after the test_createBot is over
This commit is contained in:
parent
e479c7f25e
commit
d37b6d6735
1 changed files with 2 additions and 2 deletions
|
@ -639,8 +639,8 @@ class UpdaterTest(BaseTest, unittest.TestCase):
|
|||
self.assertFalse(self.updater.running)
|
||||
|
||||
def test_createBot(self):
|
||||
updater = Updater('123:abcd')
|
||||
self.assertIsNotNone(updater.bot)
|
||||
self.updater = Updater('123:abcd')
|
||||
self.assertIsNotNone(self.updater.bot)
|
||||
|
||||
def test_mutualExclusiveTokenBot(self):
|
||||
bot = Bot('123:zyxw')
|
||||
|
|
Loading…
Reference in a new issue