mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Merge pull request #2794 from alphagov/provider-ratios
Update provider splits
This commit is contained in:
@@ -140,8 +140,8 @@ class Config(object):
|
||||
|
||||
# these should always add up to 100%
|
||||
SMS_PROVIDER_RESTING_POINTS = {
|
||||
'mmg': 60,
|
||||
'firetext': 40
|
||||
'mmg': 70,
|
||||
'firetext': 30
|
||||
}
|
||||
|
||||
NOTIFY_SERVICE_ID = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'
|
||||
|
||||
@@ -22,6 +22,13 @@ from tests.app.db import (
|
||||
create_service,
|
||||
create_template,
|
||||
)
|
||||
from tests.conftest import set_config
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def set_provider_resting_points(notify_api):
|
||||
with set_config(notify_api, 'SMS_PROVIDER_RESTING_POINTS', {'mmg': 60, 'firetext': 40}):
|
||||
yield
|
||||
|
||||
|
||||
def set_primary_sms_provider(identifier):
|
||||
|
||||
Reference in New Issue
Block a user