def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
Пример #2
0
 def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
Пример #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()
Пример #4
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()
Пример #5
0
def clear_db(base=model_base.BASEV2):
    db.clear_db(base)
Пример #6
0
 def tearDown(self):
     neutron_db_api.clear_db()
Пример #7
0
 def tearDown(self):
     neutron_db_api.unregister_models(models.BASEV2)
     neutron_db_api.clear_db()
Пример #8
0
 def tearDown(self):
     self.api = None
     db.clear_db()
     cfg.CONF.reset()
     super(RouterServiceInsertionTestCase, self).tearDown()
Пример #9
0
 def tearDown(self):
     db_api.unregister_models(models.BASEV2)
     db_api.clear_db()
Пример #10
0
 def tearDown(self):
     neutron_db_api.clear_db()
 def tearDown(self):
     db_api.clear_db()
     super(VyattaVRouterDbTestCase, self).tearDown()
Пример #12
0
 def tearDown(self):
     db_api.clear_db()
Пример #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()
Пример #15
0
 def tearDown(self):
     db_api.clear_db()