def test_invalid_use_flags_linter_package_use(self): '''linter: invalid_use_flags—package.use''' result = invalid_use_flags_linter('/etc/portage/package.use', self.contents) self.assertEqual(self.contents, result)
def test_invalid_use_flags_linter(self): '''linter: invalid_use_flags''' result = invalid_use_flags_linter('/tmp/pclean.test', self.contents) self.assertEqual(self.contents, result)