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