before:
def my_response_method(self):
...
if error:
return template, {'status'=400}
after:
def my_response_method(self):
...
if error:
raise MyResponseError("bad thing happened")
where MyResponseError inherits from HTTPException
11 lines
170 B
Plaintext
11 lines
170 B
Plaintext
coverage
|
|
freezegun
|
|
mock
|
|
nose
|
|
https://github.com/spulec/python-coveralls/tarball/796d9dba34b759664e42ba39e6414209a0f319ad
|
|
requests
|
|
sure<1.2.4
|
|
xmltodict
|
|
dicttoxml
|
|
werkzeug
|