summaryrefslogtreecommitdiff
path: root/chimere/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'chimere/tests.py')
-rw-r--r--chimere/tests.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/chimere/tests.py b/chimere/tests.py
index a051d52..ef54d0b 100644
--- a/chimere/tests.py
+++ b/chimere/tests.py
@@ -456,9 +456,11 @@ class NewsTest(TestCase):
end_date=None)
self.news = []
self.news.append(News.objects.create(is_front_page=True,
- title=u"Test news 1", available=True))
+ title=u"Test news 1", available=True,
+ date=datetime.date.today()))
self.news.append(News.objects.create(is_front_page=True,
- title=u"Test news 2", available=False))
+ title=u"Test news 2", available=False,
+ date=datetime.date.today()))
def test_news_display(self):
context = display_news(Context({}))