Skip to content

Commit

Permalink
Use separate test file for test_load_composable_nodes
Browse files Browse the repository at this point in the history
Rather than reusing the test file that is used in test_node.

Signed-off-by: Jacob Perron <jacob@openrobotics.org>
  • Loading branch information
jacobperron committed Oct 19, 2021
1 parent c7844b5 commit bd1bc63
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/my_ns:
my_node:
ros__parameters:
some_int: 42
a_string: "Hello world"
no_string: ""
some_list:
sub_list:
some_integers: [1, 2, 3, 4]
some_doubles : [3.14, 2.718]
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def test_load_node_with_param_file(mock_component_container):
name='my_node',
namespace='my_ns',
parameters=[
parameters_file_dir / 'example_parameters.yaml'
parameters_file_dir / 'example_parameters_nested_namespace.yaml'
],
)
])
Expand Down

0 comments on commit bd1bc63

Please sign in to comment.