diff options
author | Ryan Huber <rhuber@gmail.com> | 2017-02-01 11:58:13 -0800 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2017-02-01 11:58:13 -0800 |
commit | 681dbc193bae47429662a9504d75768ab1fdda4c (patch) | |
tree | dda3b3f9b180e93d5365fe8c7d4ea6b07ae2e8a2 /_pytest/test_slackrequest.py | |
parent | e63a037a323221e24ba0f422d8d81ee77f0b3ce0 (diff) | |
download | wee-slack-681dbc193bae47429662a9504d75768ab1fdda4c.tar.gz |
add first basic tests
Diffstat (limited to '_pytest/test_slackrequest.py')
-rw-r--r-- | _pytest/test_slackrequest.py | 11 |
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 + |