def test_filters_animation(self, update):
     assert not Filters.animation(update)
     update.message.animation = 'test'
     assert Filters.animation(update)
Exemple #2
0
 def test_filters_animation(self, message):
     assert not Filters.animation(message)
     message.animation = 'test'
     assert Filters.animation(message)