test/data/scripts/script1.py
author Julien Cristau <julien.cristau@logilab.fr>
Fri, 13 Jun 2014 11:21:45 +0200
branchstable
changeset 9922 fc02ba8654a7
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[serverctl] fix default value for db-init config-level Otherwise cubicweb-ctl db-init --automatic complains that "--automatic and --config-level should not be used together" when they weren't. Closes #3984336

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