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
파일: api.py 프로젝트: kavonm/neutron
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
파일: api.py 프로젝트: yangxu2014/neutron
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()