diff options
Diffstat (limited to '_pytest/test_slackdmchannel.py')
-rw-r--r-- | _pytest/test_slackdmchannel.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/_pytest/test_slackdmchannel.py b/_pytest/test_slackdmchannel.py index 203c4ae..15b0626 100644 --- a/_pytest/test_slackdmchannel.py +++ b/_pytest/test_slackdmchannel.py @@ -1,20 +1,22 @@ +from __future__ import print_function + from mock import Mock #from wee_slack import SlackChannel def test_SlackDMChannel(realish_eventrouter): e = realish_eventrouter - print e.sc["team"].channels + print(e.sc["team"].channels) #c = SlackChannel(e, **json.loads(chan)) c = e.sc["team"].channels['D3ZEQULHZ'] - print c.formatted_name() + print(c.formatted_name()) c.is_someone_typing = Mock(return_value=True) c.channel_buffer = Mock(return_value=True) - print c.create_buffer() - print c.rename() - print c.current_short_name - print c.formatted_name() - print c.rename() - print c.formatted_name() + print(c.create_buffer()) + print(c.rename()) + print(c.current_short_name) + print(c.formatted_name()) + print(c.rename()) + print(c.formatted_name()) # assert False |