The integration tests were overly complicated, probably some history there.
New fixture to generate a per test ephemeral directory in the project/.cache dir
Ephemeral directory will be removed if the test suceeds, both the destroy and rmtree are conditional on success, this can help with debugging test failures
Removed some legacy code from the integration conf test file.
Type hints and doc strings added as needed.
Some of the unit tests still use the ~/.cache/molecule directory rather than the project cache directory. Time permitting this will be adressed in future PRs.
The integration tests were overly complicated, probably some history there.
Some of the unit tests still use the ~/.cache/molecule directory rather than the project cache directory. Time permitting this will be adressed in future PRs.