Skip to content

Commit

Permalink
Refactor settings structure
Browse files Browse the repository at this point in the history
- Better reflects currect structure of the project and components
  • Loading branch information
pehala committed Nov 8, 2023
1 parent f0676b2 commit b2fd870
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def cert_attributes_other(cert_attributes) -> Dict[str, str]:
}


@pytest.fixture(scope="session")
@pytest.fixture(scope="module")
def certificates(cfssl, authorino_domain, wildcard_domain, cert_attributes, cert_attributes_other):
"""
Certificate hierarchy used for the tests
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def specific_authorino_name(blame):
return blame("authorino")


@pytest.fixture(scope="session")
@pytest.fixture(scope="module")
def authorino_domain(openshift, specific_authorino_name):
"""
Hostname of the upstream certificate sent to be validated by APIcast
Expand All @@ -40,7 +40,7 @@ def authorino_domain(openshift, specific_authorino_name):
return f"{specific_authorino_name}-authorino-authorization.{openshift.project}.svc"


@pytest.fixture(scope="session")
@pytest.fixture(scope="module")
def certificates(cfssl, authorino_domain, wildcard_domain):
"""Certificate hierarchy used for the tests.
Authorino certificate has *hosts* set to *authorino_domain* value.
Expand Down

0 comments on commit b2fd870

Please sign in to comment.