Example #1
0
    def test_should_return_configuration(self, mock_configuration_file_path):

        actual_configuration_file_path = get_file_path_of_loaded_configuration(
        )

        self.assertEqual(mock_configuration_file_path,
                         actual_configuration_file_path)
Example #2
0
def log_additional_information():
    """ Logs additional information as the process id and the configuration. """

    log_process_id(LOGGER.info)
    log_configuration(LOGGER.debug, get_properties(), get_file_path_of_loaded_configuration())
    def test_should_return_configuration(self, mock_configuration_file_path):

        actual_configuration_file_path = get_file_path_of_loaded_configuration()

        self.assertEqual(mock_configuration_file_path, actual_configuration_file_path)
Example #4
0
def log_additional_information():
    """ Logs additional information as the process id and the configuration. """

    log_process_id(LOGGER.info)
    log_configuration(LOGGER.debug, get_properties(), get_file_path_of_loaded_configuration())