zulip/zerver
Prakhar Pratyush 507d9c3281 test_zulip_update_announcement: Remove global announcements list used.
Earlier, we were using 'test_zulip_update_announcements' global
list in 'ZulipUpdateAnnouncementsTest' tests and extending
that list within tests.

The previous behaviour can lead to flaky tests depending on the
order in which individual tests are run.

This commit replaces the global list with an instance variable
'zulip_update_announcements' declared in setUp(). It resets the
variable to an initial value before executing each tests making
it independent of the order of tests execution.
2024-04-11 16:13:42 -07:00
..
actions scim: Add config option to disable initial streams for guests. 2024-04-11 12:28:26 -07:00
data_import refactor: Replace HUDDLE with DIRECT_MESSAGE_GROUP. 2024-03-21 16:39:33 -07:00
integration_fixtures/nagios
lib scim: Add config option to disable initial streams for guests. 2024-04-11 12:28:26 -07:00
management slack import: Refer the archive file as a file or dir. 2024-04-11 12:05:56 -07:00
migrations migrations: Match dependencies from 8.x branch. 2024-04-03 09:16:33 -07:00
models message-type: Add support for "channel" as value for type parameter. 2024-04-11 09:40:25 -07:00
openapi message-type: Add support for "channel" as value for type parameter. 2024-04-11 09:40:25 -07:00
tests test_zulip_update_announcement: Remove global announcements list used. 2024-04-11 16:13:42 -07:00
tornado ruff: Fix UP033 Use `@functools.cache`. 2024-04-01 18:32:52 -07:00
transaction_tests ruff: Fix PLW0108 Lambda may be unnecessary. 2024-03-01 09:30:04 -08:00
views message-type: Add support for "channel" as value for type parameter. 2024-04-11 09:40:25 -07:00
webhooks integration: Split 'opened_or_update_pull_request' event type. 2024-04-11 11:23:08 -07:00
worker ruff: Fix UP041 Replace aliased errors with `TimeoutError`. 2024-04-01 18:32:52 -07:00
__init__.py
apps.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
context_processors.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
decorator.py test_decorators: Replace some deleted tests. 2024-03-29 09:39:34 -07:00
filters.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
forms.py settings: Add permission to enforce unique names in realm. 2024-04-02 14:55:59 -07:00
logging_handlers.py error_notify: Remove custom email error reporting handler. 2023-07-20 11:00:09 -07:00
middleware.py parse_client: Migrate has_request_variables to typed_endpoint. 2024-03-12 13:27:21 -07:00
signals.py ruff: Fix UP036 Version block is outdated for minimum Python version. 2024-04-01 18:32:52 -07:00