Mercurial > nosedjango
view examples/project/tests/test_views.py @ 5:22ae9aa457af
excercise more bits of the django 1.0b1 test framework
author | Victor Ng <victor@monkeybean.ca> |
---|---|
date | Thu, 28 Aug 2008 11:29:21 -0400 |
parents | ff263bdd455e |
children | a82369f2574e |
line wrap: on
line source
from django.http import HttpRequest from project.zoo import views def test_view_index(): r = views.index(HttpRequest()) assert r