changeset 9:68db1111f23a

serve file contents, pt 2
author Jeff Hammel <jhammel@mozilla.com>
date Wed, 29 Feb 2012 14:51:27 -0800
parents 782e15b86b86
children 1a11c096284b
files tests/doctest.txt
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/tests/doctest.txt	Wed Feb 29 14:51:00 2012 -0800
+++ b/tests/doctest.txt	Wed Feb 29 14:51:27 2012 -0800
@@ -41,3 +41,5 @@
     >>> response = testapp.get('/helloworld.txt')
     >>> response.status
     200
+    >>> response.body == file(filename).read()
+    True