Skip to content

Commit

Permalink
fix tests for 1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Dec 15, 2016
1 parent e6b4a60 commit 79ff386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fluent_contents/tests/test_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def test_render_redirect(self):
response = self.client.get(reverse('testpage', args=(page.pk,)))
self.assertTrue(response.status_code, 301)
self.assertIsInstance(response, HttpResponseRedirect)
self.assertEqual(response.url, 'http://testserver/contact/success/')
self.assertEqual(response['Location'], 'http://testserver/contact/success/')

def test_debug_is_method_overwritten(self):
"""
Expand Down

0 comments on commit 79ff386

Please sign in to comment.