summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDag Wieers <dag@wieers.com>2019-09-24 15:00:00 +0200
committeransibot <ansibot@users.noreply.github.com>2019-09-24 09:00:00 -0400
commit7fa1e4f70fdc3e0a7819c89bbf5f836ef357cf8b (patch)
treef007c75f67f176b665774b14fe7f2ae9321a6eb9 /test
parentd4ec9422a3159230b3b56dce5059ee3250bf800c (diff)
downloadansible-7fa1e4f70fdc3e0a7819c89bbf5f836ef357cf8b.tar.gz
Fix sanity checks (#62782)
This PR fixes all new ACI sanity issues.
Diffstat (limited to 'test')
-rw-r--r--test/sanity/ignore.txt30
-rw-r--r--test/units/module_utils/network/aci/test_aci.py20
2 files changed, 4 insertions, 46 deletions
diff --git a/test/sanity/ignore.txt b/test/sanity/ignore.txt
index 4b98cbe472..a88dfd5410 100644
--- a/test/sanity/ignore.txt
+++ b/test/sanity/ignore.txt
@@ -280,8 +280,6 @@ lib/ansible/module_utils/netapp_module.py future-import-boilerplate
lib/ansible/module_utils/netapp_module.py metaclass-boilerplate
lib/ansible/module_utils/network/a10/a10.py future-import-boilerplate
lib/ansible/module_utils/network/a10/a10.py metaclass-boilerplate
-lib/ansible/module_utils/network/aci/mso.py future-import-boilerplate
-lib/ansible/module_utils/network/aci/mso.py metaclass-boilerplate
lib/ansible/module_utils/network/aireos/aireos.py future-import-boilerplate
lib/ansible/module_utils/network/aireos/aireos.py metaclass-boilerplate
lib/ansible/module_utils/network/aos/aos.py future-import-boilerplate
@@ -2499,28 +2497,6 @@ lib/ansible/modules/network/a10/a10_server_axapi3.py validate-modules:parameter-
lib/ansible/modules/network/a10/a10_service_group.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/network/a10/a10_virtual_server.py validate-modules:doc-default-does-not-match-spec
lib/ansible/modules/network/a10/a10_virtual_server.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_access_port_block_to_access_port.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_access_sub_port_block_to_access_port.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_bd.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_contract_subject.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_fabric_scheduler.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_firmware_group.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_firmware_group_node.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_firmware_policy.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_maintenance_group.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_maintenance_group_node.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/aci_maintenance_policy.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/mso_schema_template_anp_epg.py validate-modules:undocumented-parameter
-lib/ansible/modules/network/aci/mso_schema_template_anp_epg.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/mso_schema_template_bd.py validate-modules:undocumented-parameter
-lib/ansible/modules/network/aci/mso_schema_template_bd.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/mso_schema_template_externalepg.py validate-modules:undocumented-parameter
-lib/ansible/modules/network/aci/mso_schema_template_externalepg.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/mso_schema_template_externalepg.py validate-modules:missing-suboption-docs
-lib/ansible/modules/network/aci/mso_schema_template_l3out.py validate-modules:undocumented-parameter
-lib/ansible/modules/network/aci/mso_schema_template_l3out.py validate-modules:parameter-type-not-in-doc
-lib/ansible/modules/network/aci/mso_schema_template_l3out.py validate-modules:missing-suboption-docs
-lib/ansible/modules/network/aci/mso_site.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/network/aireos/aireos_command.py validate-modules:doc-default-does-not-match-spec
lib/ansible/modules/network/aireos/aireos_command.py validate-modules:parameter-type-not-in-doc
lib/ansible/modules/network/aireos/aireos_command.py validate-modules:doc-missing-type
@@ -5709,8 +5685,6 @@ lib/ansible/plugins/callback/hipchat.py pylint:blacklisted-name
lib/ansible/plugins/connection/lxc.py pylint:blacklisted-name
lib/ansible/plugins/doc_fragments/a10.py future-import-boilerplate
lib/ansible/plugins/doc_fragments/a10.py metaclass-boilerplate
-lib/ansible/plugins/doc_fragments/aci.py future-import-boilerplate
-lib/ansible/plugins/doc_fragments/aci.py metaclass-boilerplate
lib/ansible/plugins/doc_fragments/aireos.py future-import-boilerplate
lib/ansible/plugins/doc_fragments/aireos.py metaclass-boilerplate
lib/ansible/plugins/doc_fragments/alicloud.py future-import-boilerplate
@@ -5835,8 +5809,6 @@ lib/ansible/plugins/doc_fragments/manageiq.py future-import-boilerplate
lib/ansible/plugins/doc_fragments/manageiq.py metaclass-boilerplate
lib/ansible/plugins/doc_fragments/meraki.py future-import-boilerplate
lib/ansible/plugins/doc_fragments/meraki.py metaclass-boilerplate
-lib/ansible/plugins/doc_fragments/mso.py future-import-boilerplate
-lib/ansible/plugins/doc_fragments/mso.py metaclass-boilerplate
lib/ansible/plugins/doc_fragments/mysql.py future-import-boilerplate
lib/ansible/plugins/doc_fragments/mysql.py metaclass-boilerplate
lib/ansible/plugins/doc_fragments/netapp.py future-import-boilerplate
@@ -6156,8 +6128,6 @@ test/units/module_utils/hwc/test_hwc_utils.py metaclass-boilerplate
test/units/module_utils/json_utils/test_filter_non_json_lines.py future-import-boilerplate
test/units/module_utils/net_tools/test_netbox.py future-import-boilerplate
test/units/module_utils/net_tools/test_netbox.py metaclass-boilerplate
-test/units/module_utils/network/aci/test_aci.py future-import-boilerplate
-test/units/module_utils/network/aci/test_aci.py metaclass-boilerplate
test/units/module_utils/network/avi/test_avi_api_utils.py future-import-boilerplate
test/units/module_utils/network/avi/test_avi_api_utils.py metaclass-boilerplate
test/units/module_utils/network/ftd/test_common.py future-import-boilerplate
diff --git a/test/units/module_utils/network/aci/test_aci.py b/test/units/module_utils/network/aci/test_aci.py
index af783b9534..4b1ede55db 100644
--- a/test/units/module_utils/network/aci/test_aci.py
+++ b/test/units/module_utils/network/aci/test_aci.py
@@ -1,22 +1,10 @@
# -*- coding: utf-8 -*-
-# Copyright 2017 Dag Wieers <dag@wieers.com>
-
-# This file is part of Ansible by Red Hat
-#
-# Ansible is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# Ansible is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
+# Copyright: (c) 2017, Dag Wieers (@dagwieers) <dag@wieers.com>
+# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
+from __future__ import (absolute_import, division, print_function)
+__metaclass__ = type
import sys