1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Updated tests for added newlines in 6868643063.

This commit is contained in:
Tim Graham
2014-08-12 20:16:04 -04:00
parent 6868643063
commit d38a00332e
4 changed files with 24 additions and 24 deletions

View File

@@ -508,7 +508,7 @@ class DayArchiveViewTests(TestCase):
def test_next_prev_context(self):
res = self.client.get('/dates/books/2008/oct/01/')
self.assertEqual(res.content, b"Archive for Oct. 1, 2008. Previous day is May 1, 2006")
self.assertEqual(res.content, b"Archive for Oct. 1, 2008. Previous day is May 1, 2006\n")
def test_custom_month_format(self):
res = self.client.get('/dates/books/2008/10/01/')