tools: Fix linter tests after SCSS rename.

This was introduced in 815388b023.
This commit is contained in:
Tim Abbott 2018-12-04 09:43:34 -08:00
parent fc4b6d8f5e
commit 86536059b4
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ class TestCustomRules(TestCase):
def setUp(self) -> None:
self.all_rules = [] # type: List[Dict[str, Any]]
with patch('tools.linter_lib.custom_check.custom_check_file', return_value=False) as mock_custom_check_file:
by_lang = dict.fromkeys(['py', 'js', 'sh', 'css', 'handlebars', 'html',
by_lang = dict.fromkeys(['py', 'js', 'sh', 'scss', 'handlebars', 'html',
'json', 'md', 'txt', 'text', 'yaml', 'rst'],
['foo/bar.baz'])
check_custom_checks_py, check_custom_checks_nonpy = build_custom_checkers(by_lang)