Exemple #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.cv_api = ContentCollectionVersionsApi(cls.client)
Exemple #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"
     )
Exemple #3
0
 def ansible_collection_version_api_client(ansible_bindings_client):
     """Provides the Ansible Content Collection Version API client object."""
     return ContentCollectionVersionsApi(ansible_bindings_client)
Exemple #4
0
 def setUpClass(cls):
     """Create class-wide variables."""
     delete_orphans()
     cls.client = gen_ansible_client()
     cls.collections_api = AnsibleCollectionsApi(cls.client)
     cls.content_api = ContentCollectionVersionsApi(cls.client)
 def setUpClass(cls):
     """Create class-wide variable."""
     delete_orphans()
     cls.content_unit = {}
     cls.cv_content_api = ContentCollectionVersionsApi(gen_ansible_client())