From 4dc8b35fb4f4ba41aabbb0f99bb485ebea0c37d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexis=20M=C3=A9taireau?= Date: Wed, 20 Oct 2021 01:07:13 +0200 Subject: [PATCH] Update tests --- ihatemoney/tests/budget_test.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ihatemoney/tests/budget_test.py b/ihatemoney/tests/budget_test.py index cfa06d09..c991ea5b 100644 --- a/ihatemoney/tests/budget_test.py +++ b/ihatemoney/tests/budget_test.py @@ -318,7 +318,7 @@ class BudgetTestCase(IhatemoneyTestCase): result = self.client.get("/raclette/") - # Empty bill list and no members, should now propose to add participants first + # Empty bill list and no participant, should now propose to add participants first self.assertIn( 'You probably want to ProjectNumber of members", + "ProjectNumber of participants", resp.data.decode("utf-8"), ) @@ -1844,11 +1844,11 @@ class BudgetTestCase(IhatemoneyTestCase): import_project(file, project) def test_access_other_projects(self): - """Test that accessing or editing bills and members from another project fails""" + """Test that accessing or editing bills and participants from another project fails""" # Create project self.post_project("raclette") - # Add members + # Add participants self.client.post("/raclette/members/add", data={"name": "zorglub", "weight": 2}) self.client.post("/raclette/members/add", data={"name": "fred"}) self.client.post("/raclette/members/add", data={"name": "tata"})