From 14dc402356ee725130c126b358bb256463c5a298 Mon Sep 17 00:00:00 2001 From: John Smith Date: Wed, 21 Feb 2024 22:00:06 -0500 Subject: [PATCH] fix python test --- veilid-python/tests/test_dht.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/veilid-python/tests/test_dht.py b/veilid-python/tests/test_dht.py index 021a882e..de013b1e 100644 --- a/veilid-python/tests/test_dht.py +++ b/veilid-python/tests/test_dht.py @@ -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)