Add Lint and Test CI Pipelines #5
Merged
GitHub Actions / Test report
succeeded
Dec 5, 2024 in 1s
194 passed, 0 failed and 0 skipped
✅ test-results/node_helpers/pytest.xml
194 tests were completed in 35s with 194 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| pytest | 194✅ | 35s |
✅ pytest
node_helpers.node_helpers_test.integration.actions.test_action_sequences
✅ test_action_sequence_basic_usage_without_feedback
✅ test_action_group_send_goals
✅ test_cancel_ongoing_goals
✅ test_cancel_goals_with_finished_futures
✅ test_action_group_accepts_iterables_and_elements
✅ test_action_group_basic_usage_without_feedback
✅ test_action_group_basic_usage_with_feedback
✅ test_action_group_exception_cases
✅ test_action_group_yield_for_results
✅ test_action_sequence_exception_cases
✅ test_parallel_action_sequences_basic_execution
✅ test_parallel_action_sequences_with_feedback
✅ test_parallel_action_sequences_exception_cases
✅ test_parallel_action_sequences_cancellation
✅ test_parallel_action_sequences_exception_prevents_other_actions
node_helpers.node_helpers_test.integration.actions.test_context_manager
✅ test_basic_operation
✅ test_async
✅ test_check_for_exceptions
✅ test_feedback_is_passed_through
node_helpers.node_helpers_test.integration.actions.server.test_base_handler_and_worker
✅ test_basic_operation
✅ test_on_exception
✅ test_report_metric[success]
✅ test_report_metric[error]
✅ test_report_metric[canceled]
node_helpers.node_helpers_test.integration.actions.server.test_fail_fast_action_handler
✅ test_basic_usage
node_helpers.node_helpers_test.integration.actions.server.test_queued_action_handler
✅ test_queued_work
node_helpers.node_helpers_test.integration.async_tools.test_async_adapter
✅ test_callback_adapter
node_helpers.node_helpers_test.integration.destruction.test_mixin
✅ test_destroy_callbacks
node_helpers.node_helpers_test.integration.interaction.menu.test_dashboard
✅ test_display_menu
✅ test_run_cancellable_action[True]
✅ test_run_cancellable_action[False]
✅ test_run_cancellable_action_with_custom_menu_items
node_helpers.node_helpers_test.integration.interaction.prompting.test_dashboard_prompter
✅ test_choose[options0-chosen_option0-3]
✅ test_choose[options1-chosen_option1-choice]
✅ test_choose_invalid_option
✅ test_disconnect
✅ test_connecting_and_disconnecting
node_helpers.node_helpers_test.integration.nodes.test_interactive_transform_publisher
✅ test_initialization
✅ test_duplicate_transforms
✅ test_multiple_parents_not_allowed
✅ test_feedback
✅ test_publishing_invalid_transform
✅ test_on_update_transform
✅ test_on_create_transform
✅ test_state_recovery[transforms_param0-expected_transforms0]
✅ test_state_recovery[transforms_param1-expected_transforms1]
✅ test_state_recovery[transforms_param2-expected_transforms2]
✅ test_state_recovery[transforms_param3-expected_transforms3]
✅ test_on_publish_transform_updates_marker_server_state
node_helpers.node_helpers_test.integration.parameters.test_parameters_mixin_dynamic_parameter_updates
✅ test_successful_subscribe_attribute_to_updates
✅ test_setting_unsubscribed_attribute_returns_failure_message
✅ test_setting_same_parameter_twice
✅ test_invalid_attribute_raises_error
✅ test_pydantic_parameter_updating
✅ test_nonros_arbitrary_type_parameters_updating
✅ test_subscribe_to_updates_argument_is_respected
node_helpers.node_helpers_test.integration.robust_rpc.test_mixin
✅ test_robust_service_exception
✅ test_robust_service_success
✅ test_robust_action_exception
✅ test_robust_action_success
✅ test_messages_are_checked_for_validity[RobustServiceExample-False-False]
✅ test_messages_are_checked_for_validity[GetInteractiveMarkers-True-False]
✅ test_messages_are_checked_for_validity[SetCameraInfo-True-False]
✅ test_messages_are_checked_for_validity[RobustActionExample-False-True]
✅ test_robust_rpc_error_passthrough
node_helpers.node_helpers_test.integration.robust_rpc.test_service_client
✅ test_waits_for_service
✅ test_fails_without_executor
node_helpers.node_helpers_test.integration.robust_rpc.test_action_client.test_action_client
✅ test_waits_for_action
✅ test_fails_without_executor
node_helpers.node_helpers_test.integration.robust_rpc.test_action_client.test_send_goal_as_context
✅ test_cancellation[wait_for_action0]
✅ test_cancellation[wait_for_action1]
✅ test_cancelling_uncancellable_action_raises_exception
✅ test_no_cancellation_if_action_was_already_over
✅ test_no_cancellation_if_action_was_cancelled_in_context
✅ test_exceptions_in_context_action_still_raised
✅ test_exception_in_context_cause_cancellation
node_helpers.node_helpers_test.integration.sensors.test_base_buffer
✅ test_on_value_change
✅ test_on_receive
✅ test_get_timeouts
✅ test_get_after
✅ test_reject_out_of_order_messages
node_helpers.node_helpers_test.integration.sensors.test_base_publisher
✅ test_publish_sensor
✅ test_publish_sensor_sanitization
✅ test_publish_value
✅ test_throttling_functionality_has_ttl_caches_assigned
node_helpers.node_helpers_test.integration.sensors.test_binary_signal
✅ test_binary_sensor_from_rangefinder
node_helpers.node_helpers_test.integration.tf.test_constant_broadcaster
✅ test_basic_operation
node_helpers.node_helpers_test.integration.timing.test_singleshots_mixin
✅ test_single_shots_run_once[False]
✅ test_single_shots_run_once[True]
✅ test_single_shots_return_in_order[False]
✅ test_single_shots_return_in_order[True]
✅ test_timers_cancelled_and_dereferenced[False]
✅ test_timers_cancelled_and_dereferenced[True]
✅ test_timers_creation_allowed_before_executor
node_helpers.node_helpers_test.integration.timing.test_ttl_caches
✅ test_basic_use_on_bound_methods
✅ test_basic_use_on_unbound_methods
✅ test_not_called_even_when_returns_none
✅ test_ttl_editing
node_helpers.node_helpers_test.integration.topics.test_latching_publisher
✅ test_publish_message
✅ test_change_message
node_helpers.node_helpers_test.unit.actions.test_server
✅ test_action_worker_normal_operation
✅ test_action_worker_canceled
✅ test_action_worker_no_result
✅ test_action_worker_timeout
✅ test_action_worker_none_yielding
node_helpers.node_helpers_test.unit.futures.test_futures
✅ test_wait_for_futures_waits_on_all_even_after_exception
✅ test_yield_for_future_on_unfinished_future
✅ test_yield_for_future_on_finished_future
node_helpers.node_helpers_test.unit.launching.test_files
✅ test_required_file
✅ test_required_directory
node_helpers.node_helpers_test.unit.launching.test_swappable_nodes
✅ test_basic_usage[config0-input_nodes0-expected_output0]
✅ test_basic_usage[config1-input_nodes1-expected_output1]
✅ test_basic_usage[config2-input_nodes2-InvalidSwapConfiguration]
✅ test_basic_usage[config3-input_nodes3-InvalidSwapConfiguration]
✅ test_basic_usage[config4-input_nodes4-InvalidSwapConfiguration]
node_helpers.node_helpers_test.unit.markers.test_interactive_marker
✅ test_init_configuration
node_helpers.node_helpers_test.unit.parameters.test_choosable_object
✅ test_pydantic_parsing_integration_for_classes
✅ test_pydantic_parsing_integration_for_instances
✅ test_descriptive_error_is_returned_when_class_not_registered
✅ test_registration_happens_with_basest_choosable_class
✅ test_custom_registered_name
✅ test_instance_registration_is_scoped
✅ test_reusing_the_same_name_fails_for_classes
✅ test_reusing_same_name_fails_for_instances
✅ test_getting_registered_name_for_class
✅ test_getting_registered_name_for_instance
✅ test_getting_registered_name_for_unregistered_instance
node_helpers.node_helpers_test.unit.parameters.test_loading
✅ test_namespace_with_item_copies
✅ test_parameter_loader_base_loading
✅ test_parameter_loader_override_loading
✅ test_parameter_loader_file_saving
✅ test_parameter_loader_for_node
✅ test_parameter_loader_loads_without_meta_parameters_schema_provided
✅ test_parameter_loader_invalid_meta_parameters
✅ test_merge_dictionaries_deepcopies
node_helpers.node_helpers_test.unit.parameters.test_parameters_mixin_declaring_pydantic_models
✅ test_default_values
✅ test_field_descriptions
✅ test_prefix_is_added
✅ test_complex_types
✅ test_nonros_arbitrary_types_are_wrapped
✅ test_nested_models
✅ test_union_types_basic_use
node_helpers.node_helpers_test.unit.parameters.test_parameters_mixin_declaring_values
✅ test_required_disallows_default_value
✅ test_default_value_doesnt_match_assigned_type
✅ test_required_raises_error_if_not_set
✅ test_incorrect_type
✅ test_unfilled_detection
node_helpers.node_helpers_test.unit.parameters.test_path
✅ test_basic_operation
node_helpers.node_helpers_test.unit.pubsub.test_topic
✅ test_publishing_subscribing
✅ test_gc_listener_gets_removed
✅ test_removing_listener
✅ test_no_duplicate_subscribers
✅ test_subscribe_call_counts
✅ test_publish_no_subscribers
✅ test_subscribe_as_event
✅ test_gc_subscribe_as_event_removed
✅ test_multiple_subscribe_as_event
node_helpers.node_helpers_test.unit.robust_rpc.test_errors
✅ test_caching
✅ test_routing_exceptions_works
✅ test_routing_accepts_robust_rpc_exception
✅ test_routing_falls_through
node_helpers.node_helpers_test.unit.ros2_numpy.test_geometry
✅ test_point
✅ test_vector3
✅ test_transform
✅ test_pose
node_helpers.node_helpers_test.unit.ros2_numpy.test_images
✅ test_roundtrip_rgb8
✅ test_roundtrip_mono
✅ test_roundtrip_big_endian
✅ test_roundtrip_little_endian
✅ test_bad_encodings
node_helpers.node_helpers_test.unit.ros2_numpy.test_laserscan
✅ test_to_and_from_laserscan
node_helpers.node_helpers_test.unit.ros2_numpy.test_occupancygrids
✅ test_masking
✅ test_serialization
node_helpers.node_helpers_test.unit.ros2_numpy.test_pointclouds
✅ test_convert_dtype
✅ test_convert_dtype_inner
✅ test_roundtrip
✅ test_roundtrip_numpy
✅ test_roundtrip_zero_points
node_helpers.node_helpers_test.unit.ros2_numpy.test_quat
✅ test_representation
✅ test_identity_transform
node_helpers.node_helpers_test.unit.tf.test_timestamps
✅ test_timestamp_conversions
✅ test_is_newer
✅ test_is_older
node_helpers.node_helpers_test.unit.timing.test_timeout
✅ test_timeout_happy_path
✅ test_timeout_unhappy_path
✅ test_timeout_no_error
✅ test_timeout_reset
node_helpers.node_helpers_test.unit.timing.test_timer
✅ test_context_manager
✅ test_decorator
✅ test_printing_doesnt_cause_zero_division_error
✅ test_child_gets_parameters_passed
✅ test_report_generation
✅ test_enter_child_outside_of_context
✅ test_zero_samples_behavior
Loading