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

Unit tests adjusted to public key prefix change

parent 0ad6bad4
No related branches found
No related tags found
1 merge request!199Testnet and mainnet Hived versions use same public key prefix
Pipeline #87497 passed
......@@ -13,4 +13,4 @@ def test_private_key_serialization() -> None:
@pytest.mark.requires_hived_executables()
def test_public_key_serialization() -> None:
alice = tt.Account("alice")
assert str(alice.public_key) == "TST5P8syqoj7itoDjbtDvCMCb5W3BNJtUjws9v7TDNZKqBLmp3pQW"
assert str(alice.public_key) == "STM5P8syqoj7itoDjbtDvCMCb5W3BNJtUjws9v7TDNZKqBLmp3pQW"
......@@ -20,8 +20,8 @@ def test_private_key_generation(name: str, expected_key: str) -> None:
@pytest.mark.parametrize(
("name", "expected_key"),
[
("initminer", "TST6LLegbAgLAy28EHrffBVuANFWcFgmqRMW13wBmTExqFE9SCkg4"),
("alice", "TST5P8syqoj7itoDjbtDvCMCb5W3BNJtUjws9v7TDNZKqBLmp3pQW"),
("initminer", "STM6LLegbAgLAy28EHrffBVuANFWcFgmqRMW13wBmTExqFE9SCkg4"),
("alice", "STM5P8syqoj7itoDjbtDvCMCb5W3BNJtUjws9v7TDNZKqBLmp3pQW"),
],
)
def test_public_key_generation(name: str, expected_key: str) -> None:
......
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