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._add_hostvars_for_peers()
|
||||
|
||||
|
||||
if update_cache:
|
||||
self._cache[cache_key] = self._cacheable_inventory()
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ import json
|
|||
|
||||
display = Display()
|
||||
|
||||
|
||||
@pytest.fixture(scope="module")
|
||||
def inventory():
|
||||
plugin = InventoryModule()
|
||||
|
|
|
|||
Loading…
Reference in New Issue