]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph-volume: tox tests should ignore the tests/functional directory
authorAndrew Schoen <aschoen@redhat.com>
Thu, 7 Mar 2019 18:37:00 +0000 (12:37 -0600)
committerJan Fajerski <jfajerski@suse.com>
Tue, 13 Aug 2019 07:23:12 +0000 (09:23 +0200)
Without this the functional testinfra tests try to run when we
are intending to only run the unit tests.

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
(cherry picked from commit 1881f386d8207ee8c10f0863c4a1abf18cf3c5d9)

src/ceph-volume/tox.ini

index 514d208facf3cfdffb5cc84a40e30da1487ffff3..fce465def1881132244673eeff7c35a85794c1cb 100644 (file)
@@ -4,7 +4,7 @@ envlist = py27, py35, py36, flake8
 [testenv]
 deps=
   pytest
-commands=py.test -v {posargs:ceph_volume/tests}
+commands=py.test -v {posargs:ceph_volume/tests} --ignore=ceph_volume/tests/functional
 
 [testenv:flake8]
 deps=flake8