Beispiel #1
0
def test_getpath():
    environ = {
        "SCRIPT_NAME": "/foo",
        "PATH_INFO": "/bar",
    }

    assert getpath(environ) == "/foo/bar"
Beispiel #2
0
def test_getpath():
    environ = {
        "SCRIPT_NAME": "/foo",
        "PATH_INFO": "/bar",
    }

    assert getpath(environ) == "/foo/bar"