def test_process_files_with_config(self): config = {'shell': 'bash', 'exclude': 'SC2154,SC2069'} tool = Shellcheck(self.problems, config) tool.process_files([self.fixtures[1]]) problems = self.problems.all(self.fixtures[1]) eq_(2, len(problems), 'Changing standards changes error counts')
def setUp(self): self.problems = Problems() self.tool = Shellcheck(self.problems, {}, root_dir)
def setUp(self): self.problems = Problems() self.tool = Shellcheck(self.problems)