From dd66e10683f6c562aa6ac633233d280ced8e918a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 8 Dec 2022 22:34:38 +0800 Subject: [PATCH] qa: add pytest to deps of py3 env otherwise it is mising when running test, and we'd have following failure: py3: exit 2 (0.00 seconds) /home/jenkins-build/build/workspace/ceph-pull-requests/qa> pytest --assert=plain test_import.py Signed-off-by: Kefu Chai (cherry picked from commit 127dd54db84afb90ae20fdc7c4ecdcbf789aec25) Conflicts: qa/tox.ini --- qa/tox.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/tox.ini b/qa/tox.ini index 582397efc0794..5465ea67cc3ba 100644 --- a/qa/tox.ini +++ b/qa/tox.ini @@ -20,7 +20,9 @@ commands = mypy {posargs:.} [testenv:import-tasks] basepython = python3 -deps = {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test] +deps = + {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test] + pytest commands = python test_import.py {posargs:tasks/**/*.py} [testenv:pytest] -- 2.39.5