From aa347ed3d2dcb81358cb0780e93bfecad57f8e4c Mon Sep 17 00:00:00 2001 From: Charles Short Date: Tue, 28 Sep 2021 13:35:35 -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: I94a2f2aa15f353ac17d6f26ea44ec6bfe91c3a3c --- python-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini b/python-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini index 5677a4b..d3d81a9 100644 --- a/python-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini +++ b/python-k8sapp-ptp-notification/k8sapp_ptp_notification/tox.ini @@ -45,7 +45,7 @@ deps = -r{toxinidir}/requirements.txt -r{toxinidir}/test-requirements.txt -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 -e{[tox]stxdir}/fault/python-fmclient/fmclient -e{[tox]stxdir}/utilities/ceph/python-cephclient/python-cephclient -e{[tox]stxdir}/update/cgcs-patch/cgcs-patch