aboutsummaryrefslogtreecommitdiff
path: root/budget/tests.py
diff options
context:
space:
mode:
authorA.Avenel <avenel.alexandre@gmail.com>2011-12-03 17:40:50 +0100
committerA.Avenel <avenel.alexandre@gmail.com>2011-12-03 17:40:50 +0100
commit0633b153f604d973d1b8a6b5c25d9b048a3de0bb (patch)
tree841428ffc5a6ca331d99622500d86daa83e5650f /budget/tests.py
parentb1665770e844e930a7dd4c11598c2a8e66aa0909 (diff)
downloadihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.zip
ihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.tar.gz
ihatemoney-mirror-0633b153f604d973d1b8a6b5c25d9b048a3de0bb.tar.bz2
Small commit to add more informations in dashboard view.
Diffstat (limited to 'budget/tests.py')
-rw-r--r--budget/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/budget/tests.py b/budget/tests.py
index de6317b..a5022ce 100644
--- a/budget/tests.py
+++ b/budget/tests.py
@@ -411,6 +411,10 @@ class BudgetTestCase(TestCase):
follow_redirects=True)
self.assertIn("Invalid email address", resp.data)
+ def test_dashboard(self):
+ response = self.app.get("/dashboard")
+ self.assertEqual(response.status_code, 200)
+
class APITestCase(TestCase):
"""Tests the API"""