diff options
author | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-19 22:43:56 +0100 |
---|---|---|
committer | Rodolfo Carvalho <rhcarvalho@gmail.com> | 2017-02-20 18:12:04 +0100 |
commit | 7ca7fbdae8ab8fd279a4af9b5d6f140b1aff72e9 (patch) | |
tree | aaeb7be69bbd52fd57cdb9cd06fcbbb208233fe3 | |
parent | 1ac142fa1e785aade8272759d32561fc716e8740 (diff) | |
download | openshift-7ca7fbdae8ab8fd279a4af9b5d6f140b1aff72e9.tar.gz openshift-7ca7fbdae8ab8fd279a4af9b5d6f140b1aff72e9.tar.bz2 openshift-7ca7fbdae8ab8fd279a4af9b5d6f140b1aff72e9.tar.xz openshift-7ca7fbdae8ab8fd279a4af9b5d6f140b1aff72e9.zip |
Accept extra positional arguments in tox
Example:
tox -e py35-ansible22-unit -- --collect-only
-rw-r--r-- | tox.ini | 4 | ||||
-rw-r--r-- | utils/tox.ini | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -12,8 +12,8 @@ deps = ansible22: ansible~=2.2 commands = - unit: pytest - flake8: flake8 + unit: pytest {posargs} + flake8: flake8 {posargs} pylint: python setup.py lint yamllint: python setup.py yamllint generate_validation: python setup.py generate_validation diff --git a/utils/tox.ini b/utils/tox.ini index 2a29d1525..2524923cb 100644 --- a/utils/tox.ini +++ b/utils/tox.ini @@ -14,6 +14,6 @@ commands = # Needed to make detox work, since it ignores usedevelop # https://github.com/tox-dev/tox/issues/180 unit: pip install -e . - unit: pytest + unit: pytest {posargs} flake8: python setup.py flake8 pylint: python setup.py lint |