Merge remote-tracking branch 'origin/unittest-bot2.0' into unittest-bot2.0

This commit is contained in:
Leandro Toledo 2016-04-26 18:51:02 -03:00
commit 631c825c1d

View file

@ -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'