From 23c2bbc5a50439abb175139f54104f6b33fefd2b Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Wed, 20 Sep 2023 15:43:09 +0200 Subject: [PATCH] revert tests --- tests/test_wallet_p2pk.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/test_wallet_p2pk.py b/tests/test_wallet_p2pk.py index 9a0f9b34..967e250e 100644 --- a/tests/test_wallet_p2pk.py +++ b/tests/test_wallet_p2pk.py @@ -300,16 +300,14 @@ async def test_p2pk_multisig_with_wrong_first_private_key( def test_tags(): - tags = Tags( - [["key1", "value1"], ["key2", "value2", "value2_1"], ["key2", "value3"]] - ) + tags = Tags([["key1", "value1"], ["key2", "value2"], ["key2", "value3"]]) assert tags.get_tag("key1") == "value1" assert tags["key1"] == "value1" assert tags.get_tag("key2") == "value2" assert tags["key2"] == "value2" assert tags.get_tag("key3") is None assert tags["key3"] is None - assert tags.get_tag_all("key2") == ["value2", "value2_1", "value3"] + assert tags.get_tag_all("key2") == ["value2", "value3"] @pytest.mark.asyncio