skeleton/migration/precreate.py.tmpl
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Thu, 03 Mar 2011 11:52:35 +0100 (2011-03-03)
branchstable
changeset 7052 9680cf108821
parent 5426 0d4853a6e5ee
child 8207 c04676b16c59
permissions -rw-r--r--
[test/windmill] Gracefully skip windmill test if windmill can't be imported. If windmill import fails the windmill module is set to None and a dummy CubicWebWindmillUseCase test class is create. This class contains a test that skip itself with a proper warning message.
# copyright %(year)s %(author)s, all rights reserved.
# contact %(author-web-site)s -- mailto:%(author-email)s
#
%(long-license)s
"""%(distname)s precreate script, executed at instance creation time or when
the cube is added to an existing instance, before the schema is serialized.

This is typically to create groups referenced by the cube'schema.
"""