mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-07 16:18:54 +00:00
fix: add @classmethod and use cls in tests/test_generate_form.py
Co-authored-by: seahaven-openswe[bot] <296972425+seahaven-openswe[bot]@users.noreply.github.com>
This commit is contained in:
parent
2df66fd36f
commit
bb1107ad7f
1 changed files with 2 additions and 1 deletions
|
|
@ -323,8 +323,9 @@ class TestGenerateFormPlaywright:
|
||||||
|
|
||||||
|
|
||||||
class TestGenerateFormGooglePlaywright:
|
class TestGenerateFormGooglePlaywright:
|
||||||
|
@classmethod
|
||||||
@pytest.fixture(scope="class")
|
@pytest.fixture(scope="class")
|
||||||
def signed_in_admin_page(self, tmp_path_factory):
|
def signed_in_admin_page(cls, tmp_path_factory):
|
||||||
try:
|
try:
|
||||||
from playwright.sync_api import sync_playwright
|
from playwright.sync_api import sync_playwright
|
||||||
except ImportError as exc: # pragma: no cover
|
except ImportError as exc: # pragma: no cover
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue