author | Julien Jehannet <julien.jehannet@logilab.fr> |
Wed, 28 Apr 2010 16:13:56 +0200 | |
changeset 5430 | ed8f71e244f8 |
child 5436 | 2455ca3a2a3a |
permissions | -rw-r--r-- |
5430
ed8f71e244f8
[shell] #715938: support of script parameters (using standard '--' as arguments separator)
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff
changeset
|
1 |
assert 'data/scripts/script2.py' == __file__ |
ed8f71e244f8
[shell] #715938: support of script parameters (using standard '--' as arguments separator)
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff
changeset
|
2 |
assert '__main__' == __name__ |
ed8f71e244f8
[shell] #715938: support of script parameters (using standard '--' as arguments separator)
Julien Jehannet <julien.jehannet@logilab.fr>
parents:
diff
changeset
|
3 |
assert ['-v'] == scriptargs, scriptargs |