[test] fix test broken by RichString handling changes in yams #default
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 13 Feb 2012 12:16:37 +0100
changeset 8223 b1a685038c3b
parent 8222 2a92f0ec881d
child 8229 b7bc631816f7
[test] fix test broken by RichString handling changes in yams #default
server/test/unittest_schemaserial.py
--- a/server/test/unittest_schemaserial.py	Mon Feb 13 12:16:21 2012 +0100
+++ b/server/test/unittest_schemaserial.py	Mon Feb 13 12:16:37 2012 +0100
@@ -141,7 +141,7 @@
                               [
             ('INSERT CWAttribute X: X cardinality %(cardinality)s,X defaultval %(defaultval)s,X description %(description)s,X fulltextindexed %(fulltextindexed)s,X indexed %(indexed)s,X internationalizable %(internationalizable)s,X ordernum %(ordernum)s,X relation_type ER,X from_entity SE,X to_entity OE WHERE SE eid %(se)s,ER eid %(rt)s,OE eid %(oe)s',
              {'se': None, 'rt': None, 'oe': None,
-              'description': u'', 'internationalizable': True, 'fulltextindexed': False, 'ordernum': 7, 'defaultval': u'text/plain', 'indexed': False, 'cardinality': u'?1'}),
+              'description': u'', 'internationalizable': True, 'fulltextindexed': False, 'ordernum': 3, 'defaultval': u'text/plain', 'indexed': False, 'cardinality': u'?1'}),
             ('INSERT CWConstraint X: X value %(value)s, X cstrtype CT, EDEF constrained_by X WHERE CT eid %(ct)s, EDEF eid %(x)s',
              {'x': None, 'value': u'None', 'ct': 'FormatConstraint_eid'}),
             ('INSERT CWConstraint X: X value %(value)s, X cstrtype CT, EDEF constrained_by X WHERE CT eid %(ct)s, EDEF eid %(x)s',