more session scope client fuzz

This commit is contained in:
Kenneth Kehl
2025-09-11 10:09:47 -07:00
parent a3aabca962
commit 8d9e351e47
2 changed files with 2 additions and 2 deletions

View File

@@ -252,7 +252,7 @@ def _sample_service_full_permissions(notify_db_session):
return service
@pytest.fixture(scope="function")
@pytest.fixture(scope="session")
def sample_template(sample_user):
service = create_service(
service_permissions=[ServicePermissionType.EMAIL, ServicePermissionType.SMS],

View File

@@ -83,7 +83,7 @@ def sms_providers(_notify_db):
# get_provider_details_by_identifier("sns").priority = 100
@pytest.fixture(scope="function")
@pytest.fixture(scope="session")
def notify_db_session(_notify_db, sms_providers):
"""
This fixture clears down all non static data after your test run. It yields the sqlalchemy session variable