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:
Zane Bitter 2012-12-13 15:37:25 +01:00
parent f531f6fb28
commit 8d1e6e3ab5
1 changed files with 1 additions and 5 deletions

View File

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