Filter letter rates by post_class in get_rate

Also adjust existing tests.
This commit is contained in:
Pea Tyczynska
2018-09-14 17:52:16 +01:00
parent 8b410e8876
commit b3191dbc2a
4 changed files with 18 additions and 10 deletions

View File

@@ -228,7 +228,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) == 10
assert len(letter_rates) == 30
def test_get_rate(notify_db_session):