def test_renderUnquoteHeader(self):
        """
        L{static.DirectoryLister} unquote the request uri before printing it.
        """
        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.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_static.py