Skip to content
Browse files

add test for redirect

  • Loading branch information...
1 parent 392b48c commit 369313a68368bef49730b95e7033bb1e49bec837 @fivethreeo committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmsplugin_blog/tests/__init__.py
View
2 cmsplugin_blog/tests/__init__.py
@@ -297,7 +297,7 @@ def test_01_redirect_existing_language(self):
with SettingsOverride(DEBUG=True):
response = self.client.get(u'/test-page-1/2011/08/31/entry-title/')
- self.assertRecirects(response, u'/test-page-1/2011/08/31/entry-title/')
+ self.assertRedirects(response, u'/test-page-1/2011/08/31/entry-title/')
entry.delete()
response = self.client.get(entry.get_absolute_url(), u'/test-page-1/2011/08/31/entry-title/')
self.assertRaises(response, Http404)

0 comments on commit 369313a

Please sign in to comment.
Something went wrong with that request. Please try again.