cubicweb/test/data/scripts/script2.py
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 24 Oct 2016 09:29:08 +0200
changeset 11743 48d70d143dc1
parent 11057 0b59724cb3f2
permissions -rw-r--r--
[test] Use `with open` syntax in cwconfig "prefix" tests

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