Merge pull request #2794 from alphagov/provider-ratios

Update provider splits
This commit is contained in:
Leo Hemsted
2020-04-06 15:27:38 +01:00
committed by GitHub
2 changed files with 9 additions and 2 deletions

View File

@@ -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'

View File

@@ -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):