test_l3: Enable native pagination and sort

Add the following vars in test plugins to improve the coverage.
    __native_pagination_support
    __native_sort_support

non-native cases are still covered by others.  (eg. test_extraroute)

Related-Bug: #1656262
Change-Id: Icea91df303d06190995a06f532ea595ec2c9919f
This commit is contained in:
YAMAMOTO Takashi 2017-01-16 07:40:02 +09:00
parent e74b45d0eb
commit e9572eabc0
1 changed files with 6 additions and 0 deletions

View File

@ -272,6 +272,9 @@ class TestL3NatBasePlugin(db_base_plugin_v2.NeutronDbPluginV2,
class TestL3NatIntPlugin(TestL3NatBasePlugin,
l3_db.L3_NAT_db_mixin, dns_db.DNSDbMixin):
__native_pagination_support = True
__native_sorting_support = True
supported_extension_aliases = ["external-net", "router", "dns-integration"]
@ -302,6 +305,9 @@ class TestL3NatServicePlugin(common_db_mixin.CommonDbMixin,
l3_dvr_db.L3_NAT_with_dvr_db_mixin,
l3_db.L3_NAT_db_mixin, dns_db.DNSDbMixin):
__native_pagination_support = True
__native_sorting_support = True
supported_extension_aliases = ["router", "dns-integration"]
@classmethod