Fixes unit tests for bigip_device_auth that were broken in 2.8 (#48459)

This commit is contained in:
Tim Rupp
2018-11-09 21:56:26 -08:00
committed by GitHub
parent 68084d989c
commit c161ffef81
2 changed files with 15 additions and 8 deletions

View File

@@ -790,8 +790,9 @@ def main():
supports_check_mode=spec.supports_check_mode,
)
client = F5RestClient(**module.params)
try:
client = F5RestClient(**module.params)
mm = ModuleManager(module=module, client=client)
results = mm.exec_module()
cleanup_tokens(client)