Commit 3ea2ca5c authored by sylvain.thenault@logilab.fr's avatar sylvain.thenault@logilab.fr
Browse files

fix test

parent 9608038f17c3
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
linking information are found linking information are found
:organization: Logilab :organization: Logilab
:copyright: 2003-2008 LOGILAB S.A. (Paris, FRANCE), all rights reserved. :copyright: 2003-2009 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr :contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
""" """
__docformat__ = "restructuredtext en" __docformat__ = "restructuredtext en"
......
...@@ -156,9 +156,9 @@ class ReplyCommentHooksTC(EnvBasedTC): ...@@ -156,9 +156,9 @@ class ReplyCommentHooksTC(EnvBasedTC):
self.failUnless(self.b.reverse_comments) self.failUnless(self.b.reverse_comments)
c = self.b.reverse_comments[0] c = self.b.reverse_comments[0]
self.failUnlessEqual(c.content_format, 'text/plain') self.failUnlessEqual(c.content_format, 'text/plain')
self.failUnlessEqual(c.content, u'''New ticket for project cubicweb-email : self.failUnlessEqual(c.content, u'''New ticket for project erudi-email :
#22742 - cubicweb-email #22742: commentaires de mailbot #22742 - erudi-email #22742: commentaires de mailbot
==================== ====================
description description
...@@ -173,7 +173,7 @@ alf ...@@ -173,7 +173,7 @@ alf
URL URL
--- ---
http://intranet.logilab.fr/jpl/ticket/22742 http://intranet.logilab.fr/jpl/ticket/22742
(project URL: http://intranet.logilab.fr/jpl/project/cubicweb-email)''') (project URL: http://intranet.logilab.fr/jpl/project/erudi-email)''')
self.failUnlessEqual(c.creator.login, 'anon') self.failUnlessEqual(c.creator.login, 'anon')
self.failUnlessEqual(sorted(u.login for u in c.owned_by), self.failUnlessEqual(sorted(u.login for u in c.owned_by),
['admin', 'anon']) ['admin', 'anon'])
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment