#NEWLINE# def __assert_logging_setup_with_file( self , log_file_path , filesystem_mock , logging_mock ) : #NEWLINE# #INDENT# parent_dirs_mock = filesystem_mock . ensure_parent_directories_exist #NEWLINE# parent_dirs_mock . assert_called_once_with ( file_config_mock ) #NEWLINE# file_config_mock = logging_mock . fileConfig #NEWLINE# file_config_mock . assert_called_once_with ( constants . LOGGING_CONFIG_FILE_NAME , defaults = { #NEWLINE# #INDENT# 'log_file_path' : log_file_path , #NEWLINE# #UNINDENT# } , disable_existing_loggers = False )