def test_notFoundChild(self):
        path = self.mktemp()
        os.makedirs(path)
        resource = ResourceScriptDirectory(path)
        request = DummyRequest(['foo'])
        child = resource.getChild("foo", request)
        d = _render(child, request)
        def cbRendered(ignored):
            self.assertEqual(request.responseCode, NOT_FOUND)
        d.addCallback(cbRendered)
        return d
L{ResourceScriptDirectory.getChild} returns a resource which renders an
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_script.py/ResourceScriptDirectoryTests.test_notFoundChild