1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix unit tests for new magic variable addition 'ansible_version'

This commit is contained in:
James Cammarata 2015-07-10 03:33:11 -04:00
parent cf2a66ef30
commit 1163e38d39

View file

@ -43,6 +43,8 @@ class TestVariableManager(unittest.TestCase):
del vars['omit'] del vars['omit']
if 'vars' in vars: if 'vars' in vars:
del vars['vars'] del vars['vars']
if 'ansible_version' in vars:
del vars['ansible_version']
self.assertEqual(vars, dict(playbook_dir='.')) self.assertEqual(vars, dict(playbook_dir='.'))