mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Updating unit tests to account for new magic variable 'vars'
This commit is contained in:
parent
76c5be3a31
commit
53cd96befe
1 changed files with 2 additions and 0 deletions
|
@ -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='.'))
|
||||
|
||||
|
|
Loading…
Reference in a new issue