def setUp(self): self.cls = BaseComponentTestCase self.cls.organization = Organization(id="id") self.cls.organization.restore = self.restore
def teRRRst_organization_create(self): org = Organization(self.context) self.assertTrue(org.name) self.assertTrue(org.organizationId)
def get_organization(self, id): log.info("Picking organization: %s" % id) from qubell.api.private.organization import Organization return Organization(self.context, id=id)