[test] make unittest_schema.py compatible with cubicweb-file 0.14 stable
authorDavid Douard <david.douard@logilab.fr>
Fri, 12 Jul 2013 18:03:11 +0200
branchstable
changeset 9158 08d8fba05854
parent 9157 3e4bef7d514d
child 9159 7a6ea3468765
[test] make unittest_schema.py compatible with cubicweb-file 0.14
test/unittest_schema.py
--- a/test/unittest_schema.py	Mon Jul 22 09:47:56 2013 +0200
+++ b/test/unittest_schema.py	Fri Jul 12 18:03:11 2013 +0200
@@ -216,6 +216,8 @@
                               'value',
 
                               'wf_info_for', 'wikiid', 'workflow_of', 'tr_count']
+        if config.cube_version('file') >= (1, 14, 0):
+            expected_relations.append('data_sha1hex')
 
         self.assertListEqual(sorted(expected_relations), relations)