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 63ce379 commit 755cf1eCopy full SHA for 755cf1e
1 file changed
openwisp_controller/geo/tests/test_selenium.py
@@ -91,7 +91,10 @@ 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.app_label}_{self.object_model._meta.model_name}_change",
96
+ args=[ol.device.id],
97
+ )
98
99
with self.subTest("Alert should not be displayed without any change"):
100
self.open(path)
0 commit comments