def tearDown(self): self.mox.UnsetStubs() self.stubs.UnsetAll() self.stubs.SmartUnsetAll() self.mox.VerifyAll() db.clear_db() super(MetaNeutronPluginV2Test, self).tearDown()
def tearDown(self): self.api = None self.plugin = None db.clear_db() # Restore the global RESOURCE_ATTRIBUTE_MAP attributes.RESOURCE_ATTRIBUTE_MAP = self.saved_attr_map super(QuotaExtensionTestCase, self).tearDown()
def clear_db(base=model_base.BASEV2): db.clear_db(base)
def tearDown(self): neutron_db_api.clear_db()
def tearDown(self): neutron_db_api.unregister_models(models.BASEV2) neutron_db_api.clear_db()
def tearDown(self): self.api = None db.clear_db() cfg.CONF.reset() super(RouterServiceInsertionTestCase, self).tearDown()
def tearDown(self): db_api.unregister_models(models.BASEV2) db_api.clear_db()
def tearDown(self): db_api.clear_db() super(VyattaVRouterDbTestCase, self).tearDown()
def tearDown(self): db_api.clear_db()
def tearDown(self): self.api = None db.clear_db() super(RouterServiceInsertionTestCase, self).tearDown()