The new woob repository is here: https://gitlab.com/woob/woob. This gitlab will be removed soon.

Commit 1981dc9f authored by Vincent A's avatar Vincent A

tools: fix "woob-config update" argv forcing

By forcing argv, "config update" was received as a command.
parent 4981e9fb
Pipeline #3623 passed with stages
in 63 minutes and 59 seconds
......@@ -114,7 +114,7 @@ export NOSE_NOPATH="1"
if [[ ($TEST_MODULES = 1) || (-n "${BACKEND}") ]]; then
# TODO can we require weboob to be installed before being able to run run_tests.sh?
# if we can, then woob config is present in PATH (virtualenv or whatever)
${PYTHON} -c "import sys; sys.argv='woob config update'.split(); from weboob.applications.config import AppConfig; AppConfig.run()"
${PYTHON} -c "import sys; sys.argv='woob-config update'.split(); from woob.applications.config import AppConfig; AppConfig.run()"
fi
# allow failing commands past this point
......
......@@ -23,7 +23,7 @@ export PYTHONPATH="${WEBOOB_DIR}"
set +e
# TODO can we require woob to be installed before being able to run run_tests.sh?
# if we can, then woob config is present in PATH (virtualenv or whatever)
${PYTHON} -c "import sys; sys.argv='woob config update'.split(); from weboob.applications.config import AppConfig; AppConfig.run()"
${PYTHON} -c "import sys; sys.argv='woob-config update'.split(); from woob.applications.config import AppConfig; AppConfig.run()"
$PYTHON "${WEBOOB_DIR}/tools/woob_lint.py"
......
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