Orchestrata Ultimate › Tests › Reference › scripts › test_graph_browser_coverage

Tests reference — tests/scripts/test_graph_browser_coverage.py

Module of tests/scripts, split out because the directory page would be too large.

Prose pending.

tests/scripts/test_graph_browser_coverage.py

source · 9 tests · 238 lines

Coverage-completion tests for scripts/graph_browser.py.

Kind Name Line Description
function test_jsonable_passes_through_scalars_and_none 72
function test_jsonable_bytes_and_bytearray_become_hex 80
function test_jsonable_recurses_through_lists_and_tuples 85
function test_jsonable_recurses_through_dicts_and_stringifies_keys 91
function test_jsonable_real_bolt_temporal_values_use_iso 96 Real neo4j-driver temporal objects (what the Bolt driver actually
function test_jsonable_falls_back_to_str_for_exotic_values 109
function test_resolve_memgraph_uri_uses_live_ha_controller 136 When MEMGRAPH_HA_CONTROLLER_URL answers with a real {"uri": ...}
function test_resolve_memgraph_uri_controller_500_falls_through 157 A controller that answers HTTP 500 raises inside httpx
function test_main_serves_app_and_shuts_down_cleanly 191 Run the script as a real subprocess on an ephemeral port: it must boot