zulip/analytics/tests
Alex Vandiver 36da7783ce invites: _max_invites is currently never None.
dc1eeef30a made the column nullable, with the meaning for null of
"use the current `settings.INVITES_DEFAULT_REALM_DAILY_MAX`."
However, 8a95526ced switched to calling `do_change_plan_type` during
realm creation, which sets `realm.max_invites` based on the plan type,
thus ensuring that no new realms have their `_max_invites` set to
null.

Check `max_invites` instead of `_max_invites`.  This requires test
adjustments for the fact that `apply_invite_realm_heuristics` is now
run.
2023-03-07 15:04:39 -08:00
..
__init__.py
test_activity_views.py analytics-activity: Remove link with realm owners emails. 2022-12-02 17:30:30 -08:00
test_counts.py invites: _max_invites is currently never None. 2023-03-07 15:04:39 -08:00
test_fixtures.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_stats_views.py private-messages: Update translated backend strings use "direct message". 2023-02-24 11:47:26 -08:00
test_support_views.py test_helpers: Rename reset_emails_in_zulip_realm. 2023-03-01 12:17:11 -08:00