Skip f5 tests if f5-sdk is not installed (#27035)

Fixes: bug #27034

Introduced by 278fa552f8
This commit is contained in:
Frederic Lepied 2017-07-19 18:09:25 +02:00 committed by Chris Alfonso
parent 09e9b4b4ba
commit 65d093d9a7
3 changed files with 2 additions and 0 deletions

View file

View file

@ -45,6 +45,7 @@ except ImportError:
from ansible.modules.network.f5.bigip_monitor_tcp_echo import Parameters
from ansible.modules.network.f5.bigip_monitor_tcp_echo import ModuleManager
from ansible.modules.network.f5.bigip_monitor_tcp_echo import ArgumentSpec
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError:
raise SkipTest("F5 Ansible modules require the f5-sdk Python library")

View file

@ -45,6 +45,7 @@ except ImportError:
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import Parameters
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import ModuleManager
from ansible.modules.network.f5.bigip_monitor_tcp_half_open import ArgumentSpec
from ansible.module_utils.f5_utils import iControlUnexpectedHTTPError
except ImportError:
raise SkipTest("F5 Ansible modules require the f5-sdk Python library")