From b20ec93944cddb9b979798e3136257b806af1e00 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Tue, 28 Sep 2021 13:27:31 -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 Depends-On: https://review.opendev.org/c/starlingx/openstack-armada-app/+/809276 Story: 2009101 Task: 43091 Signed-off-by: Charles Short Change-Id: I957b905111d2710a3fda228f1659165dbb36a9ac --- python-k8sapp-openstack/k8sapp_openstack/tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python-k8sapp-openstack/k8sapp_openstack/tox.ini b/python-k8sapp-openstack/k8sapp_openstack/tox.ini index dc62379c..f098a713 100644 --- a/python-k8sapp-openstack/k8sapp_openstack/tox.ini +++ b/python-k8sapp-openstack/k8sapp_openstack/tox.ini @@ -46,7 +46,7 @@ deps = -r{toxinidir}/requirements.txt -e{[tox]stxdir}/config/controllerconfig/controllerconfig -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}/update/cgcs-patch/cgcs-patch -e{[tox]stxdir}/utilities/ceph/python-cephclient/python-cephclient