fix references
This commit is contained in:
parent
21dd190fb3
commit
d96927ae02
1 changed files with 4 additions and 4 deletions
|
|
@ -16,8 +16,8 @@ def authentik_admin_context(context: BrowserContext, DIR: DirManager) -> Browser
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def authentik_admin_page(admin_context: BrowserContext, DIR: DirManager) -> Page:
|
def authentik_admin_page(authentik_admin_context: BrowserContext, DIR: DirManager) -> Page:
|
||||||
page = admin_context.new_page()
|
page = authentik_admin_context.new_page()
|
||||||
env_file = DIR.ENV_FILES / "authentik"
|
env_file = DIR.ENV_FILES / "authentik"
|
||||||
config: dict[str, str] = dotenv_values(env_file) # type: ignore
|
config: dict[str, str] = dotenv_values(env_file) # type: ignore
|
||||||
url = "https://" + config["DOMAIN"]
|
url = "https://" + config["DOMAIN"]
|
||||||
|
|
@ -34,8 +34,8 @@ def authentik_user_context(context: BrowserContext, DIR: DirManager) -> BrowserC
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture
|
@pytest.fixture
|
||||||
def authentik_user_page(user_context: BrowserContext, DIR: DirManager) -> Page:
|
def authentik_user_page(authentik_user_context: BrowserContext, DIR: DirManager) -> Page:
|
||||||
page = user_context.new_page()
|
page = authentik_user_context.new_page()
|
||||||
env_file = DIR.ENV_FILES / "authentik"
|
env_file = DIR.ENV_FILES / "authentik"
|
||||||
config: dict[str, str] = dotenv_values(env_file) # type: ignore
|
config: dict[str, str] = dotenv_values(env_file) # type: ignore
|
||||||
url = "https://" + config["DOMAIN"]
|
url = "https://" + config["DOMAIN"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue