diff options
| author | Alexis Metaireau <alexis@notmyidea.org> | 2013-10-17 04:41:00 -0700 |
|---|---|---|
| committer | Alexis Metaireau <alexis@notmyidea.org> | 2013-10-17 04:41:00 -0700 |
| commit | 229fe41a0ceb207e8d6d4b24adfa0aa2c32b436d (patch) | |
| tree | c4946b541f4f15b9e537737da78f37db7c9bbee9 /budget/tests.py | |
| parent | 85a92e048583a9ca8cf6d5460124edb25e01ca95 (diff) | |
| parent | 74e6f9f11db2fa460f2b6f3a8c7863bd46f90fd0 (diff) | |
| download | ihatemoney-mirror-229fe41a0ceb207e8d6d4b24adfa0aa2c32b436d.zip ihatemoney-mirror-229fe41a0ceb207e8d6d4b24adfa0aa2c32b436d.tar.gz ihatemoney-mirror-229fe41a0ceb207e8d6d4b24adfa0aa2c32b436d.tar.bz2 | |
Merge pull request #106 from aavenel/bugfix105
Bugfix #105 : TypeError: object of type 'NoneType' has no len()
Diffstat (limited to 'budget/tests.py')
| -rw-r--r-- | budget/tests.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/budget/tests.py b/budget/tests.py index 9eea518..0f7c2a2 100644 --- a/budget/tests.py +++ b/budget/tests.py @@ -289,6 +289,11 @@ class BudgetTestCase(TestCase): self.assertTrue(models.Project.query.get("demo") is not None) def test_authentication(self): + # try to authenticate without credentials should redirect + # to the authentication page + resp = self.app.post("/authenticate") + self.assertIn("Authentication", resp.data) + # raclette that the login / logout process works self.create_project("raclette") |
