Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
See twisted.web.Resource.getChild.
        

src/p/h/phoenix-HEAD/phoenix2/core/PhoenixRPC.py   phoenix(Download)
            root = File(self.core.config.get('web', 'root', str, docroot))
            root.processors = {'.rpy': script.ResourceScript}
            return root.getChild(name, request)
 
    def render_POST(self, request):

src/h/o/hortonworks-sandbox-HEAD/desktop/core/ext-py/Twisted/twisted/web/test/test_web.py   hortonworks-sandbox(Download)
        f = static.File(dp)
        wtextr = DummyRequest(['world.txt'])
        wtext = f.getChild('world.txt', wtextr)
        self.assertEquals(wtext.path, tp)
        wtext.render(wtextr)
        f.ignoreExt('.ToUs')
        dreq = DummyRequest([''])
        child_without_ext = f.getChild('AreBelong', dreq)
        self.assertNotEquals(child_without_ext, f.childNotFound)
 

src/z/o/zope.app.twisted-3.5.0/src/twisted/web/test/test_web.py   zope.app.twisted(Download)
        f = static.File(dp)
        wtextr = DummyRequest(['world.txt'])
        wtext = f.getChild('world.txt', wtextr)
        self.assertEquals(wtext.path, tp)
        wtext.render(wtextr)
        f.ignoreExt('.ToUs')
        dreq = DummyRequest([''])
        child_without_ext = f.getChild('AreBelong', dreq)
        self.assertNotEquals(child_without_ext, f.childNotFound)
 

src/o/h/oh-mainline-HEAD/vendor/packages/twisted/twisted/web/test/test_static.py   oh-mainline(Download)
        staticFile = static.File(self.mktemp())
        request = DummyRequest(['foo.bar'])
        child = staticFile.getChild("foo.bar", request)
        self.assertEquals(child, staticFile.childNotFound)
 

src/u/n/UnitScan-HEAD/twisted/web/test/test_static.py   UnitScan(Download)
        staticFile = static.File(self.mktemp())
        request = DummyRequest(['foo.bar'])
        child = staticFile.getChild("foo.bar", request)
        self.assertEqual(child, staticFile.childNotFound)
 

src/t/w/Twisted-13.2.0/twisted/web/test/test_static.py   Twisted(Download)
        staticFile = static.File(self.mktemp())
        request = DummyRequest(['foo.bar'])
        child = staticFile.getChild("foo.bar", request)
        self.assertEqual(child, staticFile.childNotFound)
 

src/s/u/SubliminalCollaborator-HEAD/libs/twisted/web/test/test_static.py   SubliminalCollaborator(Download)
        staticFile = static.File(self.mktemp())
        request = DummyRequest(['foo.bar'])
        child = staticFile.getChild("foo.bar", request)
        self.assertEqual(child, staticFile.childNotFound)