Exemplo n.º 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 = PulpAnsibleApiV3CollectionsApi(cls.client)
     cls.cv_api = ContentCollectionVersionsApi(cls.client)
Exemplo n.º 2
0
 def setUpClass(cls):
     """Create class-wide variables."""
     delete_orphans()
     cls.client = gen_ansible_client()
     cls.repo_api = RepositoriesAnsibleApi(cls.client)
     cls.repo_versions_api = RepositoriesAnsibleVersionsApi(cls.client)
     cls.remote_collection_api = RemotesCollectionApi(cls.client)
     cls.distributions_api = DistributionsAnsibleApi(cls.client)
     cls.collections_v3api = PulpAnsibleApiV3CollectionsApi(cls.client)
     cls.collections_versions_v3api = PulpAnsibleApiV3CollectionsVersionsApi(
         cls.client)
Exemplo n.º 3
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 = PulpAnsibleApiV3CollectionsApi(cls.client)
     cls.cv_api = ContentCollectionVersionsApi(cls.client)
     cls.url = "https://qa.cloud.redhat.com/api/automation-hub/"
     cls.aurl = (
         "https://sso.qa.redhat.com/auth/realms/redhat-external/protocol/openid-connect/token"
     )