def test_recode(self): self.assertEqual( '/blü', webdav.path_from_environ( {'PATH_INFO': '/bl\xc3\xbc'}, 'PATH_INFO'))
def test_recode(self): self.assertEqual( "/blü", webdav.path_from_environ({"PATH_INFO": "/bl\xc3\xbc"}, "PATH_INFO"), )
def test_ascii(self): self.assertEqual( '/bla', webdav.path_from_environ({'PATH_INFO': '/bla'}, 'PATH_INFO'))
def test_ascii(self): self.assertEqual( "/bla", webdav.path_from_environ({"PATH_INFO": "/bla"}, "PATH_INFO"), )