use correct filter in command filter test

This commit is contained in:
Jannes Höke 2016-04-26 23:49:46 +02:00
parent 1d33c39a1b
commit a3dae1f112

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'