Fixed sanity tests
This commit is contained in:
parent
eb33221a0f
commit
1992c396e8
|
|
@ -193,7 +193,6 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
||||||
self._get_peer_inventory()
|
self._get_peer_inventory()
|
||||||
self._add_hostvars_for_peers()
|
self._add_hostvars_for_peers()
|
||||||
|
|
||||||
|
|
||||||
if update_cache:
|
if update_cache:
|
||||||
self._cache[cache_key] = self._cacheable_inventory()
|
self._cache[cache_key] = self._cacheable_inventory()
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ import json
|
||||||
|
|
||||||
display = Display()
|
display = Display()
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope="module")
|
@pytest.fixture(scope="module")
|
||||||
def inventory():
|
def inventory():
|
||||||
plugin = InventoryModule()
|
plugin = InventoryModule()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue