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