test/data/scripts/script2.py
author David Douard <david.douard@logilab.fr>
Thu, 25 Jul 2013 08:52:15 +0200
branchstable
changeset 9184 b982e88e4836
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[repo] normalize ValidationError on edited entity (closes #2509729) In CubicWeb, ValidationError.entity MUST be the eid of the involved entity, not the entity iteself (as done by yams).

from os.path import join
assert __file__.endswith(join('scripts', 'script2.py')), __file__
assert '__main__' == __name__, __name__
assert ['-v'] == __args__, __args__