need post_build_callbacks attribute with earlier yams version
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 05 Feb 2010 11:58:11 +0100
changeset 4469 310b5f01c982
parent 4468 f958628cadc1
child 4470 34f57659f90e
need post_build_callbacks attribute with earlier yams version
test/unittest_schema.py
--- a/test/unittest_schema.py	Fri Feb 05 11:57:52 2010 +0100
+++ b/test/unittest_schema.py	Fri Feb 05 11:58:11 2010 +0100
@@ -247,6 +247,7 @@
         self.loader = CubicWebSchemaLoader()
         self.loader.defined = {}
         self.loader.loaded_files = []
+        self.loader.post_build_callbacks = []
         self.loader._pyreader = PyFileReader(self.loader)
 
     def _test(self, schemafile, msg):