Orchestrata Ultimate › Tests › Reference › scripts › test_redis_exec

Tests reference — tests/scripts/test_redis_exec.py

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

Prose pending.

tests/scripts/test_redis_exec.py

source · 10 tests · 89 lines

Tests for scripts/redis_exec.py — the OpenCode plugin's Redis transport.

Covers: core.base.traces, core.redis_factory

Kind Name Line Description
function test_id 31
class TestFormatResult 43
method TestFormatResult.test_none_is_empty_string 44
method TestFormatResult.test_bytes_decoded 47
method TestFormatResult.test_scalar_int 50
method TestFormatResult.test_bool_renders_as_integer_reply 53
method TestFormatResult.test_collection_one_element_per_line 57
class TestMainLive 61 Round-trips against the real Redis through main() — the exact seam
method TestMainLive.test_incr_round_trip 66
method TestMainLive.test_lpush_ltrim_lrange 73
method TestMainLive.test_usage_error_exit_2 83
method TestMainLive.test_bad_command_fails_open_exit_1 87