Skip to content

Commit

Permalink
Fix some asserts that somehow failed on iron/rolling but not humble?
Browse files Browse the repository at this point in the history
  • Loading branch information
sea-bass committed Oct 31, 2023
1 parent 63806c0 commit 2a21fbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_execute_advertised_action(self):

self.assertIsNotNone(self.received_message)
self.assertTrue("op" in self.received_message)
self.assertTrue(self.received_message["op"] == "send_action_goal")
self.assertEqual(self.received_message["op"], "send_action_goal")
self.assertTrue("id" in self.received_message)

# Send feedback message
Expand Down Expand Up @@ -239,7 +239,7 @@ def test_unadvertise_action(self):

self.assertIsNotNone(self.received_message)
self.assertTrue("op" in self.received_message)
self.assertTrue(self.received_message["op"] == "send_action_goal")
self.assertEqual(self.received_message["op"], "send_action_goal")
self.assertTrue("id" in self.received_message)

# Now unadvertise the action
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def test_call_advertised_service(self):

self.assertFalse(self.received_message is None)
self.assertTrue("op" in self.received_message)
self.assertTrue(self.received_message["op"] == "call_service")
self.assertEqual(self.received_message["op"], "call_service")
self.assertTrue("id" in self.received_message)

# Now send the response
Expand Down Expand Up @@ -191,7 +191,7 @@ def test_unadvertise_with_live_request(self):

self.assertFalse(self.received_message is None)
self.assertTrue("op" in self.received_message)
self.assertTrue(self.received_message["op"] == "call_service")
self.assertEqual(self.received_message["op"], "call_service")
self.assertTrue("id" in self.received_message)

# Now unadvertise the service
Expand Down

0 comments on commit 2a21fbf

Please sign in to comment.