aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--_pytest/conftest.py2
-rw-r--r--_pytest/test_linkifytext.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/_pytest/conftest.py b/_pytest/conftest.py
index 43d4a74..4f94983 100644
--- a/_pytest/conftest.py
+++ b/_pytest/conftest.py
@@ -26,7 +26,7 @@ def mock_websocket():
return fakewebsocket()
@pytest.fixture
-def realish_eventrouter():
+def realish_eventrouter(mock_weechat):
e = EventRouter()
context = e.store_context(SlackRequest('xoxoxoxox', "rtm.start", {"meh": "blah"}))
rtmstartdata = open('_pytest/data/http/rtm.start.json', 'r').read()
diff --git a/_pytest/test_linkifytext.py b/_pytest/test_linkifytext.py
index 010a48b..56bf1b5 100644
--- a/_pytest/test_linkifytext.py
+++ b/_pytest/test_linkifytext.py
@@ -6,7 +6,7 @@ from wee_slack import linkify_text
# assert False
-def test_linkifytext_does_partial_html_entity_encoding(mock_weechat, realish_eventrouter):
+def test_linkifytext_does_partial_html_entity_encoding(realish_eventrouter):
team = realish_eventrouter.teams.values()[0]
channel = team.channels.values()[0]