def setUp(self): self.factory = APIRequestFactory() self.user = contact_mfactories.User() self.user_uuid = uuid.uuid4() self.organization_uuid = str(uuid.uuid4()) self.session = { 'jwt_organization_uuid': self.organization_uuid, 'jwt_username': '******', 'jwt_user_uuid': self.user_uuid }
def setUp(self): self.user = cfactories.User() self.user_uuid = uuid.uuid4()
def setUp(self): self.factory = APIRequestFactory() self.user = cfactories.User() self.user_uuid = uuid.uuid4()