aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStavros Korokithakis <hi@stavros.io>2018-12-11 19:01:27 +0200
committerStavros Korokithakis <hi@stavros.io>2018-12-11 19:01:27 +0200
commit1a28cb9fe05045c011eda0b9275d6ac7db26f01a (patch)
tree51a1f8bbf2404f0be00d3e4058c23b35c5e1e3a0
parent36560c9c3b414d24ecaff901dc766ade28fad228 (diff)
downloadpysignald-1a28cb9fe05045c011eda0b9275d6ac7db26f01a.tar.gz
pysignald-1a28cb9fe05045c011eda0b9275d6ac7db26f01a.zip
Add more tests
-rw-r--r--tests/test_signald.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_signald.py b/tests/test_signald.py
index 33be9a4..961f2e8 100644
--- a/tests/test_signald.py
+++ b/tests/test_signald.py
@@ -14,10 +14,10 @@ def test_signal():
def test_bot():
s = Signal("+1234567890")
- @s.chat_handler("simple message")
+ @s.chat_handler("simple message", order=10)
def foo(message, match):
pass
- @s.chat_handler(re.compile("compiled regex"))
+ @s.chat_handler(re.compile("compiled regex"), order=20)
def bar(message, match):
pass