mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-11-22 15:17:00 +01:00
Merge remote-tracking branch 'origin/unittest-bot2.0' into unittest-bot2.0
This commit is contained in:
commit
631c825c1d
1 changed files with 2 additions and 2 deletions
|
@ -47,9 +47,9 @@ class FiltersTest(BaseTest, unittest.TestCase):
|
|||
|
||||
def test_filters_command(self):
|
||||
self.message.text = 'test'
|
||||
self.assertFalse(Filters.text(self.update))
|
||||
self.assertFalse(Filters.command(self.update))
|
||||
self.message.text = '/test'
|
||||
self.assertTrue(Filters.text(self.update))
|
||||
self.assertTrue(Filters.command(self.update))
|
||||
|
||||
def test_filters_audio(self):
|
||||
self.message.audio = 'test'
|
||||
|
|
Loading…
Reference in a new issue