From 2866c868d55d197de8c39c34debc878b38929d98 Mon Sep 17 00:00:00 2001 From: Alexandre Avenel Date: Sat, 11 Nov 2017 18:11:15 +0100 Subject: Fix some typos using codespell (#285) --- ihatemoney/tests/tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ihatemoney/tests') diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py index f918746..123ea36 100644 --- a/ihatemoney/tests/tests.py +++ b/ihatemoney/tests/tests.py @@ -403,7 +403,7 @@ class BudgetTestCase(IhatemoneyTestCase): c.get("/exit") self.assertNotIn('raclette', session) - # test that whith admin credentials, one can access every project + # test that with admin credentials, one can access every project self.app.config['ADMIN_PASSWORD'] = generate_password_hash("pass") with self.app.test_client() as c: resp = c.post("/admin?goto=%2Fraclette", data={'admin_password': 'pass'}) @@ -1192,7 +1192,7 @@ class APITestCase(IhatemoneyTestCase): self.assertDictEqual(expected, json.loads(req.data.decode('utf-8'))) - # the list of bills should lenght 1 + # the list of bills should length 1 req = self.client.get("/api/projects/raclette/bills", headers=self.get_auth("raclette")) self.assertStatus(200, req) -- cgit v1.1