]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa: add pytest to deps of py3 env
authorKefu Chai <tchaikov@gmail.com>
Thu, 8 Dec 2022 14:34:38 +0000 (22:34 +0800)
committerAdam King <adking@redhat.com>
Fri, 9 Dec 2022 18:53:19 +0000 (13:53 -0500)
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 <tchaikov@gmail.com>
(cherry picked from commit 127dd54db84afb90ae20fdc7c4ecdcbf789aec25)

Conflicts:
qa/tox.ini

qa/tox.ini

index 582397efc07942423cf9811c11ea548188595af2..5465ea67cc3ba4cc9828bb1f06672ab8b099b6a2 100644 (file)
@@ -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]