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()
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()