From 53cd96befea33a73498b932904f99c9612ef2db8 Mon Sep 17 00:00:00 2001 From: James Cammarata Date: Sat, 4 Jul 2015 21:48:54 -0400 Subject: [PATCH] Updating unit tests to account for new magic variable 'vars' --- 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 4371008bb9..e2db28e40e 100644 --- a/test/units/vars/test_variable_manager.py +++ b/test/units/vars/test_variable_manager.py @@ -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='.'))