Merge "Split up metering test case into plugin + test case"
This commit is contained in:
commit
b7681c30f5
@ -142,6 +142,8 @@ class MeteringPluginDbTestCase(test_db_plugin.NeutronDbPluginV2TestCase,
|
|||||||
app = config.load_paste_app('extensions_test_app')
|
app = config.load_paste_app('extensions_test_app')
|
||||||
self.ext_api = extensions.ExtensionMiddleware(app, ext_mgr=ext_mgr)
|
self.ext_api = extensions.ExtensionMiddleware(app, ext_mgr=ext_mgr)
|
||||||
|
|
||||||
|
|
||||||
|
class TestMetering(MeteringPluginDbTestCase):
|
||||||
def test_create_metering_label(self):
|
def test_create_metering_label(self):
|
||||||
name = 'my label'
|
name = 'my label'
|
||||||
description = 'my metering label'
|
description = 'my metering label'
|
||||||
@ -287,5 +289,5 @@ class MeteringPluginDbTestCase(test_db_plugin.NeutronDbPluginV2TestCase,
|
|||||||
metering_label_rule)
|
metering_label_rule)
|
||||||
|
|
||||||
|
|
||||||
class TestMeteringDbXML(MeteringPluginDbTestCase):
|
class TestMeteringDbXML(TestMetering):
|
||||||
fmt = 'xml'
|
fmt = 'xml'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user