def create_test_imis_instance(self):
     imis_claim_admin = ClaimAdmin()
     imis_claim_admin.last_name = self._TEST_LAST_NAME
     imis_claim_admin.other_names = self._TEST_OTHER_NAME
     imis_claim_admin.id = self._TEST_ID
     imis_claim_admin.uuid = self._TEST_UUID
     imis_claim_admin.code = self._TEST_CODE
     imis_claim_admin.dob = TimeUtils.str_to_date(self._TEST_DOB)
     imis_claim_admin.phone = self._TEST_PHONE
     imis_claim_admin.email_id = self._TEST_EMAIL
     return imis_claim_admin
 def create_default_claim_admin(cls, audit_user_id):
     imis_claim_admin = ClaimAdmin()
     imis_claim_admin.validity_from = TimeUtils.now()
     imis_claim_admin.audit_user_id = audit_user_id
     return imis_claim_admin
 def get_queryset(self):
     return ClaimAdmin.get_queryset(None, self.request.user)
 def get_queryset(self):
     #return ClaimAdmin.get_queryset(None, self.request.user)
     return ClaimAdmin.filter_queryset(None)