diff options
| author | Alexandre Avenel <avenel.alexandre@gmail.com> | 2017-11-11 18:11:15 +0100 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2017-11-11 18:11:15 +0100 |
| commit | 2866c868d55d197de8c39c34debc878b38929d98 (patch) | |
| tree | 686d0d7c431f62585c946b5e7f3fe13a0579771d /ihatemoney/tests | |
| parent | 974485690c4a2d5127f2880cf78847c6916c02ce (diff) | |
| download | ihatemoney-mirror-2866c868d55d197de8c39c34debc878b38929d98.zip ihatemoney-mirror-2866c868d55d197de8c39c34debc878b38929d98.tar.gz ihatemoney-mirror-2866c868d55d197de8c39c34debc878b38929d98.tar.bz2 | |
Fix some typos using codespell (#285)
Diffstat (limited to 'ihatemoney/tests')
| -rw-r--r-- | ihatemoney/tests/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |
