Don't skip watchrule test on exception
There are no circumstances in which failing to import the heat.engine.watchrule module would not be an issue. Change-Id: I6d03ed8f761a24aa69409010390289e387523813 Signed-off-by: Zane Bitter <zbitter@redhat.com>
This commit is contained in:
parent
f531f6fb28
commit
8d1e6e3ab5
|
@ -17,16 +17,12 @@ import datetime
|
|||
import mox
|
||||
from nose.plugins.attrib import attr
|
||||
import unittest
|
||||
from nose.exc import SkipTest
|
||||
import logging
|
||||
from heat.common import context
|
||||
import heat.db as db_api
|
||||
|
||||
from heat.openstack.common import timeutils
|
||||
try:
|
||||
from heat.engine import watchrule
|
||||
except:
|
||||
raise SkipTest("unable to import watchrule, skipping")
|
||||
from heat.engine import watchrule
|
||||
|
||||
|
||||
logger = logging.getLogger('test_watch')
|
||||
|
|
Loading…
Reference in New Issue