# HG changeset patch # User Victor Ng # Date 1219985182 14400 # Node ID 9af906a7306135d66901646d6019f6d416e62dd3 # Parent 3b9fe61973cfb092d2dad4570a2f93f0079562dc added a 404.html file and updated the testcases to run against Django svn rev 8693 (post 1.0b1) diff -r 3b9fe61973cf -r 9af906a73061 examples/project/templates/404.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/project/templates/404.html Fri Aug 29 00:46:22 2008 -0400 @@ -0,0 +1,1 @@ +blah. HTTP 404 error diff -r 3b9fe61973cf -r 9af906a73061 examples/project/zoo/test_urlconf.py --- 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