Skip to content

Commit bd50714

Browse files
committed
fixup! Return URL to fake ticket page in DummyPlugin
1 parent 0d7357a commit bd50714

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/incident/ticket_plugins/test_dummy.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from django.core.exceptions import ValidationError
22
from django.core.validators import URLValidator
3-
from django.test import TestCase
3+
from django.test import TestCase, override_settings
44

55
from argus.incident.factories import SourceSystemFactory, SourceUserFactory, StatefulIncidentFactory
66
from argus.incident.ticket.dummy import created_tickets
@@ -16,6 +16,9 @@ def setUp(self):
1616
def tearDown(self):
1717
connect_signals()
1818

19+
@override_settings(
20+
FRONTEND_URL="http://www.fakeurl.com",
21+
)
1922
def test_create_ticket_writes_to_local_variable(self):
2023
dummy_class = import_class_from_dotted_path("argus.incident.ticket.dummy.DummyPlugin")
2124

0 commit comments

Comments
 (0)