mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -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%
|
# these should always add up to 100%
|
||||||
SMS_PROVIDER_RESTING_POINTS = {
|
SMS_PROVIDER_RESTING_POINTS = {
|
||||||
'mmg': 60,
|
'mmg': 70,
|
||||||
'firetext': 40
|
'firetext': 30
|
||||||
}
|
}
|
||||||
|
|
||||||
NOTIFY_SERVICE_ID = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'
|
NOTIFY_SERVICE_ID = 'd6aa2c68-a2d9-4437-ab19-3ae8eb202553'
|
||||||
|
|||||||
@@ -22,6 +22,13 @@ from tests.app.db import (
|
|||||||
create_service,
|
create_service,
|
||||||
create_template,
|
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):
|
def set_primary_sms_provider(identifier):
|
||||||
|
|||||||
Reference in New Issue
Block a user