fix references

This commit is contained in:
Daniel 2023-11-30 18:48:22 +01:00
parent 21dd190fb3
commit d96927ae02

View file

@ -16,8 +16,8 @@ def authentik_admin_context(context: BrowserContext, DIR: DirManager) -> Browser
@pytest.fixture
def authentik_admin_page(admin_context: BrowserContext, DIR: DirManager) -> Page:
page = admin_context.new_page()
def authentik_admin_page(authentik_admin_context: BrowserContext, DIR: DirManager) -> Page:
page = authentik_admin_context.new_page()
env_file = DIR.ENV_FILES / "authentik"
config: dict[str, str] = dotenv_values(env_file) # type: ignore
url = "https://" + config["DOMAIN"]
@ -34,8 +34,8 @@ def authentik_user_context(context: BrowserContext, DIR: DirManager) -> BrowserC
@pytest.fixture
def authentik_user_page(user_context: BrowserContext, DIR: DirManager) -> Page:
page = user_context.new_page()
def authentik_user_page(authentik_user_context: BrowserContext, DIR: DirManager) -> Page:
page = authentik_user_context.new_page()
env_file = DIR.ENV_FILES / "authentik"
config: dict[str, str] = dotenv_values(env_file) # type: ignore
url = "https://" + config["DOMAIN"]