Skip to content

Commit 322aba7

Browse files
authored
unskip and fix to order agnostic check (#19836)
1 parent d352be1 commit 322aba7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

chia/_tests/core/data_layer/test_data_rpc.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3712,7 +3712,6 @@ async def test_multistore_update(
37123712
await data_rpc_api.multistore_batch_update({"store_updates": store_updates})
37133713

37143714

3715-
@pytest.mark.skip
37163715
@pytest.mark.limit_consensus_modes(reason="does not depend on consensus rules")
37173716
@pytest.mark.anyio
37183717
async def test_unsubmitted_batch_db_migration(
@@ -3804,7 +3803,9 @@ class ModifiedStatus(IntEnum):
38043803
update_tx_rec1 = res["tx_id"]
38053804
await farm_block_with_spend(full_node_api, ph, update_tx_rec1, wallet_rpc_api)
38063805
keys = await data_rpc_api.get_keys({"id": store_id.hex()})
3807-
assert keys == {"keys": ["0x30303031", "0x30303030"]}
3806+
# order agnostic comparison of the list
3807+
keys["keys"] = set(keys["keys"])
3808+
assert keys == {"keys": {"0x30303031", "0x30303030"}}
38083809

38093810

38103811
@pytest.mark.limit_consensus_modes(reason="does not depend on consensus rules")

0 commit comments

Comments
 (0)