Skip to content
This repository has been archived by the owner on Jan 22, 2021. It is now read-only.

Commit

Permalink
reverse()d bookmark's test's urls
Browse files Browse the repository at this point in the history
  • Loading branch information
feuervogel authored and Nathan Borror committed Jul 14, 2010
1 parent c2665e6 commit ccfe872
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion basic/bookmarks/tests.py
Original file line number Original file line Diff line number Diff line change
@@ -1,10 +1,11 @@
""" """
>>> from django.test import Client >>> from django.test import Client
>>> from basic.bookmarks.models import Bookmark >>> from basic.bookmarks.models import Bookmark
>>> from django.core.urlresolvers import reverse
>>> client = Client() >>> client = Client()
>>> response = client.get('/bookmarks/') >>> response = client.get(reverse('bookmark_index'))
>>> response.status_code >>> response.status_code
200 200
Expand Down

0 comments on commit ccfe872

Please sign in to comment.