Skip to content

Commit

Permalink
Call LaunchROSTestModule with the new API. (ros2#150)
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
  • Loading branch information
clalancette committed May 14, 2020
1 parent d93bf9d commit 2e64ea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion launch_testing_ros/launch_testing_ros/pytest/hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def makeitem(self, *args, **kwargs):
def pytest_launch_collect_makemodule(path, parent, entrypoint):
marks = getattr(entrypoint, 'pytestmark', [])
if marks and any(m.name == 'rostest' for m in marks):
return LaunchROSTestModule(path, parent)
return LaunchROSTestModule.from_parent(parent=parent, fspath=path)


def pytest_configure(config):
Expand Down

0 comments on commit 2e64ea5

Please sign in to comment.