diff -r a055a1649727 -r f1fe05d5224e web/test/unittest_reledit.py --- a/web/test/unittest_reledit.py Mon Mar 28 19:31:45 2011 +0200 +++ b/web/test/unittest_reledit.py Mon Mar 28 18:53:54 2011 +0200 @@ -1,4 +1,4 @@ -# copyright 2003-2010 LOGILAB S.A. (Paris, FRANCE), all rights reserved. +# copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved. # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr # # This file is part of CubicWeb. @@ -33,9 +33,9 @@ class ClickAndEditFormTC(ReleditMixinTC, CubicWebTC): def test_default_config(self): - reledit = {'title': """
cubicweb-world-domination
""", - 'long_desc': """
<not specified>
""", - 'manager': """
<not specified>
""", + reledit = {'title': """
cubicweb-world-domination
""", + 'long_desc': """
<not specified>
""", + 'manager': """
<not specified>
""", 'composite_card11_2ttypes': """<not specified>""", 'concerns': """<not specified>"""} @@ -76,7 +76,7 @@ -""", +""", 'long_desc': """
<not specified>
@@ -120,7 +120,7 @@
-
""", +""", 'manager': """
<not specified>
@@ -156,7 +156,7 @@
-
""", +""", 'composite_card11_2ttypes': """<not specified>""", 'concerns': """<not specified>""" } @@ -190,11 +190,11 @@ reledit_ctrl.tag_object_of(('Ticket', 'concerns', 'Project'), {'edit_target': 'rtype'}) reledit = { - 'title': """
cubicweb-world-domination
""", - 'long_desc': """
<long_desc is required>
""", - 'manager': """
Toto
""", + 'title': """
cubicweb-world-domination
""", + 'long_desc': """
<long_desc is required>
""", + 'manager': """
Toto
""", 'composite_card11_2ttypes': """<not specified>""", - 'concerns': """
write the code
""" + 'concerns': """
write the code
""" } for rschema, ttypes, role in self.proj.e_schema.relation_definitions(includefinal=True): if rschema not in reledit: