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.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" )