Skip to content

Commit

Permalink
Some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arturo-seijas committed Feb 9, 2024
1 parent f85040e commit 2757fbf
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,6 +827,11 @@ async def oathkeeper_application_related_fixture(
channel="edge",
trust=True,
)
identity_platform = await application.model.deploy(
"identity-platform",
channel="edge",
trust=True,
)
await application.model.wait_for_idle(
status="active",
apps=[oathkeeper.name, self_signed_certificates.name],
Expand Down Expand Up @@ -855,4 +860,19 @@ async def oathkeeper_application_related_fixture(
idle_period=30,
raise_on_error=False,
)
print(identity_platform)
return oathkeeper




@pytest.fixture()
def external_user_email() -> str:
"""Username for testing proxy authentication."""
return "[email protected]"


@pytest.fixture()
def external_user_password() -> str:
"""Password for testing proxy authentication."""
return secrets.token_hex()

0 comments on commit 2757fbf

Please sign in to comment.