From cb7cdd261fa07e5a91f5e5c353989e4197dd6ef6 Mon Sep 17 00:00:00 2001 From: Glandos Date: Sat, 27 Nov 2021 11:50:01 +0100 Subject: [PATCH] format --- ihatemoney/tests/main_test.py | 1 - ihatemoney/web.py | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) 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",