@@ -131,7 +131,8 @@ def test_output_loggers_configuration(
131
131
assert 0 == len (capture .err )
132
132
133
133
launch .logging .launch_config .log_file_name = main_log_file_name
134
- main_log_path = launch .logging .launch_config .get_log_file_path ()
134
+ main_log_path = launch .logging .launch_config .get_log_file_path (
135
+ launch .logging .launch_config .log_file_name )
135
136
assert os .path .exists (main_log_path )
136
137
assert 0 != os .stat (main_log_path ).st_size
137
138
with open (main_log_path , 'r' ) as f :
@@ -145,7 +146,8 @@ def test_output_loggers_configuration(
145
146
assert 0 == len (lines )
146
147
147
148
launch .logging .launch_config .log_file_name = 'some-proc-stdout.log'
148
- own_log_path = launch .logging .launch_config .get_log_file_path ()
149
+ own_log_path = launch .logging .launch_config .get_log_file_path (
150
+ launch .logging .launch_config .log_file_name )
149
151
if 'own_log' in (checks ['stdout' ] | checks ['both' ]):
150
152
assert os .path .exists (own_log_path )
151
153
assert 0 != os .stat (own_log_path ).st_size
@@ -157,7 +159,8 @@ def test_output_loggers_configuration(
157
159
assert (not os .path .exists (own_log_path ) or 0 == os .stat (own_log_path ).st_size )
158
160
159
161
launch .logging .launch_config .log_file_name = 'some-proc-stderr.log'
160
- own_log_path = launch .logging .launch_config .get_log_file_path ()
162
+ own_log_path = launch .logging .launch_config .get_log_file_path (
163
+ launch .logging .launch_config .log_file_name )
161
164
if 'own_log' in (checks ['stderr' ] | checks ['both' ]):
162
165
assert os .path .exists (own_log_path )
163
166
assert 0 != os .stat (own_log_path ).st_size
@@ -169,7 +172,8 @@ def test_output_loggers_configuration(
169
172
assert (not os .path .exists (own_log_path ) or 0 == os .stat (own_log_path ).st_size )
170
173
171
174
launch .logging .launch_config .log_file_name = 'some-proc.log'
172
- own_log_path = launch .logging .launch_config .get_log_file_path ()
175
+ own_log_path = launch .logging .launch_config .get_log_file_path (
176
+ launch .logging .launch_config .log_file_name )
173
177
if 'own_log' in checks ['both' ]:
174
178
assert os .path .exists (own_log_path )
175
179
assert 0 != os .stat (own_log_path ).st_size
0 commit comments