From bb1107ad7fd2ac8444446dbd93bfd55b4eec95c6 Mon Sep 17 00:00:00 2001 From: Adam Moussa <166072409+amoussa1229@users.noreply.github.com> Date: Thu, 30 Jul 2026 20:12:56 -0400 Subject: [PATCH] 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> --- tests/test_generate_form.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/test_generate_form.py b/tests/test_generate_form.py index 5927357..9f85352 100644 --- a/tests/test_generate_form.py +++ b/tests/test_generate_form.py @@ -323,8 +323,9 @@ class TestGenerateFormPlaywright: class TestGenerateFormGooglePlaywright: + @classmethod @pytest.fixture(scope="class") - def signed_in_admin_page(self, tmp_path_factory): + def signed_in_admin_page(cls, tmp_path_factory): try: from playwright.sync_api import sync_playwright except ImportError as exc: # pragma: no cover