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:
parent
cf2a66ef30
commit
1163e38d39
1 changed files with 2 additions and 0 deletions
|
@ -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='.'))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue