cubicweb/test/data/scripts/script1.py
author Sylvain Thénault <sylvain.thenault@logilab.fr>
Mon, 30 Jan 2017 10:18:31 +0100
changeset 11936 46a0366a32af
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[devtools] Skip computed relations when attempting to auto-populate test database Fix the automatic database population underlying automatic test to avoid attempt to create computed relations.

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