'L{static.DirectoryLister} prints the request uri as header of the
rendered content.'

def test_renderHeader(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    data = lister.render(self._request('foo'))
    self.assertIn('<h1>Directory    listing    for    foo</h1>', data)
    self.assertIn('<title>Directory    listing    for    foo</title>', data)
