Lookup Plugin Tests πΒΆ
Integration tests for the custom Ansible lookup plugins under plugins/lookup/: config-path validation against role schemas and runtime caching performance.
Tests in this directory MUST only cover lookup-plugin behavior (schema validation of lookup('config', β¦) paths, caching semantics, performance smoke). Pure unit tests for a single lookup pluginβs return values MUST live under tests/unit/python/plugins/lookup/.
config/ holds the lookup('config', β¦) path-validation suite. The four classifier tests share a single cached project scan exposed by _scan.iter_matches and _scan.get_context; validation helpers live in _validate.py.
For framework, directory layout, and make test-integration usage see integration.md.