third_party/blink/tools/blinkpy/style/checker_unittest.py
def assert_checker(self, file_path, expected_class):
        """Assert the type of the dispatched checker."""
        checker = self.dispatch(file_path)
        got_class = checker.__class__
        self.assertEqual(
            got_class, expected_class,
            'For path "%(file_path)s" got %(got_class)s when '
            "expecting %(expected_class)s." % {
                "file_path": file_path,
                "got_class": got_class,
                "expected_class": expected_class
            })
Assert the type of the dispatched checker.
Assert the type of the dispatched checker.
Assert the type of the dispatched checker .
def assert_checker(self, file_path, expected_class):
        checker = self.dispatch(file_path)
        got_class = checker.__class__
        self.assertEqual(
            got_class, expected_class,
            'For path "%(file_path)s" got %(got_class)s when '
            "expecting %(expected_class)s." % {
                "file_path": file_path,
                "got_class": got_class,
                "expected_class": expected_class
            })
def assert_checker ( self , file_path , expected_class ) : checker = self . dispatch ( file_path ) got_class = checker . __class__ self . assertEqual ( got_class , expected_class , 'For path "%(file_path)s" got %(got_class)s when ' "expecting %(expected_class)s." % { "file_path" : file_path , "got_class" : got_class , "expected_class" : expected_class } )
Assert the type of the dispatched checker.
Assert the type of the dispatched checker .
"""Assert the type of the dispatched checker."""
self
file_path
expected_class