Skip to content

Commit d374957

Browse files
author
Alexandre Vincent
committed
[change] Adjust test_selenium for custom config app_label
1 parent 97507af commit d374957

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

openwisp_controller/tests/test_selenium.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ def test_restoring_deleted_device(self, *args):
9999
).click()
100100
try:
101101
WebDriverWait(self.web_driver, 5).until(
102-
EC.url_to_be(f"{self.live_server_url}/admin/config/device/")
102+
EC.url_to_be(
103+
f"{self.live_server_url}/admin/{self.config_app_label}/device/"
104+
)
103105
)
104106
except TimeoutException:
105107
self.fail("Deleted device was not restored")

0 commit comments

Comments
 (0)