mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-02 00:33:09 +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)
|
||||
if 'omit' in vars:
|
||||
del vars['omit']
|
||||
if 'vars' in vars:
|
||||
del vars['vars']
|
||||
|
||||
self.assertEqual(vars, dict(playbook_dir='.'))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user