zulip/zerver
Lauryn Menard 7b225245c0 tests: Update ZulipTestCase.tearDown to remove local uploads.
Previously, tests that exercised code paths that added local
uploads did not always clean up `settings.LOCAL_UPLOADS_DIR`
after the test was complete.

Updates the `ZulipTestCase` class to remove any local uploads
in the unique `settings.LOCAL_UPLOADS_DIR` in `tearDown` for
all tests.
2023-03-28 14:38:06 -07:00
..
actions registration: Remove redundant code. 2023-03-27 15:44:42 -07:00
data_import upload: Rename upload_message_file to use word "attachment". 2023-03-02 16:36:19 -08:00
integration_fixtures/nagios tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
lib tests: Update ZulipTestCase.tearDown to remove local uploads. 2023-03-28 14:38:06 -07:00
management web: Save a 301 redirect from /terms/ to /policies/terms. 2023-03-24 14:51:01 -07:00
migrations migrations: Fix comment in 0403. 2023-03-28 14:26:22 -07:00
openapi user_groups: Add "Nobody" system user group. 2023-03-28 14:26:22 -07:00
tests tests: Update ZulipTestCase.tearDown to remove local uploads. 2023-03-28 14:38:06 -07:00
tornado tornado: Replace dataclasses.asdict() call, as it is slow. 2023-02-23 11:01:38 -08:00
views registration: Use get_realm_create_form_context for register.html. 2023-03-27 15:44:42 -07:00
webhooks integration: Modify branch names for Bitbucket 2 events. 2023-03-27 10:09:25 -07:00
worker deferred_work: Log at start of the work. 2023-02-09 12:06:38 -08:00
__init__.py django: Upgrade Zulip to Django 3.2 LTS. 2021-05-03 08:36:22 -07:00
apps.py sentry: Initialize sentry in AppConfig ready hook. 2022-09-26 12:42:36 -07:00
context_processors.py templates: Add realm information fields in create_realm.html. 2023-03-27 15:44:42 -07:00
decorator.py request-notes: Add is_webhook_view boolean to fields. 2023-03-06 10:33:13 -08:00
filters.py typing: Fix function signatures. 2021-08-20 05:54:19 -07:00
forms.py forms: Use RealmDetailsForm as subclass for RegistrationForm. 2023-03-27 15:44:42 -07:00
logging_handlers.py python: Use Python 3.8 typing.{Protocol,TypedDict}. 2022-04-27 12:57:49 -07:00
middleware.py ruff: Fix PIE810 Call startswith once with a tuple. 2023-02-08 16:40:35 -08:00
models.py user_groups: Add "Nobody" system user group. 2023-03-28 14:26:22 -07:00
signals.py requirements: Upgrade to Django 4.0. 2022-07-13 16:07:17 -07:00