コード例 #1
0
ファイル: test_RepoMetadata.py プロジェクト: mmckinst/pyum
 def test_group_listing(self):
     primary = PrimaryData(test=None)
     primary.setRepoUrl(os.path.realpath(pkg_resources.resource_filename(__name__, 'resources')))
     primary._parse(pkg_resources.resource_string(__name__, 'resources/primary.xml').decode('utf-8'))