fix test_filters_reply

This commit is contained in:
Jannes Höke 2016-12-11 23:16:10 +01:00
parent c5f9e53d44
commit 0cd7ecab50

View file

@ -55,7 +55,6 @@ class FiltersTest(BaseTest, unittest.TestCase):
another_message = Message(1, User(1, "TestOther"), datetime.now(), Chat(0, 'private'))
self.message.text = 'test'
self.assertFalse(Filters.reply(self.message))
self.assertFalse(Filters.reply(Filters.message))
self.message.reply_to_message = another_message
self.assertTrue(Filters.reply(self.message))