Skip to content

Commit

Permalink
decode text for python3
Browse files Browse the repository at this point in the history
  • Loading branch information
jlmadurga committed Jan 26, 2016
1 parent 4fe7e34 commit 86b241e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _test_command(self, command):
else:
self.assertInKeyboard(command['values']['reply_markup'], kwargs['reply_markup'].keyboard)

self.assertIn(command['values']['text'], kwargs['text'])
self.assertIn(command['values']['text'], kwargs['text'].decode('utf-8'))

class TestSimpleCommands(BaseTestCommands):
start = {'command': 'start',
Expand Down

0 comments on commit 86b241e

Please sign in to comment.