

def test_access_logger_format():
    log_format = '%T {%{SPAM}e} "%{ETag}o" %X {X} %%P'
    mock_logger = mock.Mock()
    access_logger = helpers.AccessLogger(mock_logger, mock_logger)
    expected = '%s {%s} "%s" %%X {X} %%%s'
    assert (expected == access_logger._log_format)

dataset/ETHPy150Open KeepSafe/aiohttp/tests/test_helpers.py test_access_logger_format/VarMisuse@29/71 `log_format`->`mock_logger`