From 276bb9b5bcc9f3cf5eafbbd57f61c11f4b9e73f3 Mon Sep 17 00:00:00 2001 From: Dan Helfman Date: Tue, 1 Apr 2008 21:32:01 +0000 Subject: [PATCH] Fixing unit test to account for new Html_cleaner tag stripping behavior. --- controller/test/Test_notebooks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/test/Test_notebooks.py b/controller/test/Test_notebooks.py index 8068568..e351e34 100644 --- a/controller/test/Test_notebooks.py +++ b/controller/test/Test_notebooks.py @@ -1587,7 +1587,7 @@ class Test_notebooks( Test_controller ): note = result[ "note" ] - expected_contents = title_with_tags + cgi.escape( junk ) + u"

blah

" + expected_contents = title_with_tags + u"foohaxx0r

blah

" assert note.object_id == new_note.object_id assert note.title == new_note.title