summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorIan Bicking <ianb@colorstudy.com>2010-06-15 13:01:39 -0500
committerIan Bicking <ianb@colorstudy.com>2010-06-15 13:01:39 -0500
commit822c4caa34bce0cc9a05331ea7d55902a4ad2122 (patch)
tree61a8266add6b29db16ac51bb915d2a26c8bef06d /tests
parent056fa3063dd9c5653497601718380a4b7560f83d (diff)
downloadpaste-822c4caa34bce0cc9a05331ea7d55902a4ad2122.tar.gz
forgot to fix up test
Diffstat (limited to 'tests')
-rw-r--r--tests/test_urlparser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_urlparser.py b/tests/test_urlparser.py
index 790535d..f8c8b9f 100644
--- a/tests/test_urlparser.py
+++ b/tests/test_urlparser.py
@@ -110,8 +110,7 @@ def test_xss():
app = TestApp(StaticURLParser(relative_path('find_file')),
extra_environ={'HTTP_ACCEPT': 'text/html'})
res = app.get("/-->%0D<script>alert('xss')</script>", status=404)
- print res
- assert 0
+ assert '--><script>' not in res.body
def test_static_parser():
app = StaticURLParser(path('find_file'))