Пример #1
0
 def test_info(self):
     pkg = repoquery.PackageWrapper(PkgStub())
     self.assertEqual(repoquery.info_format(pkg), EXPECTED_INFO_FORMAT)
Пример #2
0
 def test_filelist(self):
     pkg = repoquery.PackageWrapper(PkgStub())
     self.assertEqual(repoquery.filelist_format(pkg),
                      EXPECTED_FILELIST_FORMAT)
Пример #3
0
 def test_info(self):
     pkg = repoquery.PackageWrapper(PkgStub())
     self.assertEqual(repoquery.sourcerpm_format(pkg),
                      EXPECTED_SOURCERPM_FORMAT)