Skip to content

Commit

Permalink
fix path in tests, update result
Browse files Browse the repository at this point in the history
  • Loading branch information
ipa-rwu committed Feb 27, 2024
1 parent 852978f commit d003d86
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
5 changes: 4 additions & 1 deletion test/outputs/test_system.rossystem
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
test_system:
nodes:
"/map_server":
from: "TODO./map_server"
from: "/map_server"
interfaces:
- "map_metadata": pub-> "TODO::map_metadata"
- "map": pub-> "TODO::map"
- "static_map": as-> "TODO::static_map"
- "static_map": ac-> "TODO::static_map"
- "static_map": ss-> "TODO::static_map"
- "static_map": sc-> "TODO::static_map"
parameters:
- shadows/min_angle: "/map_server.shadows/min_angle"
value: -1.52
2 changes: 1 addition & 1 deletion test/unittest/test_generate_component.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
# pprint(test_model)

test_dir = "test"
output_folder = "outputs"
output_folder = Path(__file__).parent.parent / "outputs"

expect_result = """
test_model:
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/test_generate_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
)

test_dir = "test"
output_folder = "outputs"
output_folder = Path(__file__).parent.parent / "outputs"

expect_result = """
test_interfaces:
Expand Down
2 changes: 1 addition & 1 deletion test/unittest/test_generate_system.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
pprint(test_model)

test_dir = "test"
output_folder = "outputs"
output_folder = Path(__file__).parent.parent / "outputs"

expect_result = """
test_system:
Expand Down

0 comments on commit d003d86

Please sign in to comment.