diff options
Diffstat (limited to 'test/units/vars/test_variable_manager.py')
-rw-r--r-- | test/units/vars/test_variable_manager.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/units/vars/test_variable_manager.py b/test/units/vars/test_variable_manager.py index a6feb82bd2..0318d9cc40 100644 --- a/test/units/vars/test_variable_manager.py +++ b/test/units/vars/test_variable_manager.py @@ -22,7 +22,6 @@ import os import unittest from unittest.mock import MagicMock, patch from ansible.inventory.manager import InventoryManager -from ansible.module_utils.six import iteritems from ansible.playbook.play import Play @@ -57,7 +56,7 @@ class TestVariableManager(unittest.TestCase): v._extra_vars = extra_vars myvars = v.get_vars(use_cache=False) - for (key, val) in iteritems(extra_vars): + for key, val in extra_vars.items(): self.assertEqual(myvars.get(key), val) def test_variable_manager_options_vars(self): @@ -71,7 +70,7 @@ class TestVariableManager(unittest.TestCase): v._extra_vars = options_vars myvars = v.get_vars(use_cache=False) - for (key, val) in iteritems(options_vars): + for key, val in options_vars.items(): self.assertEqual(myvars.get(key), val) def test_variable_manager_play_vars(self): |