From ebcdbfa987cfd0434a0915e22905a471d7fbd31b Mon Sep 17 00:00:00 2001 From: Stavros Korokithakis Date: Thu, 6 Dec 2018 17:14:15 +0200 Subject: Add message type --- tests/test_signald.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/test_signald.py b/tests/test_signald.py index 8824272..801192b 100644 --- a/tests/test_signald.py +++ b/tests/test_signald.py @@ -1,5 +1,8 @@ -from signald import Signal - - def test_signal(): + from signald import Signal + from signald.types import Message, Attachment + + # Smoke tests. Signal("+1234567890") + Message("+1234567890", "+1234567891", "Hello!") + Attachment("application/json", "123", 123, "/var/123") -- cgit v1.2.3-54-g00ecf