From d96927ae02d4632b769ffc8ae4edbb767e78b30c Mon Sep 17 00:00:00 2001 From: Daniel Date: Thu, 30 Nov 2023 18:48:22 +0100 Subject: [PATCH] fix references --- src/tests_authentik/fixtures_authentik.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/tests_authentik/fixtures_authentik.py b/src/tests_authentik/fixtures_authentik.py index 94af38f..d4c21c8 100644 --- a/src/tests_authentik/fixtures_authentik.py +++ b/src/tests_authentik/fixtures_authentik.py @@ -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"]