We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e92028 commit 83f4005Copy full SHA for 83f4005
1 file changed
openwisp_controller/geo/tests/test_selenium.py
@@ -91,7 +91,11 @@ def setUp(self):
91
def test_unsaved_changes_readonly(self):
92
self.login()
93
ol = self._create_object_location()
94
- path = reverse("admin:config_device_change", args=[ol.device.id])
+ path = reverse(
95
+ f"admin:{self.object_model._meta.app_label}_"
96
+ f"{self.object_model._meta.model_name}_change",
97
+ args=[ol.device.id],
98
+ )
99
100
with self.subTest("Alert should not be displayed without any change"):
101
self.open(path)
0 commit comments