Skip to content
Browse files

Better naming in test

  • Loading branch information...
1 parent 86b96b5 commit e4b6ae41d4b91970f85529627b0b07ae989871a1 @j4mie j4mie committed Aug 13, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 privateviews/tests.py
  2. +1 −1 testproject/urls.py
View
2 privateviews/tests.py
@@ -13,7 +13,7 @@ def test_undecorated_view(self):
self.assertTrue('accounts/login' in response['Location'])
def test_decorated_view(self):
- response = self.client.get('/decorated/')
+ response = self.client.get('/test-decorator/')
self.assertEqual(response.status_code, 200)
def test_list_public_views(self):
View
2 testproject/urls.py
@@ -5,7 +5,7 @@
urlpatterns = patterns('',
url(r'^undecorated/$', views.undecorated),
- url(r'^decorated/$', login_not_required(views.undecorated)),
+ url(r'^test-decorator/$', login_not_required(views.undecorated)),
url(r'^test-public-views/$', views.test_public_views),
url(r'^test-public-paths/$', views.test_public_paths),
)

0 comments on commit e4b6ae4

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