def test_get_logger_configures_according_to_config(self): b = get_logger().bind() assert isinstance(b._logger, _BUILTIN_DEFAULT_LOGGER_FACTORY().__class__) assert _BUILTIN_DEFAULT_PROCESSORS == b._processors assert isinstance(b, _BUILTIN_DEFAULT_WRAPPER_CLASS) assert _BUILTIN_DEFAULT_CONTEXT_CLASS == b._context.__class__
def test_get_logger_configures_according_to_config(self): b = get_logger().bind() assert isinstance(b._logger, _BUILTIN_DEFAULT_LOGGER_FACTORY().__class__) assert _BUILTIN_DEFAULT_PROCESSORS == b._processors assert isinstance(b, _BUILTIN_DEFAULT_WRAPPER_CLASS) assert _BUILTIN_DEFAULT_CONTEXT_CLASS == b._context.__class__