zulip/zilencer/management/commands
Prakhar Pratyush 5a95ae3650 populate_db: Set user_topic policies to NEVER only for test-database.
Earlier, the 'automatically_follow_topics_policy' and
'automatically_unmute_topics_in_muted_streams_policy' were set
to 'NEVER' for both the test and dev databases.

This commit fixes the incorrect behavior.

Now, we set it to 'NEVER' only for the test-database.

We need the actual default value in our dev database.
We explicitly set it to NEVER for test-database as it skews other
tests by generating extra events and db queries. We have separate
tests with different values to test the intended behavior related
to these settings.

The bug was introduced in 58568a6.
2023-10-25 02:21:03 +00:00
..
__init__.py
add_mock_conversation.py send_message: Add an optional parameter in the success response. 2023-10-17 15:38:16 -07:00
calculate_first_visible_message_id.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
compare_messages.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
downgrade_small_realms_behind_on_payments.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
invoice_plans.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
mark_all_messages_unread.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
populate_db.py populate_db: Set user_topic policies to NEVER only for test-database. 2023-10-25 02:21:03 +00:00
print_initial_password.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
profile_request.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
queue_rate.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
render_messages.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
rundjangoserver.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
switch_realm_from_standard_to_plus_plan.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
sync_api_key.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00