Tests: Rules: Remove unused `line` and `column` args

Now that every test case use the `problem=(x, y)` syntax.
pull/4/head
Adrien Vergé 9 years ago
parent d617eb70ae
commit effb4db3b4

@ -33,7 +33,7 @@ class RuleTestCase(unittest.TestCase):
'rules': conf}
return parse_config(yaml.safe_dump(conf))
def check(self, source, conf, line=None, column=None, **kwargs):
def check(self, source, conf, **kwargs):
expected_problems = []
for key in kwargs:
assert key.startswith('problem')

Loading…
Cancel
Save