"""Shared conftest for all benchmark tests.""" import pytest from reflex.testing import AppHarness, AppHarnessProd @pytest.fixture( scope="session", params=[AppHarness, AppHarnessProd], ids=["dev", "prod"] ) def app_harness_env(request): """Parametrize the AppHarness class to use for the test, either dev or prod. Args: request: The pytest fixture request object. Returns: The AppHarness class to use for the test. """ return request.param