pyvider 2025-02-20
KV Example Reorganization and Crypto Tests
35 files · 558+ · 146-

KV Example Reorganization

33 files changed
  • giblet.proto Updated giblet.proto (+0/-0 lines)
  • giblet_pb2.py Updated giblet_pb2.py (+0/-0 lines)
  • giblet_pb2_grpc.py Updated giblet_pb2_grpc.py (+0/-0 lines)
  • 2025-02-20-1638-claude-great-testing-strategies.md Added 2025-02-20-1638-claude-great-testing-strategies.md (+246 lines)
  • kv-data-hello Removed kv-data-hello (-1 lines)
  • kv-data-status Removed kv-data-status (-1 lines)
  • kv_protocol.py Removed kv_protocol.py (-38 lines)
  • .gitignore Added .gitignore (+2 lines)
  • test_crypto_generators.py Added test_crypto_generators.py (+11 lines)
  • handshake.py Updated handshake.py (+1/-1 lines)
  • mocks.py Updated mocks.py (+30/-9 lines)
  • transport.py Updated transport.py (+8/-1 lines)
  • __init__.py Updated __init__.py (+0/-0 lines)
  • kv-go-client Updated kv-go-client (+0/-0 lines)
  • kv-go-server Updated kv-go-server (+0/-0 lines)
  • __init__.py Added __init__.py (+9 lines)
  • kv.proto Updated kv.proto (+1/-1 lines)
  • kv_pb2.py Updated kv_pb2.py (+2/-2 lines)
  • kv_pb2_grpc.py Updated kv_pb2_grpc.py (+3/-2 lines)
  • kv_protocol.py Added kv_protocol.py (+36 lines)
  • py_kv_client.py Updated py_kv_client.py (+7/-4 lines)
  • py_kv_server.py Updated py_kv_server.py (+5/-4 lines)
  • test_kv_integration.py Added test_kv_integration.py (+119 lines)
  • test_server_handshake.py Updated test_server_handshake.py (+3/-4 lines)
  • test_server_signals.py Updated test_server_signals.py (+13/-8 lines)
  • test_server_transport.py Updated test_server_transport.py (+16/-13 lines)
  • test_server_transport_2.py Updated test_server_transport_2.py (+0/-0 lines)
  • x_test_server_lifecycle.py Updated x_test_server_lifecycle.py (+15/-18 lines)
  • test_transport_unix.py Updated test_transport_unix.py (+1/-1 lines)
  • test_transport_unix_close.py Updated test_transport_unix_close.py (+1/-1 lines)
  • test_transport_unix_connect.py Updated test_transport_unix_connect.py (+1/-1 lines)
  • test_transport_unix_handle_client.py Updated test_transport_unix_handle_client.py (+1/-1 lines)
  • test_transport_unix_listen.py Updated test_transport_unix_listen.py (+1/-1 lines)
  • Moved examples/kv/giblet_pb2.py and giblet_pb2_grpc.py to docs/ specify internal
    4 files
    • giblet.proto
    • giblet_pb2.py
    • giblet_pb2_grpc.py
    • 2025-02-20-1638-claude-great-testing-strategies.md
  • Deleted examples/kv/kv_protocol.py (38 lines) containing KVProtocol(RPCPluginProtocol) class decouple internal
    1 file
    • kv_protocol.py

Crypto Tests

2 files changed
  • test_certificate_lifecycle.py Updated test_certificate_lifecycle.py (+2/-1 lines)
  • test_certificate_loading.py Updated test_certificate_loading.py (+24/-33 lines)
  • Updated test_certificate_loading.py to use client_cert fixture for key file and Windows line ending tests qualify internal
    1 file
    • test_certificate_loading.py
  • Added test_load_cert_with_windows_line_endings test using \r\n line endings qualify internal
    29 files
    • test_certificate_lifecycle.py
    • test_certificate_loading.py
    • test_crypto_generators.py
    • handshake.py
    • mocks.py
    • server.py
    • transport.py
    • __init__.py
    • kv-go-client
    • kv-go-server
    • __init__.py
    • kv.proto
    • kv_pb2.py
    • kv_pb2_grpc.py
    • kv_protocol.py
    • py_kv_client.py
    • py_kv_server.py
    • test_kv_integration.py
    • test_server_handshake.py
    • test_server_signals.py
    • test_server_transport.py
    • test_server_transport_2.py
    • x_test_server_lifecycle.py
    • test_transport_suite.py
    • test_transport_unix.py
    • test_transport_unix_close.py
    • test_transport_unix_connect.py
    • test_transport_unix_handle_client.py
    • test_transport_unix_listen.py
  • Updated test_certificate_lifecycle.py trust chain test with improved mock approach qualify internal
    1 file
    • test_certificate_lifecycle.py