From bfea5cfca0ec04c176a973f2109d817fc808502d Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 24 Feb 2020 15:26:42 -0500 Subject: [PATCH] Remove unused imports from vyos_firewall_global (#67710) Signed-off-by: Paul Belanger --- .../network/vyos/config/firewall_global/firewall_global.py | 4 ++-- test/units/modules/network/vyos/test_vyos_firewall_global.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/ansible/module_utils/network/vyos/config/firewall_global/firewall_global.py b/lib/ansible/module_utils/network/vyos/config/firewall_global/firewall_global.py index fc5962466b0..b930768ba38 100644 --- a/lib/ansible/module_utils/network/vyos/config/firewall_global/firewall_global.py +++ b/lib/ansible/module_utils/network/vyos/config/firewall_global/firewall_global.py @@ -15,10 +15,10 @@ __metaclass__ = type from copy import deepcopy from ansible.module_utils.network.common.cfg.base import ConfigBase -from ansible.module_utils.network.common.utils import to_list, dict_diff, remove_empties +from ansible.module_utils.network.common.utils import to_list, remove_empties from ansible.module_utils.network.vyos.facts.facts import Facts from ansible.module_utils.six import iteritems -from ansible.module_utils.network.vyos.utils.utils import list_diff_want_only, list_diff_have_only +from ansible.module_utils.network.vyos.utils.utils import list_diff_want_only class Firewall_global(ConfigBase): diff --git a/test/units/modules/network/vyos/test_vyos_firewall_global.py b/test/units/modules/network/vyos/test_vyos_firewall_global.py index d1bff887191..36e0ba48b52 100644 --- a/test/units/modules/network/vyos/test_vyos_firewall_global.py +++ b/test/units/modules/network/vyos/test_vyos_firewall_global.py @@ -19,7 +19,7 @@ from __future__ import (absolute_import, division, print_function) __metaclass__ = type -from units.compat.mock import patch, MagicMock +from units.compat.mock import patch from ansible.modules.network.vyos import vyos_firewall_global from units.modules.utils import set_module_args from .vyos_module import TestVyosModule, load_fixture