chrome/browser/resources/chromeos/semantic_css_checker_test.py
def testExcludedFiles(self):
    """ Only .html and .css files should be processed. """
    mock_input_api = MockInputApi()
    lines =  [
      'color: var(--google-grey-500);',
    ];
    mock_input_api.files = [
      MockAffectedFile('chrome/test.js',
                       lines),
    ]

    mock_output_api = MockOutputApi()

    errors = SemanticCssChecker.RunChecks(
        mock_input_api, mock_output_api)
    self.assertEqual(0, len(errors))
 Only .html and .css files should be processed. 
Only .html and .css files should be processed.
Only . html and . css files should be processed .
def testExcludedFiles(self):
    mock_input_api = MockInputApi()
    lines =  [
      'color: var(--google-grey-500);',
    ];
    mock_input_api.files = [
      MockAffectedFile('chrome/test.js',
                       lines),
    ]
    mock_output_api = MockOutputApi()
    errors = SemanticCssChecker.RunChecks(
        mock_input_api, mock_output_api)
    self.assertEqual(0, len(errors))
def testExcludedFiles ( self ) : mock_input_api = MockInputApi ( ) lines = [ 'color: var(--google-grey-500);' , ] ; mock_input_api . files = [ MockAffectedFile ( 'chrome/test.js' , lines ) , ] mock_output_api = MockOutputApi ( ) errors = SemanticCssChecker . RunChecks ( mock_input_api , mock_output_api ) self . assertEqual ( 0 , len ( errors ) )
Only .html and .css files should be processed.
Only . html and . css files should be processed .
""" Only .html and .css files should be processed. """
self