mirror of https://github.com/zulip/zulip.git
41e6704b99
The pattern test method `test_rule_patterns` tests each rule by fetching two strings from it: `test_good` and `test_bad`. Each string is then presented as an input file to `custom_check_file`, which should return True or False. All lines in a string need to end with `\n`. Since the linter expects an additional newline at the end of a file, the test case adds `\n` to each string on top of that. Fixes #6320. |
||
---|---|---|
.. | ||
test_template_data | ||
__init__.py | ||
test_capitalization_checker.py | ||
test_css_parser.py | ||
test_html_branches.py | ||
test_linter_custom_check.py | ||
test_pretty_print.py | ||
test_template_parser.py |