[PR #9179/a3bd49c0 backport][stable-10] deps module utils: unit tests + minor improvement (#9182)

deps module utils: unit tests + minor improvement (#9179)

* deps module utils: unit tests + minor improvement

* deps.clear() calls dict.clear() instead of creating new dict

* add changelog frag

(cherry picked from commit a3bd49c010)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
patchback[bot] 2024-11-25 19:49:12 +01:00 committed by GitHub
commit 0b64fc1ee4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 81 additions and 1 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- deps module utils - add ``deps.clear()`` to clear out previously declared dependencies (https://github.com/ansible-collections/community.general/pull/9179).