aboutsummaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini13
1 files changed, 8 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index d7734ab6..096d795f 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@ envlist = flake8
[testenv]
deps =
-r{toxinidir}/requirements.txt
- avocado-framework<104.0
+ -r{toxinidir}/test-requirements.txt
python_magic
setenv =
PYTHONPATH = {toxinidir}/tests
@@ -15,6 +15,8 @@ stage_tests =
tests/collect_tests \
tests/report_tests \
tests/vendor_tests
+foreman_tests =
+ tests/product_tests/foreman
[testenv:flake8]
deps = flake8
@@ -29,22 +31,23 @@ basepython = python3
setenv =
PYTHONPATH = .
commands =
- avocado run tests/unittests/
+ avocado run tests/unittests
[testenv:stageone_tests]
basepython = python3
commands =
- {[testenv]avocado_cmd} -t stageone {[testenv]stage_tests}
+ {[testenv]avocado_cmd} -t stageone {posargs:[testenv]stage_tests}
[testenv:stagetwo_tests]
basepython = python3
+sitepackages = True
commands =
- {[testenv]avocado_cmd} -t stagetwo {[testenv]stage_tests}
+ {[testenv]avocado_cmd} -t stagetwo {posargs:[testenv]stage_tests}
[testenv:foreman_tests]
basepython = python3
commands =
- {[testenv]avocado_cmd} -t foreman tests/product_tests/foreman/
+ {[testenv]avocado_cmd} -t foreman {posargs:[testenv]foreman_tests}
[testenv:nosetests]
basepython = python3