# HG changeset patch # User Jeff Hammel # Date 1330560308 28800 # Node ID 76c93927153467d02f73c502965621ef07be3517 # Parent 27bd18f0a3595972f9599bb248d3345e1c895700 introduce a test that i dont know what it means diff -r 27bd18f0a359 -r 76c939271534 tests/doctest.txt --- a/tests/doctest.txt Wed Feb 29 16:01:38 2012 -0800 +++ b/tests/doctest.txt Wed Feb 29 16:05:08 2012 -0800 @@ -83,4 +83,10 @@ >>> response = testapp.get('/../exampleBADBADBAD', status=404) >>> response.status # Not Found: we do not want to give away these resources 404 - + >>> response = testapp.get('//') # XXX weird + >>> response.status + 301 + >>> location = response.header_dict['location'] + >>> shema, netloc, path, query, fragment = urlparse.urlsplit(location) + >>> path + '/'