diff options
author | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-09 15:26:08 +0100 |
---|---|---|
committer | Trygve Aaberge <trygveaa@gmail.com> | 2020-02-23 18:47:05 +0100 |
commit | ba75367a097167b0f6c2f255a096ec50ae3316cf (patch) | |
tree | ebf6053e914e60e964f396770e68e7b03a26e4de /_pytest/conftest.py | |
parent | bd13d421de387b254a2c6ebfbe2c64c48c0efa42 (diff) | |
download | wee-slack-ba75367a097167b0f6c2f255a096ec50ae3316cf.tar.gz |
Include team in SlackRequest
Diffstat (limited to '_pytest/conftest.py')
-rw-r--r-- | _pytest/conftest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py index e997bf6..fb30751 100644 --- a/_pytest/conftest.py +++ b/_pytest/conftest.py @@ -38,7 +38,7 @@ def mock_websocket(): def realish_eventrouter(mock_websocket, mock_weechat): e = EventRouter() wee_slack.EVENTROUTER = e - context = e.store_context(SlackRequest('xoxs-token', 'rtm.start', {})) + context = e.store_context(SlackRequest(None, 'rtm.start', {}, token='xoxs-token')) with open('_pytest/data/http/rtm.start.json') as rtmstartfile: if sys.version_info.major == 2: rtmstartdata = rtmstartfile.read().decode('utf-8') |