Commit 1016cf17 authored by Rafael Monnerat's avatar Rafael Monnerat

The arguments are not the script name but the rest of content of the comand line.



git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35364 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 57d7801f
...@@ -82,7 +82,7 @@ class FunctionalTestRunner: ...@@ -82,7 +82,7 @@ class FunctionalTestRunner:
def parseArgs(self, arguments=None): def parseArgs(self, arguments=None):
if arguments is None: if arguments is None:
arguments = sys.argv[:1] arguments = sys.argv[1:]
try: try:
opts, args = getopt.getopt(arguments, opts, args = getopt.getopt(arguments,
"hsd", ["help", "stdout", "debug", "hsd", ["help", "stdout", "debug",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment