misc/migration/3.9.5_Any.py
author David Douard <david.douard@logilab.fr>
Tue, 30 Jul 2013 16:48:57 +0200
branchstable
changeset 9202 83f73a9746f6
parent 6105 a648c832da1f
permissions -rw-r--r--
[i18n test] hack to make i18n tests run using a Python interpreter they used to work fine when executed via pytest only. This should be removed as soon as logilab.common.registry is fixed.

if not rql('CWConstraintType X WHERE X name "RQLUniqueConstraint"',
           ask_confirm=False):
    rql('INSERT CWConstraintType X: X name "RQLUniqueConstraint"',
        ask_confirm=False)