server/test/unittest_schemaserial.py
changeset 9990 c84ad981fc4a
parent 9968 50f046bf0e50
parent 9984 793377697c81
child 10213 e53cc2182cf8
--- a/server/test/unittest_schemaserial.py	Tue Sep 23 17:34:36 2014 +0200
+++ b/server/test/unittest_schemaserial.py	Thu Sep 25 15:49:13 2014 +0200
@@ -327,7 +327,7 @@
               'internationalizable': True,
               'fulltextindexed': False,
               'ordernum': 3,
-              'defaultval': Binary('text/plain'),
+              'defaultval': Binary.zpickle(u'text/plain'),
               'indexed': False,
               'formula': None,
               'cardinality': u'?1'}),
@@ -344,7 +344,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',