new-features #5
1 changed files with 4 additions and 4 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue