community.network
community.network copied to clipboard
Prepare un-flatmapping
SUMMARY
Prepares un-flatmapping. When collapsing the tests/unit/plugins/modules directory tree, there are some clashes because there are different fixtures directories in the tree structure. This PR renames these fixtures directories by prepending them with the module group names.
Also removes some string wrapping so that automatic replacements work.
With these changes, https://gist.github.com/felixfontein/3123dcdf446c9e140949a0589cceb99d can remove flatmapping and at least the Python 3.10 unit tests still pass :)
Ref: https://github.com/ansible-community/community-topics/issues/147
ISSUE TYPE
- Bugfix Pull Request
- Feature Pull Request
COMPONENT NAME
unit tests
Currently contains #470.
Backport to stable-4: 💚 backport PR created
✅ Backport PR branch: patchback/backports/stable-4/a1f1593ed3a7020d2c1bc9b343f850b8ab4a1c0a/pr-469
Backported as https://github.com/ansible-collections/community.network/pull/472
🤖 @patchback I'm built with octomachinery and my source is open — https://github.com/sanitizers/patchback-github-app.
@Andersson007 @russoz thanks a lot for reviewing this!