def _buildWorkitemFromPolarion(self):
    for (attr, value) in self._polarion_record.__dict__.items():
        for key in value:
            setattr(self, key, value[key])
    self._testcase = self._polarion_record.testCaseURI
    self._testcase_name = self._testcase.split('}')[1]
    self._defect = self._polarion_record.defectURI
def _buildWorkitemFromPolarion(self):
    for (attr, value) in self._polarion_record.__dict__.items():
        for key in value:
            setattr(self, key, value[key])
    self._testcase = self._polarion_record.testCaseURI
    self._testcase_name = self._testcase.split('}')[1]
    self._defect = self._polarion_record.defectURI