Fix unit tests

Due to a recent change in fm-api's directory structure, unit tests would
fail since the virtualenv would not be able to find fm-api/setup.py.
Adjust the tox.ini to point to the correct directory. Tested locally
by running tox.ini.

Depends-On: https://review.opendev.org/c/starlingx/fault/+/806046

Story: 2009101
Task: 43091

Signed-off-by: Charles Short <charles.short@windriver.com>
Change-Id: I5ef9859cb73702b19530887d040dd7b7b887e8fe
This commit is contained in:
Charles Short 2021-09-28 13:45:17 -04:00
parent 284044eb2b
commit 3991552c19

View File

@ -83,7 +83,7 @@ deps =
{[testenv]deps} {[testenv]deps}
-e{[tox]stxdir}/config/sysinv/sysinv/sysinv -e{[tox]stxdir}/config/sysinv/sysinv/sysinv
-e{[tox]stxdir}/config/tsconfig/tsconfig -e{[tox]stxdir}/config/tsconfig/tsconfig
-e{[tox]stxdir}/fault/fm-api -e{[tox]stxdir}/fault/fm-api/source
commands = pylint {posargs} \ commands = pylint {posargs} \
ceph/ceph-manager/ceph-manager/ceph_manager \ ceph/ceph-manager/ceph-manager/ceph_manager \