revert change in fixture scoping

This commit is contained in:
Kenneth Kehl
2025-09-11 10:22:55 -07:00
parent 8d9e351e47
commit 531e9ad7ba
3 changed files with 39 additions and 32 deletions

View File

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