示例#1
0
 def _add_case(self, obj):
     return Case(self.api.add_case(obj.raw_data()))
示例#2
0
 def case(self):
     return Case()
示例#3
0
 def case(self):
     return Case(self.api.case_with_id(self._content.get('case_id')))
示例#4
0
 def _update_case(self, obj):
     return Case(self.api.update_case(obj.raw_data()))
示例#5
0
 def case(self):
     return Case(
         self.api.case_with_id(self._content.get('case_id'),
                               suite_id=self.run.suite.id))