aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/security/check_versions/pyproject.toml3
-rw-r--r--test/security/check_versions/versions/reporting.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/test/security/check_versions/pyproject.toml b/test/security/check_versions/pyproject.toml
index a9b5c540e..2c235c7b8 100644
--- a/test/security/check_versions/pyproject.toml
+++ b/test/security/check_versions/pyproject.toml
@@ -19,3 +19,6 @@ build-backend = "setuptools.build_meta"
[project.entry-points."xtesting.testcase"]
versions = "versions.k8s_bin_versions_inspector_test_case:Inspector"
+
+[tool.setuptools.package-data]
+versions = ["templates/*.j2"]
diff --git a/test/security/check_versions/versions/reporting.py b/test/security/check_versions/versions/reporting.py
index 43ef26db8..9053600c2 100644
--- a/test/security/check_versions/versions/reporting.py
+++ b/test/security/check_versions/versions/reporting.py
@@ -244,7 +244,7 @@ class OnapVersionsReporting:
# Create reporting page
jinja_env = Environment(
autoescape=select_autoescape(["html"]),
- loader=PackageLoader("onap_check_versions"),
+ loader=PackageLoader("versions"),
)
page_info = {
"title": "ONAP Integration versions reporting",