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)
def setUpClass(cls): """Create class-wide variables.""" cls.AH_token = "AUTOMATION_HUB_TOKEN_AUTH" in os.environ cls.GH_token = "GITHUB_API_KEY" in os.environ cls.client = gen_ansible_client() cls.repo_api = RepositoriesAnsibleApi(cls.client) cls.remote_collection_api = RemotesCollectionApi(cls.client) cls.distributions_api = DistributionsAnsibleApi(cls.client)
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.remote_role_api = RemotesRoleApi(cls.client) cls.distributions_api = DistributionsAnsibleApi(cls.client) cls.cv_api = ContentCollectionVersionsApi(cls.client) cls.collections_v3api = PulpAnsibleApiV3CollectionsApi(cls.client) cls.collections_versions_v3api = PulpAnsibleApiV3CollectionsVersionsApi(cls.client)
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" )
def ansible_repo_api_client(ansible_bindings_client): """Provides the Ansible Repository API client object.""" return RepositoriesAnsibleApi(ansible_bindings_client)
def setUpClass(cls): """Create class-wide variables.""" cls.client = gen_ansible_client() cls.repo_api = RepositoriesAnsibleApi(cls.client) cls.remote_role_api = RemotesRoleApi(cls.client) cls.distributions_api = DistributionsAnsibleApi(cls.client)