Fix tests

This commit is contained in:
Pēteris Caune 2021-01-13 12:13:14 +02:00
parent ce7e32ac03
commit d7c7ae6531
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 1 deletions

View File

@ -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()

View File

@ -22,6 +22,7 @@ try:
import dbus
except ImportError:
# Enforce
dbus = None
settings.SIGNAL_CLI_ENABLED = False