This commit is contained in:
Glandos 2021-07-05 23:02:43 +02:00
parent d1c0bbbbe9
commit f3bc1066c5

View file

@ -1661,7 +1661,9 @@ class BudgetTestCase(IhatemoneyTestCase):
# And switch project to no currency: amount should be equal to what was submitted
project.switch_currency(converter.no_currency)
no_currency_bills = [(bill.amount, bill.converted_amount) for bill in project.get_bills()]
no_currency_bills = [
(bill.amount, bill.converted_amount) for bill in project.get_bills()
]
assert no_currency_bills == [(5.0, 5.0), (10.0, 10.0)]