diff --git a/tests/app/main/views/test_dashboard.py b/tests/app/main/views/test_dashboard.py index e69751cfc..de47ffde5 100644 --- a/tests/app/main/views/test_dashboard.py +++ b/tests/app/main/views/test_dashboard.py @@ -1022,8 +1022,8 @@ def test_usage_page( assert 'March' in table assert '£28.99' in table assert '140 free text messages' in table - assert '£20.30' in table - assert '1,230 text messages at 1.65p' in table + assert '£20.91' in table + assert '1,230 text messages at 1.70p' in table @freeze_time("2012-03-31 12:12:12") @@ -1064,8 +1064,8 @@ def test_usage_page_with_letters( assert 'March' in table assert '£28.99' in table assert '140 free text messages' in table - assert '£20.30' in table - assert '1,230 text messages at 1.65p' in table + assert '£20.91' in table + assert '1,230 text messages at 1.70p' in table assert '10 second class letters at 31p' in normalize_spaces(table) assert '5 first class letters at 33p' in normalize_spaces(table) assert '10 international letters at 84p' in normalize_spaces(table) diff --git a/tests/conftest.py b/tests/conftest.py index 84bebc261..f5e397870 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -2334,56 +2334,56 @@ def mock_get_billable_units(mocker): { 'month': 'April', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 249500, 'postage': 'none', }, { 'month': 'April', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 100, 'postage': 'none', }, { 'month': 'April', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 200, 'postage': 'none', }, { 'month': 'April', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 60, 'postage': 'none', }, { 'month': 'March', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 1000, 'postage': 'none', }, { 'month': 'March', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 100, 'postage': 'none', }, { 'month': 'March', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 100, 'postage': 'none', }, { 'month': 'March', 'notification_type': 'sms', - 'rate': 0.0165, + 'rate': 0.017, 'billing_units': 30, 'postage': 'none', },