Letter have multliple rates, the agregate number was not taking that into account for the usage page.

This commit is contained in:
Rebecca Law
2018-05-22 17:37:48 +01:00
parent 9bba6f08a4
commit cd09c391e8
3 changed files with 12 additions and 3 deletions

View File

@@ -2288,6 +2288,14 @@ def mock_get_billable_units(mocker):
'notification_type': 'letter',
'rate': 0.31,
'billing_units': 10
},
{
'month': 'February',
'international': False,
'rate_multiplier': 1,
'notification_type': 'letter',
'rate': 0.33,
'billing_units': 5
}
]