mirror of
https://github.com/adrienverge/yamllint.git
synced 2025-02-25 18:55:20 -06:00
Tests: Rules: Remove unused line
and column
args
Now that every test case use the `problem=(x, y)` syntax.
This commit is contained in:
parent
d617eb70ae
commit
effb4db3b4
@ -33,7 +33,7 @@ class RuleTestCase(unittest.TestCase):
|
|||||||
'rules': conf}
|
'rules': conf}
|
||||||
return parse_config(yaml.safe_dump(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 = []
|
expected_problems = []
|
||||||
for key in kwargs:
|
for key in kwargs:
|
||||||
assert key.startswith('problem')
|
assert key.startswith('problem')
|
||||||
|
Loading…
Reference in New Issue
Block a user