summaryrefslogtreecommitdiffstats
path: root/hyperkitty/tests/test_views.py
diff options
context:
space:
mode:
Diffstat (limited to 'hyperkitty/tests/test_views.py')
-rw-r--r--hyperkitty/tests/test_views.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/hyperkitty/tests/test_views.py b/hyperkitty/tests/test_views.py
index b1ad38a..fb7945d 100644
--- a/hyperkitty/tests/test_views.py
+++ b/hyperkitty/tests/test_views.py
@@ -146,6 +146,14 @@ class LastViewsTestCase(TestCase):
self.assertContains(response, "icon-eye-close",
count=2, status_code=200)
+ def test_overview(self):
+ now = datetime.datetime.now()
+ request = self.factory.get(reverse('list_overview', args=["list@example.com"]))
+ request.user = self.user
+ response = archives(request, "list@example.com", now.year, now.month)
+ self.assertContains(response, "icon-eye-close",
+ count=2, status_code=200)
+
from hyperkitty.views.message import vote