[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)