rename all setups and cleanups to test_ for stable test discovery

This commit is contained in:
Daniel 2023-12-15 16:06:43 +01:00
parent 33a9cca5aa
commit 3839e1e9b1
6 changed files with 8 additions and 7 deletions

View file

@ -10,7 +10,7 @@ from pytest_abra import BaseUrl, DirManager
# https://files.test.dev.local-it.cloud/apps/files/
def setup_nextcloud_admin_session(authentik_admin_page: Page, DIR: DirManager, URL: BaseUrl):
def test_setup_nextcloud_admin_session(authentik_admin_page: Page, DIR: DirManager, URL: BaseUrl):
"""visit nextcloud from authentik with admin_session to create wordpress_admin_session"""
with authentik_admin_page.expect_popup() as event_context:
authentik_admin_page.get_by_role("link", name="Nextcloud").click()