test/data/scripts/script3.py
author David Douard <david.douard@logilab.fr>
Tue, 27 Nov 2012 12:24:56 +0100
branchstable
changeset 8602 d066ba3bb07d
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[web] add a Forbidden exception This is similar to the Unauthorized exception, but generates a 403 error instead of a 401 (Unauthorized)

from os.path import join
assert __file__.endswith(join('scripts', 'script3.py')), __file__
assert '__main__' == __name__, __name__
assert ['-vd', '-f', 'FILE.TXT'] == __args__, __args__