pyvider 2025-06-05
Massive test suite expansion (partially via Jules automated assistant) covering functions,...
38 files · 2,434+ · 1,016-

Test Suite Expansion

10 files changed
  • test_function_adapter.py Added `tests/functions/functions/test_function_adapter.py` (135 lines) with additional function a...
  • test_provider_handler_hub_interaction.py Added `tests/handler/test_provider_handler_hub_interaction.py` (117 lines) testing handler-hub co...
  • test_resource_registration_and_base.py Added `tests/resources/test_resource_registration_and_base.py` (105 lines, in two locations) test...
  • discovery_test_pkgs_simple Added `tests/hub/discovery_test_pkgs_simple/` with simplified discovery test fixtures
  • test_component_discovery.py Significantly reworked `tests/hub/test_component_discovery.py` (~170 lines of changes) and `test_...
  • test_component_registry.py Significantly reworked `tests/hub/test_component_discovery.py` (~170 lines of changes) and `test_...
  • conftest.py Updated `tests/conftest.py` with ~125 lines of changes to shared fixtures
  • test_function_adapter.py Updated existing function tests: `test_function_adapter.py` (~80 lines), `test_function_registrat...
  • test_function_registration.py Updated existing function tests: `test_function_adapter.py` (~80 lines), `test_function_registrat...
  • test_data_source_registration.py Updated `tests/data_sources/test_data_source_registration.py` with 25 lines of changes
  • Added tests/functions/functions/test_function_adapter.py (135 lines) with additional function adapter tests qualify internal
    1 file
    • test_function_adapter.py
  • Added tests/handler/test_provider_handler_hub_interaction.py (117 lines) testing handler-hub communication qualify internal
    1 file
    • test_provider_handler_hub_interaction.py
  • Added tests/resources/test_resource_registration_and_base.py (105 lines, in two locations) testing resource registration and base class behavior qualify behavioral
    1 file
    • test_resource_registration_and_base.py
  • Added tests/hub/discovery_test_pkgs_simple/ with simplified discovery test fixtures qualify internal
    1 file
    • discovery_test_pkgs_simple
  • Significantly reworked tests/hub/test_component_discovery.py (~170 lines of changes) and test_component_registry.py (~172 lines of changes) with improved test coverage qualify internal
    2 files
    • test_component_discovery.py
    • test_component_registry.py
  • Updated tests/conftest.py with ~125 lines of changes to shared fixtures qualify internal
    1 file
    • conftest.py
  • Updated existing function tests: test_function_adapter.py (~80 lines), test_function_registration.py (~44 lines) qualify internal
    2 files
    • test_function_adapter.py
    • test_function_registration.py
  • Updated tests/data_sources/test_data_source_registration.py with 25 lines of changes qualify internal
    1 file
    • test_data_source_registration.py

Exception Cleanup

1 file changed
  • EXCEPTION_HIERARCHY.md Changes to EXCEPTION_HIERARCHY.md
  • Minor import fixes across all exception submodules (base, function, grpc, provider, registry, resource, schema, serialization, validation) removing redundant imports remediate internal
    56 files
    • test_file_content.py
    • EXCEPTION_HIERARCHY.md
    • pyproject.toml
    • dynamic_value.py
    • __init__.py
    • base.py
    • function.py
    • grpc.py
    • provider.py
    • registry.py
    • resource.py
    • schema.py
    • serialization.py
    • validation.py
    • decorators.py
    • discovery.py
    • validators.py
    • wire_format.py
    • __init__.py
    • dynamic_value.py
    • config.py
    • provider.py
    • context.py
    • decorators.py
    • lifecycle.py
    • protocol.py
    • types.py
    • test_dynamic_value_conversion.py
    • test_exceptions_hierarchy.py
    • test_function_adapter.py
    • test_function_registration.py
    • test_provider_handler_delegation.py
    • __init__.py
    • __init__.py
    • __init__.py
    • __init__.py
    • sample_discovered_function.py
    • sample_function.py
    • __init__.py
    • sample_discovered_resource.py
    • sample_resource.py
    • error_module.py
    • __init__.py
    • __init__.py
    • faulty_mod.py
    • __init__.py
    • external_resource.py
    • __init__.py
    • __init__.py
    • discovered_items.py
    • test_component_registry.py
    • test_validators.py
    • test_resource_registration_and_base.py
    • test_resource_registration.py
    • test_wire_type_encoder.py
    • uv.lock

Source Code Updates

13 files changed
  • adapters.py Reworked `src/pyvider/functions/adapters.py` (~138 lines of changes) with improved adapter logic
  • base.py Expanded `src/pyvider/functions/base.py` (~262 lines of changes) with enhanced base function class
  • components.py Updated `src/pyvider/hub/components.py` (~49 lines), `discovery.py` (~66 lines), `validators.py` ...
  • discovery.py Updated `src/pyvider/hub/components.py` (~49 lines), `discovery.py` (~66 lines), `validators.py` ...
  • validators.py Updated `src/pyvider/hub/components.py` (~49 lines), `discovery.py` (~66 lines), `validators.py` ...
  • base.py Reworked `src/pyvider/providers/base.py` (~45 lines), `provider.py` (~69 lines)
  • provider.py Reworked `src/pyvider/providers/base.py` (~45 lines), `provider.py` (~69 lines)
  • base.py Simplified `src/pyvider/resources/base.py` (~200 lines of changes) with cleaner resource lifecycle
  • context.py Updated `resources/context.py`, `decorators.py`, `lifecycle.py`, `protocol.py`, `types.py`
  • decorators.py Updated `resources/context.py`, `decorators.py`, `lifecycle.py`, `protocol.py`, `types.py`
  • lifecycle.py Updated `resources/context.py`, `decorators.py`, `lifecycle.py`, `protocol.py`, `types.py`
  • protocol.py Updated `resources/context.py`, `decorators.py`, `lifecycle.py`, `protocol.py`, `types.py`
  • types.py Updated `resources/context.py`, `decorators.py`, `lifecycle.py`, `protocol.py`, `types.py`
  • Reworked src/pyvider/functions/adapters.py (~138 lines of changes) with improved adapter logic interface internal
    1 file
    • adapters.py
  • Expanded src/pyvider/functions/base.py (~262 lines of changes) with enhanced base function class decouple internal
    1 file
    • base.py
  • Updated src/pyvider/hub/components.py (~49 lines), discovery.py (~66 lines), validators.py (~36 lines) decouple internal
    3 files
    • components.py
    • discovery.py
    • validators.py
  • Reworked src/pyvider/providers/base.py (~45 lines), provider.py (~69 lines) decouple internal
    2 files
    • base.py
    • provider.py
  • Simplified src/pyvider/resources/base.py (~200 lines of changes) with cleaner resource lifecycle decouple internal
    1 file
    • base.py
  • Updated resources/context.py, decorators.py, lifecycle.py, protocol.py, types.py interface internal
    5 files
    • context.py
    • decorators.py
    • lifecycle.py
    • protocol.py
    • types.py

OpenTofu Installation

1 file changed
  • install-opentofu.sh Added `install-opentofu.sh` (1358 lines) comprehensive OpenTofu installation script supporting mu...
  • Added install-opentofu.sh (1358 lines) comprehensive OpenTofu installation script supporting multiple platforms and installation methods baseline internal
    1 file
    • install-opentofu.sh