Sync up notification handler test naming

Change-Id: I0b47e7720b7bc2e503b51a7f783d55e7813e74c7
This commit is contained in:
Kiall Mac Innes 2012-11-09 21:41:47 +00:00
parent 16297b3394
commit e8e457db4e
2 changed files with 5 additions and 7 deletions

View File

@ -15,8 +15,6 @@
# under the License.
import json
import os
from moniker.openstack.common import cfg
from moniker import storage
from moniker.tests import TestCase
FIXTURES_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__),
@ -24,11 +22,11 @@ FIXTURES_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__),
'sample_notifications'))
class HandlerTestCase(TestCase):
class NotificationHandlerTestCase(TestCase):
__test__ = False
def setUp(self):
super(HandlerTestCase, self).setUp()
super(NotificationHandlerTestCase, self).setUp()
self.central_service = self.get_central_service()
def get_notification_fixture(self, service, name):

View File

@ -16,17 +16,17 @@
from nose import SkipTest
from moniker.openstack.common import cfg
from moniker.openstack.common import log as logging
from moniker.tests.test_handler import HandlerTestCase
from moniker.tests.test_notification_handler import NotificationHandlerTestCase
from moniker.notification_handler import nova
LOG = logging.getLogger(__name__)
class NovaHandlerTest(HandlerTestCase):
class NovaNotificationHandlerTestCase(NotificationHandlerTestCase):
__test__ = True
def setUp(self):
super(NovaHandlerTest, self).setUp()
super(NovaNotificationHandlerTestCase, self).setUp()
self._init_handler()