def test_configure_https_redirect(assert_lines):

    section = Section()
    section.configure_https_redirect()
    assert_lines(
        'route-if-not = eq:${HTTPS};on redirect-301:https://${HTTP_HOST}${REQUEST_URI}',
        section
    )