mirror of
https://gitlab.com/veilid/veilid.git
synced 2024-12-24 14:59:31 -05:00
fix python test
This commit is contained in:
parent
1cacc547e0
commit
14dc402356
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user