Skip to content
Snippets Groups Projects
Commit 3f73cf2e authored by Bartek Wrona's avatar Bartek Wrona
Browse files

Updated 2 tests where expected assertions don't appear due to change Beekeeper...

Updated 2 tests where expected assertions don't appear due to change Beekeeper behavior (new Beekeeper was received together with Hive submodule update)
parent a804e11f
No related branches found
No related tags found
1 merge request!79ubuntu24.04 update
Pipeline #118564 passed
...@@ -51,8 +51,8 @@ def test_api_close_double_close( ...@@ -51,8 +51,8 @@ def test_api_close_double_close(
beekeeper.api.close(wallet_name=wallet.name) beekeeper.api.close(wallet_name=wallet.name)
# ASSERT # ASSERT
with pytest.raises(ErrorInResponseError, match=f"Wallet not found: {wallet.name}"): # According to behavior change of Beekeeper, it should not throw
beekeeper.api.close(wallet_name=wallet.name) beekeeper.api.close(wallet_name=wallet.name)
def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None: def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None:
...@@ -61,5 +61,5 @@ def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None: ...@@ -61,5 +61,5 @@ def test_api_close_not_existing_wallet(beekeeper: Beekeeper) -> None:
wallet = WalletInfo(password=generate_wallet_password(), name=generate_wallet_name()) wallet = WalletInfo(password=generate_wallet_password(), name=generate_wallet_name())
# ACT & ASSERT # ACT & ASSERT
with pytest.raises(ErrorInResponseError, match=f"Wallet not found: {wallet.name}"): # According to behavior change of Beekeeper, it should not throw
beekeeper.api.close(wallet_name=wallet.name) beekeeper.api.close(wallet_name=wallet.name)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment