2025-03-13 17:45:01 +01:00
|
|
|
import pytest
|
2025-03-13 18:13:16 +01:00
|
|
|
from django.test import Client
|
|
|
|
|
2025-03-13 17:45:01 +01:00
|
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
|
|
def enable_db_access_for_all_tests(db):
|
|
|
|
pass
|
2025-03-13 18:13:16 +01:00
|
|
|
|
|
|
|
|
|
|
|
@pytest.fixture(scope="session", name="session")
|
|
|
|
def fixture_longlived_client() -> Client:
|
|
|
|
return Client()
|