示例#1
0
 def setUpClass(cls):
     """Create class-wide variables."""
     cls.client = gen_ansible_client()
     cls.repo_api = RepositoriesAnsibleApi(cls.client)
     cls.remote_collection_api = RemotesCollectionApi(cls.client)
     cls.distributions_api = DistributionsAnsibleApi(cls.client)
     cls.collections_api = PulpAnsibleGalaxyApiCollectionsApi(cls.client)
示例#2
0
 def setUpClass(cls):
     """Create class-wide variables."""
     cls.client = gen_ansible_client()
     cls.repo_api = RepositoriesAnsibleApi(cls.client)
     cls.remote_collection_api = RemotesCollectionApi(cls.client)
     cls.distributions_api = DistributionsAnsibleApi(cls.client)
     cls.collections_api = PulpAnsibleGalaxyApiCollectionsApi(cls.client)
     cls.cv_api = ContentCollectionVersionsApi(cls.client)
     cls.aurl = (
         "https://sso.qa.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token"
     )