test: audit and expand coverage for alias layer and new domains - #116
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #115
Summary
TaskStatus::Unknownserde-other deserialization testTestNewDomainMethodsfromhasattr-only to smoke call-level tests for all 6 new domains added in python(parity): define and close the gap between Rust client and Python bindings #66, using a local HTTP mock serverTest plan
cargo test --workspacepasses cleanlist(),get(), etc.) has at least one wiremock round-trip testTaskStatus::Unknownis exercised via the#[serde(other)]pathmaturin develop+pytestopenapi_route_coveragestill passes