Example #1
0
 def setUp(self):
     self.c_context = c_context = Scope()
     c_context["__zt_context__"] = Context(None, {})
     self.z_context = _C2ZContextWrapper(c_context)
 def setUp(self):
     self.context = Context(Engine, {})
     self.engine = Engine
Example #3
0
 def setUp(self):
     self.c_context = c_context = Scope()
     z_context = Context(None, {})
     z_context.setContext("default", DEFAULT_MARKER)
     c_context["__zt_context__"] = wrap(z_context)
     self.z_context = _C2ZContextWrapper(c_context, None)