mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-23 07:46:06 -04:00
more session scope client fuzz
This commit is contained in:
@@ -252,7 +252,7 @@ def _sample_service_full_permissions(notify_db_session):
|
|||||||
return service
|
return service
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="session")
|
||||||
def sample_template(sample_user):
|
def sample_template(sample_user):
|
||||||
service = create_service(
|
service = create_service(
|
||||||
service_permissions=[ServicePermissionType.EMAIL, ServicePermissionType.SMS],
|
service_permissions=[ServicePermissionType.EMAIL, ServicePermissionType.SMS],
|
||||||
|
|||||||
@@ -83,7 +83,7 @@ def sms_providers(_notify_db):
|
|||||||
# get_provider_details_by_identifier("sns").priority = 100
|
# get_provider_details_by_identifier("sns").priority = 100
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="function")
|
@pytest.fixture(scope="session")
|
||||||
def notify_db_session(_notify_db, sms_providers):
|
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
|
This fixture clears down all non static data after your test run. It yields the sqlalchemy session variable
|
||||||
|
|||||||
Reference in New Issue
Block a user