Example #1
0
 def _createRequest(self, path, **kw):
     publication = DefaultPublication(self.app)
     path = path.split('/')
     path.reverse()
     request = TestRequest(StringIO(''), **kw)
     request.setTraversalStack(path)
     request.setPublication(publication)
     return request