def test_user(self): #Test the json in the object user = User() self.assertEquals(user.to_json(), { 'email': None, 'id': None, 'user_id': None, 'active':None, 'first_name': None, 'last_name' : None, 'organization_id' : None, 'phone_alternate' : None, 'phone_primary' : None, 'scopes' : [], 'role' : None, 'user_name': None})
def test_user(self): #Test the json in the object user = User() self.assertEquals( user.to_json(), { 'email': None, 'id': None, 'user_id': None, 'active': None, 'first_name': None, 'last_name': None, 'organization_id': None, 'phone_alternate': None, 'phone_primary': None, 'scopes': [], 'role': None, 'user_name': None })
def test_user(self): # Test the json in the object user = User() self.assertEquals( user.to_json(), { "email": None, "id": None, "user_id": None, "active": None, "first_name": None, "last_name": None, "organization_id": None, "phone_alternate": None, "phone_primary": None, "scopes": [], "role": None, "user_name": None, "email_opt_in": None, }, )