Fixes bug
1070353
Change-Id: Ie9271dd1ef2597ba74a0fea51ecf151ae2e8f7dd
_ENGINE = None
_MAKER = None
-BASE = model_base.BASE
+BASE = model_base.BASEV2
class MySQLPingListener(object):
return cls.__name__.lower() + 's'
-BASE = declarative.declarative_base(cls=QuantumBase)
BASEV2 = declarative.declarative_base(cls=QuantumBaseV2)
super(QuantumDbPluginV2TestCase, self).tearDown()
# NOTE(jkoelker) for a 'pluggable' framework, Quantum sure
# doesn't like when the plugin changes ;)
+ db.clear_db()
db._ENGINE = None
db._MAKER = None
cfg.CONF.reset()