mirror of
https://github.com/ansible-collections/community.docker.git
synced 2026-07-29 11:55:04 +00:00
Use new tools from community.internal_test_tools. (#1061)
This commit is contained in:
@@ -13,6 +13,7 @@ from ansible.parsing.dataloader import DataLoader
|
||||
from ansible.template import Templar
|
||||
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.compat.mock import create_autospec
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.utils.trust import make_trusted
|
||||
|
||||
from ansible_collections.community.docker.plugins.inventory.docker_containers import InventoryModule
|
||||
|
||||
@@ -258,7 +259,7 @@ def test_populate_filter(inventory, mocker):
|
||||
'groups': {},
|
||||
'keyed_groups': {},
|
||||
'filters': [
|
||||
{'include': 'docker_state.Running is true'},
|
||||
{'include': make_trusted('docker_state.Running is true')},
|
||||
{'exclude': True},
|
||||
],
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user