def test_renderUnquoteHeader(self):
    '\n        L{static.DirectoryLister} unquote the request uri before printing it.\n        '
    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request(b'foo%20bar'))
    self.assertIn(b'<h1>Directory listing for foo bar</h1>', data)
    self.assertIn(b'<title>Directory listing for foo bar</title>', data)
L{static.DirectoryLister} unquote the request uri before printing it.
def test_renderUnquoteHeader(self):
    '\n        \n        '
    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request(b'foo%20bar'))
    self.assertIn(b'<h1>Directory listing for foo bar</h1>', data)
    self.assertIn(b'<title>Directory listing for foo bar</title>', data)