mirror of
https://github.com/zulip/zulip.git
synced 2025-11-18 21:48:30 +00:00
validators: Split out test_validators.
This commit is contained in:
committed by
Tim Abbott
parent
fe39f28497
commit
c9a299a8f8
@@ -272,8 +272,8 @@ python_rules = RuleList(
|
||||
"good_lines": ["assert_length(data, 2)"],
|
||||
"bad_lines": ["assertEqual(len(data), 2)"],
|
||||
"exclude_line": {
|
||||
("zerver/tests/test_decorators.py", "self.assertEqual(len(x), 2)"),
|
||||
("zerver/tests/test_decorators.py", 'self.assertEqual(len(x["b"]), 3)'),
|
||||
("zerver/tests/test_validators.py", "self.assertEqual(len(x), 2)"),
|
||||
("zerver/tests/test_validators.py", 'self.assertEqual(len(x["b"]), 3)'),
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user