From: Kefu Chai Date: Thu, 8 Dec 2022 14:34:38 +0000 (+0800) Subject: qa: add pytest to deps of py3 env X-Git-Tag: v16.2.11~54^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=dd66e10683f6c562aa6ac633233d280ced8e918a;p=ceph.git 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 --- diff --git a/qa/tox.ini b/qa/tox.ini index 582397efc079..5465ea67cc3b 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]