]> 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:23:55 +0000 (13:23 -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)

qa/tox.ini

index 620cdbb54a0ac23ec0cf8d9f6187c19c9033e09f..5b2149c4989bf89cc68e9fa8b1116ce9b088cf01 100644 (file)
@@ -32,6 +32,7 @@ basepython = python3
 deps =
   {env:TEUTHOLOGY_GIT:git+https://github.com/ceph/teuthology.git@main}#egg=teuthology[coverage,orchestra,test]
   httplib2
+  pytest
 commands =
   pytest --assert=plain test_import.py
   pytest tasks/tests --suite-dir {toxinidir}/suites {posargs}