Пример #1
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())
Пример #2
0
    def test_should_return_configuration(self, mock_configuration):

        actual_configuration = get_properties()

        self.assertEqual(mock_configuration, actual_configuration)
    def test_should_return_configuration(self, mock_configuration):

        actual_configuration = get_properties()

        self.assertEqual(mock_configuration, actual_configuration)
Пример #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())