Remove unused imports for vyos (#67550)
These flake8 errors would caught in our collection testing. Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
d7059881a2
commit
493dda94e9
4 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ __metaclass__ = type
|
||||||
|
|
||||||
from copy import deepcopy
|
from copy import deepcopy
|
||||||
from ansible.module_utils.network.common.cfg.base import ConfigBase
|
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.network.vyos.facts.facts import Facts
|
||||||
from ansible.module_utils.six import iteritems
|
from ansible.module_utils.six import iteritems
|
||||||
from ansible.module_utils.network.vyos.utils.utils import list_diff_want_only
|
from ansible.module_utils.network.vyos.utils.utils import list_diff_want_only
|
||||||
|
|
|
@ -19,7 +19,7 @@ from ansible.module_utils.network.common.utils import to_list, dict_diff, remove
|
||||||
from ansible.module_utils.network.vyos.facts.facts import Facts
|
from ansible.module_utils.network.vyos.facts.facts import Facts
|
||||||
from ansible.module_utils.six import iteritems
|
from ansible.module_utils.six import iteritems
|
||||||
from ansible.module_utils.network. vyos.utils.utils import get_route_type, \
|
from ansible.module_utils.network. vyos.utils.utils import get_route_type, \
|
||||||
diff_list_of_dicts, get_lst_diff_for_dicts, get_lst_same_for_dicts, dict_delete
|
get_lst_diff_for_dicts, get_lst_same_for_dicts, dict_delete
|
||||||
|
|
||||||
|
|
||||||
class Static_routes(ConfigBase):
|
class Static_routes(ConfigBase):
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
from units.compat.mock import patch, MagicMock
|
from units.compat.mock import patch
|
||||||
from ansible.modules.network.vyos import vyos_firewall_rules
|
from ansible.modules.network.vyos import vyos_firewall_rules
|
||||||
from units.modules.utils import set_module_args
|
from units.modules.utils import set_module_args
|
||||||
from .vyos_module import TestVyosModule, load_fixture
|
from .vyos_module import TestVyosModule, load_fixture
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
from __future__ import (absolute_import, division, print_function)
|
from __future__ import (absolute_import, division, print_function)
|
||||||
__metaclass__ = type
|
__metaclass__ = type
|
||||||
|
|
||||||
from units.compat.mock import patch, MagicMock
|
from units.compat.mock import patch
|
||||||
from ansible.modules.network.vyos import vyos_static_routes
|
from ansible.modules.network.vyos import vyos_static_routes
|
||||||
from units.modules.utils import set_module_args
|
from units.modules.utils import set_module_args
|
||||||
from .vyos_module import TestVyosModule, load_fixture
|
from .vyos_module import TestVyosModule, load_fixture
|
||||||
|
|
Loading…
Reference in a new issue