Remove setUp function
The setUp function in SqlAlchemyCustomTypesTestCase class is not necessary. The setUp function of the base class has set the dbapi. Change-Id: I6c38ced09de025df26166f8a8111d4721cffdf24 Closes-Bug: 1476066
This commit is contained in:
parent
d103f8fb69
commit
2f4cfc1ab3
|
@ -15,7 +15,6 @@
|
|||
from oslo_db import exception as db_exc
|
||||
|
||||
from magnum.common import utils as magnum_utils
|
||||
from magnum.db import api as dbapi
|
||||
import magnum.db.sqlalchemy.api as sa_api
|
||||
from magnum.db.sqlalchemy import models
|
||||
from magnum.tests.unit.db import base
|
||||
|
@ -23,10 +22,6 @@ from magnum.tests.unit.db import base
|
|||
|
||||
class SqlAlchemyCustomTypesTestCase(base.DbTestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(SqlAlchemyCustomTypesTestCase, self).setUp()
|
||||
self.dbapi = dbapi.get_instance()
|
||||
|
||||
def test_JSONEncodedDict_default_value(self):
|
||||
# Create pod w/o labels
|
||||
pod1_id = magnum_utils.generate_uuid()
|
||||
|
|
Loading…
Reference in New Issue