python-hospital/hospital

hospital-wsgi: TypeError: addSkip() takes exactly 2 arguments (3 given)

benoitbryon opened this issue · 1 comments

If healthchecks use unittest's "skip" feature and healthchecks are served using WSGI, then we get a Python exception like TypeError: addSkip() takes exactly 2 arguments (3 given).

The reason is:

=> hospital.wsgi.TestResult.addSkip() must require both test and reason arguments.