From d7c7ae65313f0698ea2ff946a68a71fc1ffddc13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Wed, 13 Jan 2021 12:13:14 +0200 Subject: [PATCH] Fix tests --- hc/api/tests/test_notify_signal.py | 2 +- hc/api/transports.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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