zulip/analytics/tests
PIG208 495a8476be tests: Use assertion to enforce None-checks in tests.
This fixes a batch of mypy errors of the following format:
'Item "None" of "Optional[Something]" has no attribute "abc"

Since we have already been recklessly using these attritbutes
in the tests, adding assertions beforehand is justified presuming
that they oughtn't to be None.
2021-07-24 09:54:21 -07:00
..
__init__.py Add a new statistics/analytics framework. 2016-10-04 17:18:54 -07:00
test_activity_views.py analytics: Split test_views.py. 2021-06-17 17:39:28 -07:00
test_counts.py tests: Use assertion to enforce None-checks in tests. 2021-07-24 09:54:21 -07:00
test_fixtures.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_stats_views.py analytics: Extract analytics/views/stats.py. 2021-06-17 17:39:28 -07:00
test_support_views.py python: Fix mypy no_implicit_reexport errors. 2021-07-16 14:02:31 -07:00