diff tests/doctest.txt @ 17:27bd18f0a359

fix up security hole
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 29 Feb 2012 16:01:38 -0800
parents 4f26df21dc12
children 76c939271534
line wrap: on
line diff
--- a/tests/doctest.txt	Wed Feb 29 15:47:24 2012 -0800
+++ b/tests/doctest.txt	Wed Feb 29 16:01:38 2012 -0800
@@ -80,6 +80,7 @@
 
 Ensure you can't get to non-allowed resources::
 
-    >>> response = testapp.get('/../exampleBADBADBAD')
+    >>> response = testapp.get('/../exampleBADBADBAD', status=404)
     >>> response.status # Not Found: we do not want to give away these resources
     404
+