diff options
| author | John-Michael Reed <johnmichaelreedfas@gmail.com> | 2019-12-29 14:34:04 -0500 |
|---|---|---|
| committer | Glandos <bugs-github@antipoul.fr> | 2019-12-29 20:34:04 +0100 |
| commit | 73a4d139fffe3fdbabd0a47839eacc9964810066 (patch) | |
| tree | 53d896ae21e0ebff74b625193470ec914c324f4c /ihatemoney/tests/tests.py | |
| parent | a18d5db622ff97ae4335cbfaa8f9c1a5bb7c0304 (diff) | |
| download | ihatemoney-mirror-73a4d139fffe3fdbabd0a47839eacc9964810066.zip ihatemoney-mirror-73a4d139fffe3fdbabd0a47839eacc9964810066.tar.gz ihatemoney-mirror-73a4d139fffe3fdbabd0a47839eacc9964810066.tar.bz2 | |
Fixed typos in tests.py (#521)
Diffstat (limited to 'ihatemoney/tests/tests.py')
| -rw-r--r-- | ihatemoney/tests/tests.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ihatemoney/tests/tests.py b/ihatemoney/tests/tests.py index 7644490..8569802 100644 --- a/ihatemoney/tests/tests.py +++ b/ihatemoney/tests/tests.py @@ -129,7 +129,7 @@ class ConfigurationTestCase(BaseTestCase): class BudgetTestCase(IhatemoneyTestCase): def test_notifications(self): - """Test that the notifications are sent, and that email adresses + """Test that the notifications are sent, and that email addresses are checked properly. """ # sending a message to one person @@ -166,7 +166,7 @@ class BudgetTestCase(IhatemoneyTestCase): self.assertEqual(len(outbox), 0) # no message sent self.assertIn("The email toto is not valid", response.data.decode("utf-8")) - # mixing good and wrong adresses shouldn't send any messages + # mixing good and wrong addresses shouldn't send any messages with self.app.mail.record_messages() as outbox: self.client.post( "/raclette/invite", data={"emails": "alexis@notmyidea.org, alexis"} @@ -201,7 +201,7 @@ class BudgetTestCase(IhatemoneyTestCase): self.assertIn("You either provided a bad token", resp.data.decode("utf-8")) def test_password_reminder(self): - # test that it is possible to have an email cotaining the password of a + # test that it is possible to have an email containing the password of a # project in case people forget it (and it happens!) self.create_project("raclette") @@ -829,7 +829,7 @@ class BudgetTestCase(IhatemoneyTestCase): result[models.Project.query.get("raclette").members[2].id] = -8.12 # Since we're using floating point to store currency, we can have some # rounding issues that prevent test from working. - # However, we should obtain the same values as the theorical ones if we + # However, we should obtain the same values as the theoretical ones if we # round to 2 decimals, like in the UI. for key, value in balance.items(): self.assertEqual(round(value, 2), result[key]) |
