def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
Exemple #2
0
 def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
Exemple #3
0
    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 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()
Exemple #5
0
def clear_db(base=model_base.BASEV2):
    db.clear_db(base)
Exemple #6
0
 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()
Exemple #10
0
 def tearDown(self):
     neutron_db_api.clear_db()
 def tearDown(self):
     db_api.clear_db()
     super(VyattaVRouterDbTestCase, self).tearDown()
 def tearDown(self):
     db_api.clear_db()
Exemple #13
0
def clear_db(base=model_base.BASEV2):
    db.clear_db(base)
 def tearDown(self):
     self.api = None
     db.clear_db()
     super(RouterServiceInsertionTestCase, self).tearDown()
Exemple #15
0
 def tearDown(self):
     db_api.clear_db()