aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorStavros Korokithakis <hi@stavros.io>2018-12-06 17:14:15 +0200
committerStavros Korokithakis <hi@stavros.io>2018-12-06 17:14:15 +0200
commitebcdbfa987cfd0434a0915e22905a471d7fbd31b (patch)
treef8ebd1b5f7a43b09f7a5c2a43c36cd070d9cc24c /tests
parent4770bd2f277eac1a11ae3cfbe5757f5ce67b1982 (diff)
downloadpysignald-ebcdbfa987cfd0434a0915e22905a471d7fbd31b.tar.gz
pysignald-ebcdbfa987cfd0434a0915e22905a471d7fbd31b.zip
Add message type
Diffstat (limited to 'tests')
-rw-r--r--tests/test_signald.py9
1 files changed, 6 insertions, 3 deletions
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")