test/data/scripts/script1.py
author Pierre-Yves David <pierre-yves.david@logilab.fr>
Wed, 26 Jun 2013 14:35:55 +0200
changeset 9108 6a4070e2849d
parent 6631 26c303c3f1aa
permissions -rw-r--r--
[connection] handle and explicitly life cycle on Connection Like ClientConnection, Connection object need to be explicitly started and stop. They aims to be used as context manager.

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