From 3991552c19bd4329ff3b943762fe0f3ac756b07d Mon Sep 17 00:00:00 2001 From: Charles Short Date: Tue, 28 Sep 2021 13:45:17 -0400 Subject: [PATCH] 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 Change-Id: I5ef9859cb73702b19530887d040dd7b7b887e8fe --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 30fc61c9..f330ce49 100644 --- a/tox.ini +++ b/tox.ini @@ -83,7 +83,7 @@ deps = {[testenv]deps} -e{[tox]stxdir}/config/sysinv/sysinv/sysinv -e{[tox]stxdir}/config/tsconfig/tsconfig - -e{[tox]stxdir}/fault/fm-api + -e{[tox]stxdir}/fault/fm-api/source commands = pylint {posargs} \ ceph/ceph-manager/ceph-manager/ceph_manager \