From 1163e38d39e583fe13fb171b9e1494f162ab3604 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Fri, 10 Jul 2015 03:33:11 -0400 Subject: [PATCH] Fix unit tests for new magic variable addition 'ansible_version' --- test/units/vars/test_variable_manager.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/units/vars/test_variable_manager.py b/test/units/vars/test_variable_manager.py index e2db28e40e5..9d500d04d8f 100644 --- a/test/units/vars/test_variable_manager.py +++ b/test/units/vars/test_variable_manager.py @@ -43,6 +43,8 @@ class TestVariableManager(unittest.TestCase): del vars['omit'] if 'vars' in vars: del vars['vars'] + if 'ansible_version' in vars: + del vars['ansible_version'] self.assertEqual(vars, dict(playbook_dir='.'))