cleanup python
This commit is contained in:
parent
bd7c5701fe
commit
d9dd0a3fba
@ -32,7 +32,8 @@ async def test_routing_contexts(api_connection: veilid.VeilidAPI):
|
||||
|
||||
rc = await (await api_connection.new_routing_context()).with_custom_privacy(
|
||||
veilid.SafetySelection.safe(
|
||||
veilid.SafetySpec(None, 2, veilid.Stability.RELIABLE, veilid.Sequencing.ENSURE_ORDERED)
|
||||
veilid.SafetySpec(None, 2, veilid.Stability.RELIABLE,
|
||||
veilid.Sequencing.ENSURE_ORDERED)
|
||||
))
|
||||
await rc.release()
|
||||
|
||||
@ -135,6 +136,7 @@ async def test_routing_context_app_message_loopback_big_packets():
|
||||
|
||||
global got_message
|
||||
got_message = 0
|
||||
|
||||
async def app_message_queue_update_callback(update: veilid.VeilidUpdate):
|
||||
if update.kind == veilid.VeilidUpdateKind.APP_MESSAGE:
|
||||
global got_message
|
||||
@ -182,6 +184,7 @@ async def test_routing_context_app_message_loopback_big_packets():
|
||||
|
||||
assert update.detail.message in sent_messages
|
||||
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_routing_context_app_call_loopback_big_packets():
|
||||
global got_message
|
||||
|
Loading…
Reference in New Issue
Block a user