mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-05 02:03:09 +00:00
skip fmg_script unit test if the pyFMG script is not present (#36732)
* skip fmg_script unit test if the pyFMG script is not present * appease the sanity test gods
This commit is contained in:
@@ -28,6 +28,11 @@ try:
|
||||
except ImportError:
|
||||
raise SkipTest("Could not load required modules for testing")
|
||||
|
||||
try:
|
||||
from pyFMG.fortimgr import FortiManager
|
||||
except ImportError:
|
||||
raise SkipTest("FortiManager tests require pyFMG package")
|
||||
|
||||
|
||||
class TestFmgrScriptModule(TestFortimanagerModule):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user