diff options
Diffstat (limited to '_pytest/test_slackmpdmchannel.py')
-rw-r--r-- | _pytest/test_slackmpdmchannel.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/_pytest/test_slackmpdmchannel.py b/_pytest/test_slackmpdmchannel.py index a2c6c51..47c7d55 100644 --- a/_pytest/test_slackmpdmchannel.py +++ b/_pytest/test_slackmpdmchannel.py @@ -1,20 +1,22 @@ +from __future__ import print_function + from mock import Mock #from wee_slack import SlackChannel def test_SlackMPDMChannel(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['G3ZGMF4RZ'] - 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 |