def test_staticFileDeletedGetChild(self):
        """
        A L{static.File} created for a directory which does not exist should
        return childNotFound from L{static.File.getChild}.
        """
        staticFile = static.File(self.mktemp())
        request = DummyRequest([b'foo.bar'])
        child = staticFile.getChild(b"foo.bar", request)
        self.assertEqual(child, staticFile.childNotFound)

        A L{static.File} created for a directory which does not exist should
        return childNotFound from L{static.File.getChild}.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/web/test/test_static.py