changeset 4234:5ddcd9fe00b4

Fixed test: removed '&' from expected (test shouldn't test for context)
author Florian Krupicka <florian.krupicka@googlemail.com>
date Sun, 20 Jul 2008 16:43:12 +0200
parents 1c412625fdda
children a6c315ff8d66
files MoinMoin/action/_tests/test_attachfile.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/_tests/test_attachfile.py	Sun Jul 20 16:41:40 2008 +0200
+++ b/MoinMoin/action/_tests/test_attachfile.py	Sun Jul 20 16:43:12 2008 +0200
@@ -68,7 +68,7 @@
         Tests if AttachFile.getAttachUrl taints a filename
         """
         filename = "<test2.txt>"
-        expect = "rename=_test2.txt_&"
+        expect = "rename=_test2.txt_"
         result = AttachFile.getAttachUrl(self.pagename, filename, self.request, upload=True)
 
         assert expect in result