def test_info(self): pkg = repoquery.PackageWrapper(PkgStub()) self.assertEqual(repoquery.info_format(pkg), EXPECTED_INFO_FORMAT)
def test_filelist(self): pkg = repoquery.PackageWrapper(PkgStub()) self.assertEqual(repoquery.filelist_format(pkg), EXPECTED_FILELIST_FORMAT)
def test_info(self): pkg = repoquery.PackageWrapper(PkgStub()) self.assertEqual(repoquery.sourcerpm_format(pkg), EXPECTED_SOURCERPM_FORMAT)