def METHOD_NAME(self):
    result = parse(
        [
            "/foo exact http://giraffe.com/bar",
            "/bar prefix http://elephant.org/",
            "/baz/bat internal-exact tapir",
            "/qux internal-prefix donkey",
        ]
    )
    assert result == [
        Redirect(
            src="/foo", dst="http://giraffe.com/bar", internal=False, prefix=False
        ),
        Redirect(
            src="/bar", dst="http://elephant.org/", internal=False, prefix=True
        ),
        Redirect(src="/baz/bat", dst="tapir", internal=True, prefix=False),
        Redirect(src="/qux", dst="donkey", internal=True, prefix=True),
    ]