summaryrefslogtreecommitdiff
path: root/test/units/modules/network/f5/test_bigip_iapp_template.py
diff options
context:
space:
mode:
authorTim Rupp <caphrim007@gmail.com>2017-11-02 07:47:28 -0700
committerGitHub <noreply@github.com>2017-11-02 07:47:28 -0700
commit6b6df43eaeac169fe91050737434ffc7f6070233 (patch)
treea2bab6bc001006abb63d487f18347da45d236c8d /test/units/modules/network/f5/test_bigip_iapp_template.py
parentee26ecfcfde9a2a71853aee217b3928e52ce68b8 (diff)
downloadansible-6b6df43eaeac169fe91050737434ffc7f6070233.tar.gz
Removes bigip_iapp_template from the skip file (#32488)
Diffstat (limited to 'test/units/modules/network/f5/test_bigip_iapp_template.py')
-rw-r--r--test/units/modules/network/f5/test_bigip_iapp_template.py20
1 files changed, 4 insertions, 16 deletions
diff --git a/test/units/modules/network/f5/test_bigip_iapp_template.py b/test/units/modules/network/f5/test_bigip_iapp_template.py
index 866d3df27b..5378bd94f0 100644
--- a/test/units/modules/network/f5/test_bigip_iapp_template.py
+++ b/test/units/modules/network/f5/test_bigip_iapp_template.py
@@ -1,21 +1,7 @@
# -*- coding: utf-8 -*-
#
-# Copyright 2017 F5 Networks Inc.
-#
-# This file is part of Ansible
-#
-# 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 F5 Networks Inc.
+# 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
@@ -38,11 +24,13 @@ try:
from library.bigip_iapp_template import Parameters
from library.bigip_iapp_template import ModuleManager
from library.bigip_iapp_template import ArgumentSpec
+ from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError:
try:
from ansible.modules.network.f5.bigip_iapp_template import Parameters
from ansible.modules.network.f5.bigip_iapp_template import ArgumentSpec
from ansible.modules.network.f5.bigip_iapp_template import ModuleManager
+ from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError:
raise SkipTest("F5 Ansible modules require the f5-sdk Python library")