Removed service_api_client.get_monthly_notification_stats because it is not being used anymore.

This commit is contained in:
Rebecca Law
2017-08-23 17:07:42 +01:00
parent 10ad56f12e
commit 16f3aafa10
4 changed files with 14 additions and 44 deletions

View File

@@ -1532,15 +1532,6 @@ def mock_get_usage(mocker, service_one, fake_uuid):
'app.billing_api_client.get_service_usage', side_effect=_get_usage)
@pytest.fixture(scope='function')
def mock_get_yearly_sms_unit_count_and_cost(mocker, service_one, fake_uuid):
def _get_usage(service_id, year=None):
return {"billable_sms_units": 100, "total_cost": 200.0}
return mocker.patch(
'app.service_api_client.get_yearly_sms_unit_count_and_cost', side_effect=_get_usage)
@pytest.fixture(scope='function')
def mock_get_billable_units(mocker):
def _get_usage(service_id, year):