Mercurial > public > sg101
diff news/tests/test_views.py @ 1206:02181fa5ac9d modernize tip
Update to Django 1.9.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Wed, 22 Jan 2025 17:58:16 -0600 |
parents | e2c3d7ecfa30 |
children |
line wrap: on
line diff
--- a/news/tests/test_views.py Sat Jan 04 21:34:31 2025 -0600 +++ b/news/tests/test_views.py Wed Jan 22 17:58:16 2025 -0600 @@ -44,7 +44,7 @@ response = self.client.post(self.view_url, args, follow=True) self.assertEqual(response.status_code, 200) self.assertEqual(response.redirect_chain, - [('http://testserver' + reverse('news-submit_thanks'), 302)]) + [(reverse('news-submit_thanks'), 302)]) stories = list(PendingStory.objects.all()) self.assertEqual(len(stories), 1)