Fix flake8 errors related to vyos.vyos collection (#66516)

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
pull/66532/head
Paul Belanger 5 years ago committed by GitHub
parent 3b764c6dcb
commit 0fa556f751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -33,12 +33,10 @@ version_added: "2.4"
import re
import json
from itertools import chain
from ansible.errors import AnsibleConnectionFailure
from ansible.module_utils._text import to_text
from ansible.module_utils.common._collections_compat import Mapping
from ansible.module_utils.network.common.config import NetworkConfig, dumps
from ansible.module_utils.network.common.config import NetworkConfig
from ansible.module_utils.network.common.utils import to_list
from ansible.plugins.cliconf import CliconfBase

@ -51,5 +51,4 @@ class TestVyosBannerModule(TestVyosModule):
def test_vyos_banner_remove(self):
set_module_args(dict(banner='pre-login', state='absent'))
commands = ['delete system login banner pre-login']
self.execute_module(changed=False, commands=[])

@ -94,4 +94,4 @@ class TestVyosFactsModule(TestVyosModule):
def test_vyos_facts_invalid_subset(self):
set_module_args(dict(gather_subset='cereal'))
result = self.execute_module(failed=True)
self.execute_module(failed=True)

Loading…
Cancel
Save