def test_renderHeader(self):
    '\n        L{static.DirectoryLister} prints the request uri as header of the\n        rendered content.\n        '
    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request(b'foo'))
    self.assertIn(b'<h1>Directory listing for foo</h1>', data)
    self.assertIn(b'<title>Directory listing for foo</title>', data)
L{static.DirectoryLister} prints the request uri as header of the
rendered content.
def test_renderHeader(self):
    '\n        L{static.DirectoryLister} prints the request uri as header of the\n        rendered content.\n        '
    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request(b'foo'))
    self.assertIn(b'<h1>Directory listing for foo</h1>', data)
    self.assertIn(b'<title>Directory listing for foo</title>', data)