remove letter rates between tests

we only use them in ft_billing so no reason not to delete them. makes
the tests read better as it's obvious how they work too.
This commit is contained in:
Leo Hemsted
2019-04-03 15:34:02 +01:00
parent 9f1f858997
commit 28bff28786
4 changed files with 18 additions and 9 deletions

View File

@@ -326,7 +326,7 @@ def test_get_rate_for_letter_latest(notify_db_session):
letter_rates = [new, old]
rate = get_rate([], letter_rates, LETTER_TYPE, date(2018, 1, 1), True, 1)
assert rate == Decimal(0.33)
assert rate == Decimal('0.33')
def test_get_rate_for_sms_and_email(notify_db_session):