def test_configure_logging_json(assert_lines):

    section = Section()
    section.configure_logging_json()

    assert_lines([
        'logger-req = stdio:',
        'log-format = %(method) %(uri) -> %(status)',
        'log-req-encoder = json {"dt": "${strftime:%%Y-%%m-%%dT%%H:%%M:%%S%%z}", "src": "uwsgi.req"',
        'log-req-encoder = nl',
        '"src": "uwsgi.out"',

    ], section)