コード例 #1
0
 def test_filters_animation(self, update):
     assert not Filters.animation(update)
     update.message.animation = 'test'
     assert Filters.animation(update)
コード例 #2
0
 def test_filters_animation(self, message):
     assert not Filters.animation(message)
     message.animation = 'test'
     assert Filters.animation(message)