mirror of
https://github.com/spiral-project/ihatemoney.git
synced 2025-05-05 12:41:49 +02:00
format
This commit is contained in:
parent
4e257c20e2
commit
cb7cdd261f
2 changed files with 1 additions and 4 deletions
|
@ -164,7 +164,6 @@ class ModelsTestCase(IhatemoneyTestCase):
|
||||||
pay_each_expected = 10 / 3
|
pay_each_expected = 10 / 3
|
||||||
self.assertEqual(bill.amount / weight, pay_each_expected)
|
self.assertEqual(bill.amount / weight, pay_each_expected)
|
||||||
|
|
||||||
|
|
||||||
def test_bill_pay_each(self):
|
def test_bill_pay_each(self):
|
||||||
|
|
||||||
self.post_project("raclette")
|
self.post_project("raclette")
|
||||||
|
|
|
@ -654,9 +654,7 @@ def list_bills():
|
||||||
# set the last selected payer as default choice if exists
|
# set the last selected payer as default choice if exists
|
||||||
if "last_selected_payer" in session:
|
if "last_selected_payer" in session:
|
||||||
bill_form.payer.data = session["last_selected_payer"]
|
bill_form.payer.data = session["last_selected_payer"]
|
||||||
bills = g.project.get_bill_weights_ordered().paginate(
|
bills = g.project.get_bill_weights_ordered().paginate(per_page=500, error_out=True)
|
||||||
per_page=500, error_out=True
|
|
||||||
)
|
|
||||||
|
|
||||||
return render_template(
|
return render_template(
|
||||||
"list_bills.html",
|
"list_bills.html",
|
||||||
|
|
Loading…
Reference in a new issue