()
| 261 | |
| 262 | |
| 263 | def test_environ_nonascii_pathinfo(): |
| 264 | environ = create_environ("/лошадь") |
| 265 | m = r.Map([r.Rule("/", endpoint="index"), r.Rule("/лошадь", endpoint="horse")]) |
| 266 | a = m.bind_to_environ(environ) |
| 267 | assert a.match("/") == ("index", {}) |
| 268 | assert a.match("/лошадь") == ("horse", {}) |
| 269 | pytest.raises(NotFound, a.match, "/барсук") |
| 270 | |
| 271 | |
| 272 | def test_basic_building(): |
nothing calls this directly
no test coverage detected