We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d7357a commit bd50714Copy full SHA for bd50714
tests/incident/ticket_plugins/test_dummy.py
@@ -1,6 +1,6 @@
1
from django.core.exceptions import ValidationError
2
from django.core.validators import URLValidator
3
-from django.test import TestCase
+from django.test import TestCase, override_settings
4
5
from argus.incident.factories import SourceSystemFactory, SourceUserFactory, StatefulIncidentFactory
6
from argus.incident.ticket.dummy import created_tickets
@@ -16,6 +16,9 @@ def setUp(self):
16
def tearDown(self):
17
connect_signals()
18
19
+ @override_settings(
20
+ FRONTEND_URL="http://www.fakeurl.com",
21
+ )
22
def test_create_ticket_writes_to_local_variable(self):
23
dummy_class = import_class_from_dotted_path("argus.incident.ticket.dummy.DummyPlugin")
24
0 commit comments