From e73df3da113a27388ed2609aeb53d9ba59782942 Mon Sep 17 00:00:00 2001 From: Valentina1133 <141633821+Valentina1133@users.noreply.github.com> Date: Thu, 18 Jul 2024 17:27:56 +0700 Subject: [PATCH] chore: raise Assertion error correctly (#15654) --- test/e2e/gui/screens/settings_wallet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/gui/screens/settings_wallet.py b/test/e2e/gui/screens/settings_wallet.py index 9dc80ad352..ce259c2482 100644 --- a/test/e2e/gui/screens/settings_wallet.py +++ b/test/e2e/gui/screens/settings_wallet.py @@ -358,7 +358,7 @@ class EditNetworkSettings(WalletSettingsView): if attempts: self.click_revert_to_default_and_go_to_networks_main_screen(attempts - 1) else: - raise f"RPC change requires restart popup did not appear" + raise AssertionError(f'RPC change requires restart popup did not appear') @allure.step('Verify elements for the edit network view') def check_available_elements_on_edit_view(self, network_tab):