zulip/corporate
Zixuan James Li 426f8ce385 tests: Replace `HttpResponse` with `TestHttpResponse.`
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>
2022-06-08 11:25:03 -07:00
..
lib typing: Add none-checks for db queries. 2022-05-31 09:43:55 -07:00
management billing: Do subscription management in-house instead of with Stripe Billing. 2018-12-22 13:39:30 -08:00
migrations corporate/models: Modify Customer to accommodate self-hosted customers. 2021-11-30 15:20:33 -08:00
tests tests: Replace `HttpResponse` with `TestHttpResponse.` 2022-06-08 11:25:03 -07:00
views django: Use HttpRequest.headers. 2022-05-13 20:42:20 -07:00
__init__.py
models.py pricing: Replace "Zulip Standard" with "Zulip Cloud Standard". 2022-02-09 11:00:24 -08:00
urls.py billing: Migrate to Stripe hosted checkout page. 2021-11-05 17:23:10 -07:00