pyvider
2025-02-04
Server Test Suite and Test File Organization
30 files · 1,713+ · 1,004-
Server Test Suite
28 files changed
broke-server.pyUpdated broke-server.py (+0/-0 lines)test_client_grpc.pyUpdated test_client_grpc.py (+0/-0 lines)test_minimal_server_client.pyUpdated test_minimal_server_client.py (+0/-0 lines)test_server_two.pyAdded test_server_two.py (+240 lines)test_transport_2.pyAdded test_transport_2.py (+106 lines)test_transport_unix_minimal.pyAdded test_transport_unix_minimal.py (+149 lines)x_transport_unix_94pct_coverage.pyAdded x_transport_unix_94pct_coverage.py (+206 lines)client.pyUpdated client.py (+105/-48 lines)certificate.pyAdded certificate.py (+10 lines)2025-02-04-1841-claude.mdAdded 2025-02-04-1841-claude.md (+126 lines)long-prime.mdAdded long-prime.md (+468 lines)code-example.mdAdded code-example.md (+230 lines)env.shUpdated env.sh (+21/-2 lines)comments.mdRemoved comments.md (-20 lines)debugging-2025-01-20-1256.mdRemoved debugging-2025-01-20-1256.md (-80 lines)grpcplugin.mdRemoved grpcplugin.md (-788 lines)handshake.mdRemoved handshake.md (-17 lines)llm-priming.mdRemoved llm-priming.md (-36 lines)kv-data-testAdded kv-data-test (+1 lines)kv_protocol.pyUpdated kv_protocol.py (+2/-1 lines)py_kv_client.pyUpdated py_kv_client.py (+9/-1 lines)py_kv_server.pyAdded py_kv_server.py (+16 lines)handshake.pyUpdated handshake.py (+11/-4 lines)server.pyUpdated server.py (+7/-1 lines)test_certificate_create.pyUpdated test_certificate_create.py (+3/-3 lines)test_certificate_lifecycle.pyUpdated test_certificate_lifecycle.py (+1/-1 lines)test_certificate_verify.pyUpdated test_certificate_verify.py (+2/-2 lines)test_server.pyUpdated test_server.py (+0/-0 lines)
- Added
broken/test_server_two.py(240 lines) with pytest-asyncio tests forRPCPluginServerqualify internal1 file
test_server_two.py
- Tests cover insecure mode startup, mTLS with client certificate, and handshake message format validation
qualify
errata
31 files
broke-server.pytest_client_grpc.pytest_minimal_server_client.pytest_server_two.pytest_transport_2.pytest_transport_unix_minimal.pyx_transport_unix_94pct_coverage.pyclient.pycertificate.py2025-02-04-1841-claude.mdlong-prime.mdcode-example.mdenv.shcomments.mddebugging-2025-01-20-1256.mdgrpcplugin.mdhandshake.mdllm-priming.mdkv-data-testkv_protocol.pypy_kv_client.pypy_kv_server.pyhandshake.pyserver.pytest_certificate_create.pytest_certificate_lifecycle.pytest_certificate_verify.pytest_server.pytest_transport_tcp.pytest_transport_unix.pygen-certs.sh
- Uses
MockProtocolimplementingPluginProtocolfor testing qualify internal31 files
broke-server.pytest_client_grpc.pytest_minimal_server_client.pytest_server_two.pytest_transport_2.pytest_transport_unix_minimal.pyx_transport_unix_94pct_coverage.pyclient.pycertificate.py2025-02-04-1841-claude.mdlong-prime.mdcode-example.mdenv.shcomments.mddebugging-2025-01-20-1256.mdgrpcplugin.mdhandshake.mdllm-priming.mdkv-data-testkv_protocol.pypy_kv_client.pypy_kv_server.pyhandshake.pyserver.pytest_certificate_create.pytest_certificate_lifecycle.pytest_certificate_verify.pytest_server.pytest_transport_tcp.pytest_transport_unix.pygen-certs.sh
- Captures printed handshake messages and validates pipe-delimited format
decouple
errata
1 file
gen-certs.sh
Test File Organization
2 files changed
test_transport_tcp.pyUpdated test_transport_tcp.py (+0/-0 lines)test_transport_unix.pyUpdated test_transport_unix.py (+0/-0 lines)
- Moved
broke-server.pytobroken/broke-server.pyremediate internal1 file
broke-server.py
- Moved
test_client_grpc.pytobroken/test_client_grpc.pyremediate internal1 file
test_client_grpc.py
- Moved
test_minimal_server_client.pytobroken/test_minimal_server_client.pyremediate internal1 file
test_minimal_server_client.py
- Renamed
x_test_transport_tcp.pyback totest_transport_tcp.pydecouple internal1 file
test_transport_tcp.py
- Renamed
x_test_transport_unix.pyback totest_transport_unix.pydecouple internal1 file
test_transport_unix.py