From f759275b0ee272ecf38de8258fe59bd72626b74b Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sat, 18 Sep 2021 17:26:30 -0700 Subject: [PATCH] openvpn: tests: functional: Use newer splinter API for finding links Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/modules/openvpn/tests/test_functional.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plinth/modules/openvpn/tests/test_functional.py b/plinth/modules/openvpn/tests/test_functional.py index 55c279a66..98f506e39 100644 --- a/plinth/modules/openvpn/tests/test_functional.py +++ b/plinth/modules/openvpn/tests/test_functional.py @@ -26,7 +26,7 @@ def openvpn_profile_downloadable(session_browser): @then('openvpn app should not be visible on the front page') def openvpn_app_not_on_front_page(session_browser): session_browser.visit(base_url) - links = session_browser.find_link_by_href(shortcut_href) + links = session_browser.links.find_by_href(shortcut_href) assert len(links) == 0