diff options
author | Samuel Holland <samuel@sholland.org> | 2018-05-10 15:50:16 -0500 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2019-04-08 15:11:57 +0200 |
commit | 60a842e141fd0710873f018e0908764f08132a77 (patch) | |
tree | 05457e7f7507e615bf6b50ff6c53894c3bc1b2d5 /_pytest/test_slackgroupchannel.py | |
parent | 3639342e26f7e890ae600e74c7661ad84abb5700 (diff) | |
download | wee-slack-60a842e141fd0710873f018e0908764f08132a77.tar.gz |
Always use the print function from Python 3
Comments are updated as well as live code.
Diffstat (limited to '_pytest/test_slackgroupchannel.py')
-rw-r--r-- | _pytest/test_slackgroupchannel.py | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/_pytest/test_slackgroupchannel.py b/_pytest/test_slackgroupchannel.py index 59793f2..969218b 100644 --- a/_pytest/test_slackgroupchannel.py +++ b/_pytest/test_slackgroupchannel.py @@ -1,20 +1,22 @@ +from __future__ import print_function + from mock import Mock #from wee_slack import SlackChannel def test_SlackGroupChannel(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['G3ZJKP7GA'] - 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 |