mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-02 15:21:25 -07:00
Don't cache duplicate plugin names (#34420)
* Don't cache duplicate plugin names. Fixes #33484 * Add tests for duplicate plugin filenames, to showcase what happens
This commit is contained in:
parent
edf56c9743
commit
aece0818c4
4 changed files with 61 additions and 1 deletions
8
test/units/plugins/loader_fixtures/import_fixture.py
Normal file
8
test/units/plugins/loader_fixtures/import_fixture.py
Normal file
|
@ -0,0 +1,8 @@
|
|||
# Nothing to see here, this file is just empty to support a imp.load_source
|
||||
# without doing anything
|
||||
__metaclass__ = type
|
||||
|
||||
|
||||
class test:
|
||||
def __init__(self, *args, **kwargs):
|
||||
pass
|
Loading…
Add table
Add a link
Reference in a new issue