Skip to content

Commit

Permalink
Fix tests (#633)
Browse files Browse the repository at this point in the history
  • Loading branch information
ygoumaz authored Feb 17, 2023
1 parent 49a9275 commit e06c24c
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions webots_ros2_tests/test/test_system_driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,8 @@ def generate_test_description():
webots = WebotsLauncher(
world=os.path.join(package_dir, 'worlds', 'driver_test.wbt'),
gui=False,
mode='fast'
)

ros2_supervisor = Node(
package='webots_ros2_driver',
executable='ros2_supervisor.py',
output='screen',
additional_env={'WEBOTS_CONTROLLER_URL': controller_url_prefix() + 'Ros2Supervisor'},
respawn=True,
mode='fast',
ros2_supervisor=True
)

webots_driver = Node(
Expand All @@ -70,7 +63,7 @@ def generate_test_description():

return LaunchDescription([
webots,
ros2_supervisor,
webots._supervisor,
webots_driver,
launch_testing.actions.ReadyToTest(),
launch.actions.RegisterEventHandler(
Expand Down

0 comments on commit e06c24c

Please sign in to comment.