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'))