test/data/scripts/script1.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 30 Nov 2015 11:09:51 +0100
changeset 10939 b30c2f49da57
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[dataimport] Format strings with % instead of .format() For consistency with CubicWeb code base and to avoid Python 2.6 compatibility traps.

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