Skip to content

Commit

Permalink
Added spacing.
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuamorton committed Aug 30, 2017
1 parent 7a4e3b3 commit efcb19f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/pyrostest/test_nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import pyrostest


class TestAddOne(pyrostest.RosTest):
@pyrostest.launch_node('pyrostest', 'add_one.py')
def test_add_one_node_single(self):
Expand All @@ -26,13 +27,15 @@ 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')
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')
Expand Down

0 comments on commit efcb19f

Please sign in to comment.