mirror of https://github.com/zulip/zulip.git
426f8ce385
Since `HttpResponse` is an inaccurate representation of the monkey-patched response object returned by the Django test client, we replace it with `_MonkeyPatchedWSGIResponse` as `TestHttpResponse`. This replaces `HttpResponse` in zerver/tests, analytics/tests, coporate/tests, zerver/lib/test_classes.py, and zerver/lib/test_helpers.py with `TestHttpResponse`. Several files in zerver/tests are excluded from this substitution. This commit is auto-generated by a script, with manual adjustments on certain files squashed into it. This is a part of the django-stubs refactorings. Signed-off-by: Zixuan James Li <p359101898@gmail.com> |
||
---|---|---|
.. | ||
lib | ||
management | ||
migrations | ||
tests | ||
views | ||
__init__.py | ||
models.py | ||
urls.py |