@classmethod<EOL><INDENT>def add_linter_check(cls, linter_name, extension):<DEDENT>
def test_linter(self):<EOL><INDENT>self.assert_linter_works(linter_name, extension)<EOL><DEDENT>test_linter.__name__ = '<STR_LIT>' % (linter_name,<EOL>extension[<NUM_LIT:1>:])<EOL>setattr(cls, test_linter.__name__, test_linter)<EOL>
Adds a test for the given linter and extension.