Small flake8 fix

This commit is contained in:
Jasmin Bom 2019-02-09 18:45:34 +01:00
parent 2e203e41e4
commit d33e1d9913

View file

@ -249,7 +249,8 @@ class TestStickerSet(object):
with open('tests/data/telegram_sticker.png', 'rb') as f:
file = bot.upload_sticker_file(95205500, f)
assert file
assert bot.add_sticker_to_set(chat_id, 'test_by_{0}'.format(bot.username), file.file_id, '😄')
assert bot.add_sticker_to_set(chat_id, 'test_by_{0}'.format(bot.username),
file.file_id, '😄')
def test_sticker_set_to_dict(self, sticker_set):
sticker_set_dict = sticker_set.to_dict()