Skip to content

Commit

Permalink
fix: remove unnecessary member check
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Oct 31, 2020
1 parent 3718b1f commit 007b9cf
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/yamllint_plugin_example/tests/plugins_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@


class PluginTestCase(RuleTestCase):
rule_id = None

def check(self, source, conf, **kwargs):
if not self.rule_id:
return

with mock.patch.dict(yamllint.rules._EXTERNAL_RULES, PLUGIN_RULES):
super(PluginTestCase, self).check(source, conf, **kwargs)

0 comments on commit 007b9cf

Please sign in to comment.