zulip/analytics/tests
Mateusz Mandera 0caf815e36 do_activate_mirror_dummy_user: Assert user_profile is a mirror dummy.
If this is called on a user without is_mirror_dummy=True, that seems
certain to be a bug. Therefore, an assert is preferable in order to
catch this, rather than returning early with noop like some other
function such as do_deactivate_user.
2025-01-28 09:38:56 -08:00
..
__init__.py Add a new statistics/analytics framework. 2016-10-04 17:18:54 -07:00
test_counts.py do_activate_mirror_dummy_user: Assert user_profile is a mirror dummy. 2025-01-28 09:38:56 -08:00
test_fixtures.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_stats_views.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00