Skip to content

Commit

Permalink
Update talker/listener example test.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed Apr 12, 2019
1 parent 3e2206c commit eb78d55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions launch_testing_ros/examples/talker_listener.test.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def setUpClass(cls, proc_output, listener):
try:
publisher.publish(msg)
proc_output.assertWaitFor(
msg=msg.data,
expected_output=msg.data,
process=listener,
timeout=1.0
)
Expand Down Expand Up @@ -132,7 +132,7 @@ def test_talker_transmits(self, talker):
# Make sure the talker also output the same data via stdout
for txt in [msg.data for msg in msgs_rx]:
self.proc_output.assertWaitFor(
msg=txt,
expected_output=txt,
process=talker
)

Expand All @@ -151,7 +151,7 @@ def test_listener_receives(self, listener):

pub.publish(msg)
self.proc_output.assertWaitFor(
msg=msg.data,
expected_output=msg.data,
process=listener
)

Expand Down

0 comments on commit eb78d55

Please sign in to comment.