Skipping the import if its deps aren't installed, use --no-skip if you want to run this
This commit is contained in:
parent
1d706dd93e
commit
028f333970
|
@ -12,9 +12,11 @@ from nose.plugins.attrib import attr
|
|||
from nose import with_setup
|
||||
import unittest
|
||||
import shutil
|
||||
|
||||
from heat.cfntools.cfn_helper import *
|
||||
|
||||
from nose.exc import SkipTest
|
||||
try:
|
||||
from heat.cfntools.cfn_helper import *
|
||||
except:
|
||||
raise SkipTest("unable to import cfn helper, skipping")
|
||||
|
||||
@attr(tag=['unit', 'cfn_helper'])
|
||||
@attr(speed='fast')
|
||||
|
|
Loading…
Reference in New Issue