skip fmg_script unit test if the pyFMG script is not present ()

* skip fmg_script unit test if the pyFMG script is not present

* appease the sanity test gods
This commit is contained in:
David Newswanger 2018-02-26 12:01:14 -05:00 committed by GitHub
parent fb6a8c0133
commit 6bd715a17d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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):