I'm experiencing a test that - passes in CI - Fail...
# general
p
I'm experiencing a test that • passes in CI • Fails locally for multiple people This test depends on a file relative to the test file... this is not declared as a dependency for the python_test target. Any thoughts on how to debug this? I'd expect CI to fail. 😿
a
I presume the file exists in the repo, yes?
p
It does. dira • file • thing.py • dirb ◦ test.py Since dirA is packaged.. does file get slurped up?
a
Packaging should matter, but you will probably need to declare the file as a dependency: the test can only see files that are in the execution sandbox alongside it
it's not immediately clear to me why it would pass in CI though
p
TLDR: deep in a test, somebody mocked out the file. And order is restored.
😌 1