Ejemplo n.º 1
0
 def setUp(self):
     super(UnitTestAPI, self).setUp()
     self.context = fake.FakeContext()
     self.request = fake.FakeRequest()
     self.api = api.HTTPAPI(self.context, self.request)
     self.load_fake()
Ejemplo n.º 2
0
 def setUp(self):
     super(UnitTestArchetypes, self).setUp()
     self.context = fake.FakeContext()
     self.request = fake.FakeRequest()
     self.view = EtherpadEditView(self.context, self.request)
     self.load_fake()