def test_package(self): """Test whether it parses packages.""" packages = kickstart.parse_kickstart_packages(self._path) self.assertEqual(packages.packageList, [self.KICKSTART_PACKAGE])
def test_group(self): """Test whether it parses groups.""" packages = kickstart.parse_kickstart_packages(self._path) self.assertEqual(packages.groupList, [pykickstart.parser.Group(self.KICKSTART_GROUP)])