Skip to content

test: audit and expand coverage for alias layer and new domains - #116

Merged
joshrotenberg merged 2 commits into
mainfrom
worktree-feat+115-test-audit
Jun 2, 2026
Merged

test: audit and expand coverage for alias layer and new domains#116
joshrotenberg merged 2 commits into
mainfrom
worktree-feat+115-test-audit

Conversation

@joshrotenberg

Copy link
Copy Markdown
Contributor

Closes #115

Summary

Test plan

  • cargo test --workspace passes clean
  • Each alias method (list(), get(), etc.) has at least one wiremock round-trip test
  • TaskStatus::Unknown is exercised via the #[serde(other)] path
  • Python call-level tests pass with maturin develop + pytest
  • openapi_route_coverage still passes

…calls (closes #115)

Add wiremock round-trip tests for the simplified alias methods (list/get/
delete/update) across tasks, users, cloud accounts, subscriptions, ACL, and
connectivity (TGW) handlers — each calls the alias rather than the canonical
method to confirm delegation. Add a TaskStatus::Unknown deserialize test for
the #[serde(other)] fallback.

On the Python side, add TestDomainCallsSync: a stdlib http.server mock that
exercises each new domain binding (tasks, users, ACL, cloud accounts, fixed
subscriptions/databases) through a real HTTP call into the Rust layer,
replacing hasattr-only coverage.

18 new Rust tests, 13 new Python tests; all green, clippy clean.
@joshrotenberg
joshrotenberg marked this pull request as ready for review June 2, 2026 14:36
@joshrotenberg
joshrotenberg merged commit a7b7f02 into main Jun 2, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test: audit test coverage for release readiness

1 participant