Remove unused abstract class definitions
Fixes bug #1210281 Removed abstract classes definitions from DBTestBase and EventTestBase classes in storage driver tests since they are not used. Neither of these classes has defined any abstract methods, so the abstract class definitions are unnecessary. Also removed import statement for abstract base classes since there are now no abstract class definitions. Change-Id: I0b5b487631d780ba2ab087dce2ef340f126f8a69
This commit is contained in:
parent
1e8b2b9b3a
commit
51cd25c6b2
@ -20,7 +20,6 @@
|
||||
""" Base classes for DB backend implemtation test
|
||||
"""
|
||||
|
||||
import abc
|
||||
import datetime
|
||||
|
||||
from oslo.config import cfg
|
||||
@ -35,7 +34,6 @@ from ceilometer import utils
|
||||
|
||||
|
||||
class DBTestBase(test_db.TestBase):
|
||||
__metaclass__ = abc.ABCMeta
|
||||
|
||||
def setUp(self):
|
||||
super(DBTestBase, self).setUp()
|
||||
@ -1103,7 +1101,6 @@ class EventTestBase(test_db.TestBase):
|
||||
"""Separate test base class because we don't want to
|
||||
inherit all the Meter stuff.
|
||||
"""
|
||||
__metaclass__ = abc.ABCMeta
|
||||
|
||||
def setUp(self):
|
||||
super(EventTestBase, self).setUp()
|
||||
|
Loading…
x
Reference in New Issue
Block a user