server/test/unittest_schemaserial.py
changeset 9984 793377697c81
parent 9796 2d1e488f6f71
parent 9920 5aa730bf445e
child 9990 c84ad981fc4a
--- a/server/test/unittest_schemaserial.py	Fri Sep 12 09:49:01 2014 +0200
+++ b/server/test/unittest_schemaserial.py	Wed Sep 24 18:04:30 2014 +0200
@@ -323,7 +323,7 @@
               'internationalizable': True,
               'fulltextindexed': False,
               'ordernum': 3,
-              'defaultval': Binary('text/plain'),
+              'defaultval': Binary.zpickle(u'text/plain'),
               'indexed': False,
               'cardinality': u'?1'}),
             ('INSERT CWConstraint X: X value %(value)s, X cstrtype CT, EDEF constrained_by X '
@@ -339,7 +339,6 @@
                              list(rdef2rql(schema['description_format'].rdefs[('CWRType', 'String')],
                                            cstrtypemap)))
 
-
     def test_updateeschema2rql1(self):
         self.assertListEqual([('SET X description %(description)s,X final %(final)s,'
                                'X name %(name)s WHERE X eid %(x)s',