diff options
author | ansible-zuul[bot] <48994755+ansible-zuul[bot]@users.noreply.github.com> | 2020-03-02 22:23:44 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-02 22:23:44 +0000 |
commit | 451761d89e3c523317faf5e8e58f2b51d3c68572 (patch) | |
tree | 243ac3decc1818d1469bcc2ec561cdde4e492bd8 /tests | |
parent | 1b812d72c2f7076229404891724b56bfc8a56312 (diff) | |
parent | 5bd456548bc5f6ac623463319e3a7d97840f16e8 (diff) | |
download | vyos.vyos-451761d89e3c523317faf5e8e58f2b51d3c68572.tar.gz vyos.vyos-451761d89e3c523317faf5e8e58f2b51d3c68572.zip |
Merge pull request #6 from pabelanger/temp/flake8-errors
Fix flake8 errors from last sync from ansible/ansible
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/modules/network/vyos/test_vyos_firewall_interfaces.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/unit/modules/network/vyos/test_vyos_firewall_interfaces.py b/tests/unit/modules/network/vyos/test_vyos_firewall_interfaces.py index 1ffeae46..92d2a4f3 100644 --- a/tests/unit/modules/network/vyos/test_vyos_firewall_interfaces.py +++ b/tests/unit/modules/network/vyos/test_vyos_firewall_interfaces.py @@ -20,10 +20,7 @@ from __future__ import absolute_import, division, print_function __metaclass__ = type -from ansible_collections.vyos.vyos.tests.unit.compat.mock import ( - patch, - MagicMock, -) +from ansible_collections.vyos.vyos.tests.unit.compat.mock import patch from ansible_collections.vyos.vyos.plugins.modules import ( vyos_firewall_interfaces, ) @@ -64,7 +61,8 @@ class TestVyosFirewallInterfacesModule(TestVyosModule): ) self.mock_execute_show_command = patch( - "ansible_collections.vyos.vyos.plugins.module_utils.network.vyos.facts.firewall_interfaces.firewall_interfaces.Firewall_interfacesFacts.get_device_data" + "ansible_collections.vyos.vyos.plugins.module_utils.network.vyos." + "facts.firewall_interfaces.firewall_interfaces.Firewall_interfacesFacts.get_device_data" ) self.execute_show_command = self.mock_execute_show_command.start() |