mirror of
https://github.com/zulip/zulip.git
synced 2026-07-03 21:10:12 +08:00
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> |
||
|---|---|---|
| .. | ||
| actions | ||
| data_import | ||
| integration_fixtures/nagios | ||
| lib | ||
| management | ||
| migrations | ||
| openapi | ||
| tests | ||
| tornado | ||
| views | ||
| webhooks | ||
| worker | ||
| __init__.py | ||
| apps.py | ||
| context_processors.py | ||
| decorator.py | ||
| filters.py | ||
| forms.py | ||
| logging_handlers.py | ||
| middleware.py | ||
| models.py | ||
| signals.py | ||