<#21525 additional files in helm_unittest_tests> I...
# github-notifications
c
#21525 additional files in helm_unittest_tests Issue created by seBasKov Describe the bug I am trying the following from the documentation: https://www.pantsbuild.org/stable/docs/helm#feeding-additional-files-to-unit-tests And we are getting the error that:
Copy code
FAIL  test ConfigMap template	custom-deployment/tests/env_configmap_test.yaml
	- should render with the correct env variables from the values.yaml
		Error: open custom-deployment/tests/values.yaml: no such file or directory
Looking in the sandboxes this is also confirmed. The values file is not there. In our tests folder we have the BUILD file with:
Copy code
helm_unittest_tests(dependencies=[":values"])

resources(name="values", sources=["values.yaml"])
The BUILD file in the Chart:
Copy code
helm_chart(
    name="custom-deployment",
    registries=["<oci://example/example/charts>"],
)
files(
    name="release",
    sources=["VERSION", "tbump.toml", "CHANGELOG.md", "Chart.yaml"],
)
files(
    name="helm-files",
    sources=[
        "templates/**/*",
    ],
)
We are starting to suspect that there might be a bug in pants version 2.21.0. Which is the one that we are using. Any thoughts? Pants version Which version of Pants are you using? 2.21.0 OS Are you encountering the bug on MacOS, Linux, or both? MacOs Additional info Add any other information about the problem here, such as attachments or links to gists, if relevant. pantsbuild/pants