@@ -146,44 +146,46 @@ def test_info_on_nonexistent_action(self):
146
146
147
147
@launch_testing .markers .retry_on_failure (times = 5 , delay = 1 )
148
148
def test_fibonacci_info (self ):
149
- with self .launch_action_command (arguments = ['info' , '/fibonacci' ]) as action_command :
149
+ with self .launch_action_command (arguments = ['info' , '/test/ fibonacci' ]) as action_command :
150
150
assert action_command .wait_for_shutdown (timeout = 10 )
151
151
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
152
152
assert launch_testing .tools .expect_output (
153
153
expected_lines = [
154
- 'Action: /fibonacci' ,
154
+ 'Action: /test/ fibonacci' ,
155
155
'Action clients: 0' ,
156
156
'Action servers: 1' ,
157
- ' /fibonacci_action_server'
157
+ ' /test/ fibonacci_action_server'
158
158
],
159
159
text = action_command .output ,
160
160
strict = False
161
161
)
162
162
163
163
@launch_testing .markers .retry_on_failure (times = 5 , delay = 1 )
164
164
def test_fibonacci_info_with_types (self ):
165
- with self .launch_action_command (arguments = ['info' , '-t' , '/fibonacci' ]) as action_command :
165
+ with self .launch_action_command (
166
+ arguments = ['info' , '-t' , '/test/fibonacci' ]) as action_command :
166
167
assert action_command .wait_for_shutdown (timeout = 10 )
167
168
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
168
169
assert launch_testing .tools .expect_output (
169
170
expected_lines = [
170
- 'Action: /fibonacci' ,
171
+ 'Action: /test/ fibonacci' ,
171
172
'Action clients: 0' ,
172
173
'Action servers: 1' ,
173
- ' /fibonacci_action_server [test_msgs/action/Fibonacci]'
174
+ ' /test/ fibonacci_action_server [test_msgs/action/Fibonacci]'
174
175
],
175
176
text = action_command .output ,
176
177
strict = False
177
178
)
178
179
179
180
@launch_testing .markers .retry_on_failure (times = 5 , delay = 1 )
180
181
def test_fibonacci_info_count (self ):
181
- with self .launch_action_command (arguments = ['info' , '-c' , '/fibonacci' ]) as action_command :
182
+ with self .launch_action_command (
183
+ arguments = ['info' , '-c' , '/test/fibonacci' ]) as action_command :
182
184
assert action_command .wait_for_shutdown (timeout = 10 )
183
185
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
184
186
assert launch_testing .tools .expect_output (
185
187
expected_lines = [
186
- 'Action: /fibonacci' ,
188
+ 'Action: /test/ fibonacci' ,
187
189
'Action clients: 0' ,
188
190
'Action servers: 1' ,
189
191
],
@@ -197,7 +199,7 @@ def test_list(self):
197
199
assert action_command .wait_for_shutdown (timeout = 10 )
198
200
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
199
201
assert launch_testing .tools .expect_output (
200
- expected_lines = ['/fibonacci' ],
202
+ expected_lines = ['/test/ fibonacci' ],
201
203
text = action_command .output ,
202
204
strict = True
203
205
)
@@ -208,7 +210,7 @@ def test_list_with_types(self):
208
210
assert action_command .wait_for_shutdown (timeout = 10 )
209
211
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
210
212
assert launch_testing .tools .expect_output (
211
- expected_lines = ['/fibonacci [test_msgs/action/Fibonacci]' ],
213
+ expected_lines = ['/test/ fibonacci [test_msgs/action/Fibonacci]' ],
212
214
text = action_command .output , strict = True
213
215
)
214
216
@@ -223,7 +225,7 @@ def test_list_count(self):
223
225
224
226
@launch_testing .markers .retry_on_failure (times = 5 , delay = 1 )
225
227
def test_type (self ):
226
- with self .launch_action_command (arguments = ['type' , '/fibonacci' ]) as action_command :
228
+ with self .launch_action_command (arguments = ['type' , '/test/ fibonacci' ]) as action_command :
227
229
assert action_command .wait_for_shutdown (timeout = 10 )
228
230
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
229
231
assert launch_testing .tools .expect_output (
@@ -238,7 +240,7 @@ def test_find(self):
238
240
assert action_command .wait_for_shutdown (timeout = 10 )
239
241
assert action_command .exit_code == launch_testing .asserts .EXIT_OK
240
242
assert launch_testing .tools .expect_output (
241
- expected_lines = ['/fibonacci' ],
243
+ expected_lines = ['/test/ fibonacci' ],
242
244
text = action_command .output , strict = True
243
245
)
244
246
@@ -257,7 +259,7 @@ def test_send_fibonacci_goal(self):
257
259
with self .launch_action_command (
258
260
arguments = [
259
261
'send_goal' ,
260
- '/fibonacci' ,
262
+ '/test/ fibonacci' ,
261
263
'test_msgs/action/Fibonacci' ,
262
264
'{order: 5}'
263
265
],
@@ -275,7 +277,7 @@ def test_send_fibonacci_goal_with_feedback(self):
275
277
arguments = [
276
278
'send_goal' ,
277
279
'-f' ,
278
- '/fibonacci' ,
280
+ '/test/ fibonacci' ,
279
281
'test_msgs/action/Fibonacci' ,
280
282
'{order: 5}'
281
283
],
0 commit comments