changeset 166:9c4fdb103498

test_user: fix failures related to kvstore type checking, unicode vs. str
author Reimar Bauer <rb.proj AT googlemail DOT com>
date Tue, 05 Apr 2011 23:01:40 +0200
parents 76430561b75b
children f5028d0f888f
files MoinMoin/_tests/test_user.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/_tests/test_user.py	Tue Apr 05 18:20:50 2011 +0200
+++ b/MoinMoin/_tests/test_user.py	Tue Apr 05 23:01:40 2011 +0200
@@ -301,7 +301,7 @@
         """
         name = u"__TestUser__"
         password = u"ekfdweurwerh"
-        email = "__TestUser__@moinhost"
+        email = u"__TestUser__@moinhost"
         self.createUser(name, password, email=email)
         theuser = user.User(name=name)
         assert theuser.email is None
@@ -312,7 +312,7 @@
         """
         name = u"__TestUser2__"
         password = u"ekERErwerwerh"
-        email = "__TestUser2__@moinhost"
+        email = u"__TestUser2__@moinhost"
         self.createUser(name, password, email=email)
         uid = user.getUserId(name)
         theuser = user.User(uid)