tests for mismatched args

This commit is contained in:
Alvaro Andrés Rodríguez Scelza 2019-06-13 15:04:38 -03:00
parent dbe3cd46d7
commit 238d3da42e
6 changed files with 28 additions and 0 deletions

View file

@ -14,6 +14,7 @@ class FileCheckerTemplateMethod(CheckerTemplateMethod):
self.parser.add_argument('filenames', nargs='*')
def _perform_checks(self):
super(FileCheckerTemplateMethod, self)._perform_checks()
"""For each file, check it's location."""
for self.filename in self.args.filenames:
self._check_file()