From 1a28cb9fe05045c011eda0b9275d6ac7db26f01a Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Tue, 11 Dec 2018 19:01:27 +0200 Subject: Add more tests --- tests/test_signald.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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 -- cgit v1.2.3-54-g00ecf