'Any child resource of L{static.DirectoryLister} renders an HTTP
I{NOT FOUND} response code.'

def test_childrenNotFound(self):

    path = FilePath(self.mktemp())
    path.makedirs()
    lister = static.DirectoryLister(path.path)
    request = self._request('')
    child = resource.getChildForRequest(lister, request)
    result = _render(child, request)
    def cbRendered(ignored):
        self.assertEqual(request.responseCode, http.NOT_FOUND)
    result.addCallback(cbRendered)
    return result
