Files
zulip/tools/linter_lib/custom_check.py
akshatdalton 2e4a333133 custom_check: Detect incorrect use of assertTrue.
This commit adds a check to avoid the use of assertTrue
for cases like: assertTrue(len(data) == 2).
We should use assert_length, assertGreater, or
assertGreaterEqual, whatever suits, in cases like these.
2021-07-13 13:03:38 -07:00

37 KiB