This commit is contained in:
John Smith 2023-06-16 13:14:34 -04:00
parent fe502a3645
commit c6e2836b85
3 changed files with 11 additions and 1 deletions

View file

@ -29,6 +29,9 @@ async def test_routing_context_app_message_loopback():
api = await veilid.json_api_connect(VEILID_SERVER, VEILID_SERVER_PORT, app_message_queue_update_callback)
async with api:
# purge routes to ensure we start fresh
await api.debug("purge routes")
# make a routing context that uses a safety route
rc = await (await api.new_routing_context()).with_privacy()
@ -60,6 +63,9 @@ async def test_routing_context_app_call_loopback():
api = await veilid.json_api_connect(VEILID_SERVER, VEILID_SERVER_PORT, app_call_queue_update_callback)
async with api:
# purge routes to ensure we start fresh
await api.debug("purge routes")
# make a routing context that uses a safety route
rc = await (await api.new_routing_context()).with_privacy()