diff --git a/ihatemoney/tests/main_test.py b/ihatemoney/tests/main_test.py index 73b8b314..322b32c8 100644 --- a/ihatemoney/tests/main_test.py +++ b/ihatemoney/tests/main_test.py @@ -164,7 +164,6 @@ class ModelsTestCase(IhatemoneyTestCase): pay_each_expected = 10 / 3 self.assertEqual(bill.amount / weight, pay_each_expected) - def test_bill_pay_each(self): self.post_project("raclette") diff --git a/ihatemoney/web.py b/ihatemoney/web.py index 8ba6efea..c64098b9 100644 --- a/ihatemoney/web.py +++ b/ihatemoney/web.py @@ -654,9 +654,7 @@ def list_bills(): # set the last selected payer as default choice if exists if "last_selected_payer" in session: bill_form.payer.data = session["last_selected_payer"] - bills = g.project.get_bill_weights_ordered().paginate( - per_page=500, error_out=True - ) + bills = g.project.get_bill_weights_ordered().paginate(per_page=500, error_out=True) return render_template( "list_bills.html",