Browse Source

Fix tests

pull/468/head
Pēteris Caune 4 years ago
parent
commit
d7c7ae6531
No known key found for this signature in database GPG Key ID: E28D7679E9A9EDE2
2 changed files with 2 additions and 1 deletions
  1. +1
    -1
      hc/api/tests/test_notify_signal.py
  2. +1
    -0
      hc/api/transports.py

+ 1
- 1
hc/api/tests/test_notify_signal.py 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()


+ 1
- 0
hc/api/transports.py View File

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


Loading…
Cancel
Save