Skip to content

Commit 1b6812c

Browse files
added test for testing default log file name of logging
Signed-off-by: Tanishq Chaudhary <[email protected]>
1 parent c04f317 commit 1b6812c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

launch/test/launch/test_logging.py

+1
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def test_output_loggers_configuration(
105105
launch.logging.reset()
106106
if main_log_file_name is None:
107107
main_log_file_name = launch.logging.launch_config.log_file_name
108+
assert main_log_file_name == 'launch.log'
108109
logger_name = main_log_file_name.removesuffix('.log')
109110
launch.logging.launch_config.log_dir = log_dir
110111
launch.logging.launch_config.log_file_name = main_log_file_name

0 commit comments

Comments
 (0)