Lines Matching refs:subtest
104 def failure_report(self, name, subtest=None): argument
118 self.add_failures(name, subtest=subtest)
120 self.remove_failures(name, subtest=subtest)
123 def failure_report_decorator(cls, name, subtest=None): argument
161 with instance.failure_report(name, subtest):
169 def add_failures(self, name, subtest=None): argument
178 target = self._get_failure(name, subtest=subtest)
183 'description': self._get_failure_description(name, subtest),
192 def remove_failures(self, name, subtest=None): argument
201 target = self._get_failure(name, subtest=subtest)
248 def _get_failure_description(self, name, subtest): argument
249 return subtest or name
251 def _get_failure(self, name, subtest): argument
253 description = self._get_failure_description(name, subtest=subtest)