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> |
||
---|---|---|
.. | ||
__init__.py | ||
test_activity_views.py | ||
test_counts.py | ||
test_fixtures.py | ||
test_stats_views.py | ||
test_support_views.py |