Skip to content

Commit

Permalink
update to launch API in Dashing
Browse files Browse the repository at this point in the history
  • Loading branch information
dirk-thomas committed Sep 17, 2019
1 parent 0db4847 commit a9bde01
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/tests.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from launch import LaunchDescription
from launch import LaunchService
from launch.actions import ExecuteProcess

from launch_testing import LaunchTestService
from launch_testing.legacy import LaunchTestService


def main(argv=sys.argv[1:]):
Expand All @@ -25,15 +25,13 @@ def main(argv=sys.argv[1:]):
os.path.join(test_directory, 'simple_http_requests_test.py')],
name='simple_http_requests_test',
)
ld.add_action(test1_action)

test2_action = ExecuteProcess(
cmd=[
sys.executable, '-u',
os.path.join(test_directory, 'websocket_test.py')],
name='websocket_test',
)
ld.add_action(test2_action)

lts = LaunchTestService()
lts.add_test_action(ld, test1_action)
Expand Down

0 comments on commit a9bde01

Please sign in to comment.