def test_default_use_flags_linter_package_use(self):
        '''linter: default_use_flags—package.use'''

        expected = [
                ( 'app-portage/layman', [ 'subversion', 'bazaar' ] ),
                ( 'sys-kernel/upkern', [ 'module-rebuild' ] ),
                ( 'net-print/cups', [] ),
                ( '=media-libs/harfbuzz-0.9.18-r1', [] ),
                ( '=dev-db/mysql-5.5.32', [] ),
                ]

        result = default_use_flags_linter('/etc/portage/package.use', self.contents)

        self.assertEqual(expected, result)
    def test_default_use_flags_linter(self):
        '''linter: default_use_flags'''

        result = default_use_flags_linter('/tmp/pclean.test', self.contents)

        self.assertEqual(self.contents, result)