changeset 3608:3d5985a65342

EmbedObject tests: simplify code
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 17 May 2008 12:23:31 +0200
parents 691dc24ee12e
children 9653e7a9bcc4
files MoinMoin/macro/_tests/test_EmbedObject.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/macro/_tests/test_EmbedObject.py	Sat May 17 11:49:55 2008 +0200
+++ b/MoinMoin/macro/_tests/test_EmbedObject.py	Sat May 17 12:23:31 2008 +0200
@@ -28,11 +28,11 @@
 
         AttachFile.getAttachDir(request, pagename)
         test_files = [
-            ('test.ogg', str(u'vorbis')),
-            ('test.svg', str(u'SVG')),
-            ('test.mpg', str(u'MPG')),
-            ('test.pdf', str(u'PDF')),
-            ('test.mp3', str(u'MP3')),
+            ('test.ogg', 'vorbis'),
+            ('test.svg', 'SVG'),
+            ('test.mpg', 'MPG'),
+            ('test.pdf', 'PDF'),
+            ('test.mp3', 'MP3'),
         ]
         for filename, filecontent in test_files:
             AttachFile.add_attachment(request, pagename, filename, filecontent, overwrite=0)