From d8fbdf4b8f7c810856510a238dceb6c00cbe909b Mon Sep 17 00:00:00 2001 From: callebtc <93376500+callebtc@users.noreply.github.com> Date: Sat, 15 Oct 2022 01:12:52 +0200 Subject: [PATCH] client test that mint returns tokens with correct keyset id --- tests/test_wallet.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_wallet.py b/tests/test_wallet.py index bcccebe..08ca8aa 100644 --- a/tests/test_wallet.py +++ b/tests/test_wallet.py @@ -81,6 +81,8 @@ async def test_split(wallet1: Wallet): assert [p.amount for p in p1] == [4, 8, 32] assert sum_proofs(p2) == 20 assert [p.amount for p in p2] == [4, 16] + assert all([p.id == wallet1.keyset_id for p in p1]) + assert all([p.id == wallet1.keyset_id for p in p2]) @pytest.mark.asyncio