diff examples/project/zoo/test_urlconf.py @ 11:9af906a73061

added a 404.html file and updated the testcases to run against Django svn rev 8693 (post 1.0b1)
author Victor Ng <victor@monkeybean.ca>
date Fri, 29 Aug 2008 00:46:22 -0400
parents 35178e70f1cd
children
line wrap: on
line diff
--- a/examples/project/zoo/test_urlconf.py	Thu Aug 28 13:45:46 2008 -0400
+++ b/examples/project/zoo/test_urlconf.py	Fri Aug 29 00:46:22 2008 -0400
@@ -9,7 +9,7 @@
         '''
         c = Client()
         resp = c.get('')
-        assert resp.status_code == 500
+        assert resp.status_code == 404, "Got status %s - expecting 404" % resp.status_code
 
         c = Client()
         resp = c.get('/zoo/')
@@ -31,7 +31,7 @@
 
         c = Client()
         resp = c.get('/zoo/')
-        assert resp.status_code == 500
+        assert resp.status_code == 404, "Got status %s - expecting 404" % resp.status_code