1
0
Fork 0
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:
James Cammarata 2015-07-04 21:48:54 -04:00
parent 76c5be3a31
commit 53cd96befe

View file

@ -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='.'))