diff --git a/hc/api/tests/test_notify_signal.py b/hc/api/tests/test_notify_signal.py index 2ac57633..552149f0 100644 --- a/hc/api/tests/test_notify_signal.py +++ b/hc/api/tests/test_notify_signal.py @@ -10,7 +10,7 @@ from hc.api.models import Channel, Check, Notification, TokenBucket from hc.test import BaseTestCase -@override_settings(SIGNAL_CLI_USERNAME="+987654321") +@override_settings(SIGNAL_CLI_ENABLED=True) class NotifySignalTestCase(BaseTestCase): def setUp(self): super().setUp() diff --git a/hc/api/transports.py b/hc/api/transports.py index 79a53cbd..d87eb9c5 100644 --- a/hc/api/transports.py +++ b/hc/api/transports.py @@ -22,6 +22,7 @@ try: import dbus except ImportError: # Enforce + dbus = None settings.SIGNAL_CLI_ENABLED = False