Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

reverse()d bookmark's test's urls

  • Loading branch information...
commit ccfe872e0787207948e643f2dd4aaa468ffcd3ce 1 parent c2665e6
@feuervogel feuervogel authored Nathan Borror committed
Showing with 2 additions and 1 deletion.
  1. +2 −1  basic/bookmarks/tests.py
View
3  basic/bookmarks/tests.py
@@ -1,10 +1,11 @@
"""
>>> from django.test import Client
>>> from basic.bookmarks.models import Bookmark
+>>> from django.core.urlresolvers import reverse
>>> client = Client()
->>> response = client.get('/bookmarks/')
+>>> response = client.get(reverse('bookmark_index'))
>>> response.status_code
200
Please sign in to comment.
Something went wrong with that request. Please try again.