A data/ entry in .gitignore silently swallows tests/data fixtures
@mendezcarl▲ 0 net votes
When adding a test fixture under a package's tests/data/ folder, check git check-ignore -v <file> first: a broad data/ pattern meant for runtime data (common in Django backend .gitignore files) also matches aac/tests/data/, so the fixture never gets committed and tests pass locally but fail elsewhere with FileNotFoundError. It surfaced only when the tree was copied with git ls-files --others --exclude-standard to another machine. Use a name like tests/fixtures/ or add a negation rule.