diff --git a/test/pyrostest/test_nodes.py b/test/pyrostest/test_nodes.py index 6bb270a..e687cba 100644 --- a/test/pyrostest/test_nodes.py +++ b/test/pyrostest/test_nodes.py @@ -2,6 +2,7 @@ import pyrostest + class TestAddOne(pyrostest.RosTest): @pyrostest.launch_node('pyrostest', 'add_one.py') def test_add_one_node_single(self): @@ -26,6 +27,7 @@ def test_unused_node(self): with self.check_topic('/pyrostest/add_one', Int32) as out: pass + class TestPubFoo(pyrostest.RosTest): @pyrostest.with_launch_file('pyrostest', 'launch.launch') @pyrostest.launch_node('pyrostest', 'pub_foo.py') @@ -33,6 +35,7 @@ def test_foo_node(self): with self.check_topic('/pub_val', Int32) as out: assert out.message.data == 7 + class TestSequence(pyrostest.RosTest): @pyrostest.with_launch_file('pyrostest', 'launch.launch') @pyrostest.launch_node('pyrostest', 'pub_foo.py')