From 08fec8f928526793ce77cf44c17693fd623728c3 Mon Sep 17 00:00:00 2001 From: Pea Tyczynska Date: Fri, 21 Sep 2018 11:32:12 +0100 Subject: [PATCH] Fix tests - update number fo letter rates in test --- migrations/versions/0229_new_letter_rates.py | 1 - tests/app/dao/test_ft_billing_dao.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/migrations/versions/0229_new_letter_rates.py b/migrations/versions/0229_new_letter_rates.py index 58618c7fa..69867f5c6 100644 --- a/migrations/versions/0229_new_letter_rates.py +++ b/migrations/versions/0229_new_letter_rates.py @@ -35,7 +35,6 @@ NEW_RATES = [ (uuid.uuid4(), start, 4, 0.71, False, 'first'), (uuid.uuid4(), start, 5, 0.76, True, 'first'), (uuid.uuid4(), start, 5, 0.76, False, 'first'), - ] diff --git a/tests/app/dao/test_ft_billing_dao.py b/tests/app/dao/test_ft_billing_dao.py index c8c5627b4..26a1efe07 100644 --- a/tests/app/dao/test_ft_billing_dao.py +++ b/tests/app/dao/test_ft_billing_dao.py @@ -230,7 +230,7 @@ def test_get_rates_for_billing(notify_db_session): non_letter_rates, letter_rates = get_rates_for_billing() assert len(non_letter_rates) == 3 - assert len(letter_rates) == 30 + assert len(letter_rates) == 29 def test_get_rate(notify_db_session):