fix python test

This commit is contained in:
John Smith 2024-02-21 22:00:06 -05:00 committed by Christien Rioux
parent 1cacc547e0
commit 14dc402356

View File

@ -196,8 +196,8 @@ async def test_open_writer_dht_value(api_connection: veilid.VeilidAPI):
vdtemp = await rc.set_dht_value(key, 0, va)
# Verify subkey 0 can be set because override with the right writer
with pytest.raises(veilid.VeilidAPIError):
vdtemp = await rc.set_dht_value(key, 0, va, veilid.KeyPair.from_parts(owner, secret))
vdtemp = await rc.set_dht_value(key, 0, va, veilid.KeyPair.from_parts(owner, secret))
assert vdtemp == None
# Clean up
await rc.close_dht_record(key)