aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_eventrouter.py
diff options
context:
space:
mode:
authorTrygve Aaberge <trygveaa@gmail.com>2019-04-02 09:58:56 +0200
committerTrygve Aaberge <trygveaa@gmail.com>2019-04-08 15:11:57 +0200
commitb459586d96ec1f765d7aed86538b8d8576977f6c (patch)
tree63488459b22c11b83589b9cfe562f58b4c701b57 /_pytest/test_eventrouter.py
parent82147d2d2a47927528e993816ee9393a4aa15b83 (diff)
downloadwee-slack-b459586d96ec1f765d7aed86538b8d8576977f6c.tar.gz
Cleanup tests and make them compatible with python 3
This mainly adds team, channel_general and user_alice as fixtures, so we can use those directly instead of picking arbitrary ones from the lists. It also adds assertions to some tests which where missing it.
Diffstat (limited to '_pytest/test_eventrouter.py')
-rw-r--r--_pytest/test_eventrouter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/_pytest/test_eventrouter.py b/_pytest/test_eventrouter.py
index b22fec5..beb624e 100644
--- a/_pytest/test_eventrouter.py
+++ b/_pytest/test_eventrouter.py
@@ -3,6 +3,7 @@ from __future__ import print_function, unicode_literals
import pytest
from wee_slack import EventRouter, SlackRequest
+
def test_EventRouter(mock_weechat):
# Sending valid object adds to the queue.
e = EventRouter()