Skip to content

Commit

Permalink
Merge pull request #250 from ficap/gcp
Browse files Browse the repository at this point in the history
Add GCP DNS provider test
  • Loading branch information
pehala authored Oct 31, 2023
2 parents 4a7b314 + eb00993 commit 4fb6a43
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions testsuite/tests/mgc/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,11 +102,13 @@ def gateway(upstream_gateway, spokes, hub_policies_commit):
return gw


@pytest.fixture(scope="module")
def base_domain(openshift):
@pytest.fixture(scope="module", params=["aws-mz", "gcp-mz"])
def base_domain(request, openshift):
"""Returns preconfigured base domain"""
mz_name = request.param

with openshift.context:
zone = selector("managedzone/mgc-dev-mz").object()
zone = selector(f"managedzone/{mz_name}").object()
return zone.model["spec"]["domainName"]


Expand Down

0 comments on commit 4fb6a43

Please sign in to comment.