ansible-community / collection_migration

DONE AND DONE: Was scripts and scenarios for migration from core code to collections
19 stars 26 forks source link

migrate.py incorrectly associates integration tests with plugins #466

Closed mattclay closed 4 years ago

mattclay commented 4 years ago

The config integration test belongs in ansible-base. However, migrate.py is putting it into the netcommon collection.

This is most likely because there is a config.py plugin being migrated to that collection.

When auto-detecting integration tests, only module/action targets are named the same as the module/action (without a preceding _). All non-module/non-action plugins should only match targets named {plugin_type}_{plugin_name}.

mattclay commented 4 years ago

I haven't checked to see if any other tests are affected.

mattclay commented 4 years ago

The known_hosts test is also affected.

mattclay commented 4 years ago

As is the parsing test.

mattclay commented 4 years ago

This is not an exhaustive list, but so far I've found: