mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 22:33:25 +00:00
Updating unit tests to account for new magic variable 'vars'
This commit is contained in:
@@ -41,6 +41,8 @@ class TestVariableManager(unittest.TestCase):
|
|||||||
vars = v.get_vars(loader=fake_loader, use_cache=False)
|
vars = v.get_vars(loader=fake_loader, use_cache=False)
|
||||||
if 'omit' in vars:
|
if 'omit' in vars:
|
||||||
del vars['omit']
|
del vars['omit']
|
||||||
|
if 'vars' in vars:
|
||||||
|
del vars['vars']
|
||||||
|
|
||||||
self.assertEqual(vars, dict(playbook_dir='.'))
|
self.assertEqual(vars, dict(playbook_dir='.'))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user