Cause the test to fail.
(self, condition=True, function=None, skip=0)
| 298 | self.description = description |
| 299 | |
| 300 | def fail_test(self, condition=True, function=None, skip=0): |
| 301 | """Cause the test to fail.""" |
| 302 | if not condition: |
| 303 | return |
| 304 | self.condition = 'fail_test' |
| 305 | fail_test(self = self, |
| 306 | condition = condition, |
| 307 | function = function, |
| 308 | skip = skip) |
| 309 | |
| 310 | def match(self, lines, matches): |
| 311 | """Compare actual and expected file contents.""" |
no test coverage detected