コード例 #1
0
 def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
コード例 #2
0
ファイル: test_metaplugin.py プロジェクト: rhel-osp/neutron
 def tearDown(self):
     self.mox.UnsetStubs()
     self.stubs.UnsetAll()
     self.stubs.SmartUnsetAll()
     self.mox.VerifyAll()
     db.clear_db()
     super(MetaNeutronPluginV2Test, self).tearDown()
コード例 #3
0
ファイル: test_quota_ext.py プロジェクト: pjh03/quantum
    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
ファイル: test_ipam.py プロジェクト: blamarvt/quark-1
 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
ファイル: test_nvp_driver.py プロジェクト: mohanraj1311/quark
 def tearDown(self):
     db_api.unregister_models(models.BASEV2)
     db_api.clear_db()
コード例 #10
0
 def tearDown(self):
     neutron_db_api.clear_db()
コード例 #11
0
 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)
コード例 #14
0
 def tearDown(self):
     self.api = None
     db.clear_db()
     super(RouterServiceInsertionTestCase, self).tearDown()
コード例 #15
0
 def tearDown(self):
     db_api.clear_db()