Repository navigation
tests: add test coverage for rfx.deploy module - #15
Merged
Merged
Conversation
- Test _resolve_robot_config: builtin names, case insensitivity, YAML override, auto-detect, error cases - Test _WrapCallable: wrapping, policy_type, defaults - Test _load_policy_from_py: decorated, multiple, missing, fallback, invalid path - Test deploy() with mock robot (skipped without torch)
Contributor
Author
|
CI failures are pre-existing — test_teleop_benchmark, test_teleop_session, test_teleop_transport_binding, and test_zenoh_defaults fail because the Rust extension (rfx._rfx) isn't built in the CI environment. All 19 tests in test_deploy.py pass (17 pass, 2 torch-dependent skip). |
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.
Adds 19 tests for
rfx.deployinternals:_resolve_robot_config: builtin names, case insensitivity, YAML override, auto-detect from policy, error cases_WrapCallable: wrapping, policy_type property, defaults_load_policy_from_py: decorated function, multiple policies, missing policy, fallback topolicyname, invalid pathdeploy()with mock robot (2 tests, skipped without torch)17 pass, 2 torch-dependent correctly skip.