Skip to content

Commit

Permalink
Slight tweaks to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Nov 1, 2023
1 parent 2b258e8 commit 1119e34
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ async def execute_callback(self, goal):
"action": self.action_name,
"action_type": self.action_type,
"args": message_conversion.extract_values(goal.request),
"feedback": True,
}
self.protocol.send(goal_message)

Expand Down
10 changes: 5 additions & 5 deletions rosbridge_library/test/capabilities/test_action_capabilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def test_execute_advertised_action(self):
goal_msg = loads(
dumps(
{
"op": "call_service",
"id": "foo",
"op": "send_action_goal",
"id": "foo2",
"action": action_path,
"action_type": "example_interfaces/Fibonacci",
"args": {"order": 5},
Expand Down Expand Up @@ -219,7 +219,7 @@ def test_cancel_advertised_action(self):
dumps(
{
"op": "send_action_goal",
"id": "foo",
"id": "foo3",
"action": action_path,
"action_type": "example_interfaces/Fibonacci",
"args": {"order": 5},
Expand All @@ -246,7 +246,7 @@ def test_cancel_advertised_action(self):
{
"op": "cancel_action_goal",
"action": action_path,
"id": "foo",
"id": "foo3",
}
)
)
Expand Down Expand Up @@ -287,7 +287,7 @@ def test_unadvertise_action(self):
dumps(
{
"op": "send_action_goal",
"id": "foo",
"id": "foo4",
"action": action_path,
"action_type": "example_interfaces/Fibonacci",
"args": {"order": 5},
Expand Down

0 comments on commit 1119e34

Please sign in to comment.