chore: raise Assertion error correctly (#15654)

This commit is contained in:
Valentina1133 2024-07-18 17:27:56 +07:00 committed by GitHub
parent 021d06deb8
commit e73df3da11
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -358,7 +358,7 @@ class EditNetworkSettings(WalletSettingsView):
if attempts: if attempts:
self.click_revert_to_default_and_go_to_networks_main_screen(attempts - 1) self.click_revert_to_default_and_go_to_networks_main_screen(attempts - 1)
else: 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') @allure.step('Verify elements for the edit network view')
def check_available_elements_on_edit_view(self, network_tab): def check_available_elements_on_edit_view(self, network_tab):