aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_slackrequest.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2017-04-12 23:36:05 -0700
committerGitHub <noreply@github.com>2017-04-12 23:36:05 -0700
commit633d3ad78fe55709b5f5894a6e9668e0d606e5ec (patch)
treecbac1595e9998eff1f002d07372f272cb76c60aa /_pytest/test_slackrequest.py
parent01beb42fec5c6dbfc0d8c53ce1de88b48b48f6db (diff)
parent3ddddcd6d84c6355c142c4f9acea190c4551e65e (diff)
downloadwee-slack-633d3ad78fe55709b5f5894a6e9668e0d606e5ec.tar.gz
Merge pull request #334 from wee-slack/wee-ng-merge
Wee ng merge
Diffstat (limited to '_pytest/test_slackrequest.py')
-rw-r--r--_pytest/test_slackrequest.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/_pytest/test_slackrequest.py b/_pytest/test_slackrequest.py
new file mode 100644
index 0000000..081330e
--- /dev/null
+++ b/_pytest/test_slackrequest.py
@@ -0,0 +1,11 @@
+from wee_slack import SlackRequest, EventRouter
+
+def test_SlackRequest():
+ s = SlackRequest('xoxoxoxox', "blah.get", {"meh": "blah"})
+ print s
+
+ e = EventRouter()
+ e.receive(s)
+ e.handle_next()
+ #assert False
+