azure
azure copied to clipboard
Expand Inventory filter integration tests
Add inventory integration tests that exercise the exclude filter.
SUMMARY
Missing integration tests that cover the host filtering feature of the inventory plugin
ISSUE TYPE
- Feature Pull Request
COMPONENT NAME
plugins/inventory/azure_rm.py
ADDITIONAL INFORMATION
We had a customer report issues with the inventory plugin and while no bug was found we also didn't have a use case to validate the filtering was working as expected in the plugin.
This PR adds an additional virtual machine and tags that are not present in the first virtual machine. These filters reproduce what the customer was filtering with and the issues we ran into.