cubicweb/misc/migration/3.13.0_Any.py
author Philippe Pepiot <philippe.pepiot@logilab.fr>
Fri, 10 May 2019 16:07:32 +0200
changeset 12597 7882ad333954
parent 11057 0b59724cb3f2
permissions -rw-r--r--
Move CWSchemaTC to RQLExpressionTC The test actually doesn't require a cubicweb schema, except for testing EmailAdress which is out of scope of the test (testing RQLExpression.transform_has_permission()). Just move the test in existing RQLExpressionTC inheriting from TestCase and rename the tests to be more explicit.

sync_schema_props_perms('cw_source', syncprops=False)
if schema['BigInt'].eid is None:
    add_entity_type('BigInt')