blob: 1f83bd87be704e6f1d71aa3814fd051e84700f6b [file] [log] [blame]
Ryan Tidwell9b9be442016-02-18 17:34:43 +08001# Copyright 2016 Hewlett Packard Enterprise Development Company LP
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
Chandan Kumarc125fd12017-11-15 19:41:01 +053015from tempest.common import utils
Hynek Mlnarikc5106762016-09-01 11:47:31 +020016from tempest.lib.common.utils import data_utils
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000017from tempest.lib import decorators
Ryan Tidwell9b9be442016-02-18 17:34:43 +080018from tempest.lib import exceptions as lib_exc
Ryan Tidwell9b9be442016-02-18 17:34:43 +080019
Chandan Kumar667d3d32017-09-22 12:24:06 +053020from neutron_tempest_plugin.api import base
21from neutron_tempest_plugin import config
Ryan Tidwell9b9be442016-02-18 17:34:43 +080022
23
Federico Ressic9f5ec52018-07-05 13:10:42 +020024CONF = config.CONF
Armando Migliacciod26a2742016-07-13 08:57:50 -070025
26
Ryan Tidwell9b9be442016-02-18 17:34:43 +080027class TrunkTestJSONBase(base.BaseAdminNetworkTest):
28
Jakub Libosvar1982aa12017-05-30 11:15:33 +000029 required_extensions = ['trunk']
Armando Migliacciod26a2742016-07-13 08:57:50 -070030
31 def setUp(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020032 base.BaseAdminNetworkTest.setUp(self)
33 # This avoids problems due to user quotas
34 self.resource_setup()
Armando Migliacciod26a2742016-07-13 08:57:50 -070035 self.addCleanup(self.resource_cleanup)
Armando Migliacciod26a2742016-07-13 08:57:50 -070036
Jakub Libosvar73520542017-12-19 17:46:42 +000037 @classmethod
38 def is_type_driver_enabled(cls, type_driver):
39 return (type_driver in
Federico Ressic9f5ec52018-07-05 13:10:42 +020040 CONF.neutron_plugin_options.available_type_drivers)
Jakub Libosvar73520542017-12-19 17:46:42 +000041
Federico Ressic9f5ec52018-07-05 13:10:42 +020042 @classmethod
43 def _create_trunk_with_network_and_parent(cls, subports=None,
44 parent_network_type=None,
45 **kwargs):
Jakub Libosvar73520542017-12-19 17:46:42 +000046 client = None
47 network_kwargs = {}
48 if parent_network_type:
Federico Ressic9f5ec52018-07-05 13:10:42 +020049 client = cls.admin_client
Jakub Libosvar73520542017-12-19 17:46:42 +000050 network_kwargs = {"provider:network_type": parent_network_type,
Federico Ressic9f5ec52018-07-05 13:10:42 +020051 "tenant_id": cls.client.tenant_id}
52 network = cls.create_network(client=client, **network_kwargs)
53 parent_port = cls.create_port(network)
54 return cls.create_trunk(parent_port, subports, **kwargs)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080055
Federico Ressic9f5ec52018-07-05 13:10:42 +020056 @classmethod
57 def _show_trunk(cls, trunk):
58 client = trunk.get('client') or cls.client
59 return client.show_trunk(trunk['id'])['trunk']
Armando Migliaccio71d34702016-08-29 22:50:44 -070060
Federico Ressic9f5ec52018-07-05 13:10:42 +020061 @classmethod
62 def _update_trunk(cls, trunk, **kwargs):
63 client = trunk.get('client') or cls.client
64 return client.update_trunk(trunk['id'], **kwargs)['trunk']
65
66 @classmethod
67 def _list_trunks(cls):
68 return cls.client.list_trunks()['trunks']
Armando Migliaccio71d34702016-08-29 22:50:44 -070069
Ryan Tidwell9b9be442016-02-18 17:34:43 +080070
71class TrunkTestJSON(TrunkTestJSONBase):
72
Armando Migliaccio71d34702016-08-29 22:50:44 -070073 def _test_create_trunk(self, subports):
74 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +020075 observed_trunk = self._show_trunk(trunk)
76 self.assertEqual(trunk, dict(observed_trunk, client=trunk['client']))
Armando Migliaccio71d34702016-08-29 22:50:44 -070077
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000078 @decorators.idempotent_id('e1a6355c-4768-41f3-9bf8-0f1d192bd501')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080079 def test_create_trunk_empty_subports_list(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070080 self._test_create_trunk([])
Ryan Tidwell9b9be442016-02-18 17:34:43 +080081
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000082 @decorators.idempotent_id('382dfa39-ca03-4bd3-9a1c-91e36d2e3796')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080083 def test_create_trunk_subports_not_specified(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070084 self._test_create_trunk(None)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080085
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000086 @decorators.idempotent_id('7de46c22-e2b6-4959-ac5a-0e624632ab32')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080087 def test_create_show_delete_trunk(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020088 trunk = self._create_trunk_with_network_and_parent()
89 observed_trunk = self._show_trunk(trunk)
90 self.assertEqual(trunk, dict(observed_trunk, client=trunk['client']))
91 self.delete_trunk(trunk)
92 self.assertRaises(lib_exc.NotFound, self._show_trunk, trunk)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080093
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000094 @decorators.idempotent_id('8d83a6ca-662d-45b8-8062-d513077296aa')
Chandan Kumarc125fd12017-11-15 19:41:01 +053095 @utils.requires_ext(extension="project-id", service="network")
Henry Gessaufa6c78d2016-10-09 19:56:09 -040096 def test_show_trunk_has_project_id(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +020097 trunk = self._create_trunk_with_network_and_parent()
98 observed_trunk = self._show_trunk(trunk)
99 for key in ['project_id', 'tenant_id']:
100 self.assertIn(key, observed_trunk)
101 self.assertEqual(self.client.tenant_id, observed_trunk[key])
Henry Gessaufa6c78d2016-10-09 19:56:09 -0400102
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000103 @decorators.idempotent_id('4ce46c22-a2b6-4659-bc5a-0ef2463cab32')
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700104 def test_create_update_trunk(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200105 trunk = self._create_trunk_with_network_and_parent()
106 observed_trunk = self._show_trunk(trunk)
107 self.assertTrue(observed_trunk['admin_state_up'])
108 self.assertEqual(trunk['revision_number'],
109 observed_trunk['revision_number'])
110 self.assertEqual("", observed_trunk['name'])
111 self.assertEqual("", observed_trunk['description'])
112 updated_trunk = self._update_trunk(trunk, name='foo',
113 admin_state_up=False)
114 self.assertFalse(updated_trunk['admin_state_up'])
115 self.assertEqual("foo", updated_trunk['name'])
116 self.assertGreater(updated_trunk['revision_number'],
117 trunk['revision_number'])
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700118
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000119 @decorators.idempotent_id('5ff46c22-a2b6-5559-bc5a-0ef2463cab32')
Armando Migliaccio42738312016-08-29 22:04:21 -0700120 def test_create_update_trunk_with_description(self):
121 trunk = self._create_trunk_with_network_and_parent(
Federico Ressic9f5ec52018-07-05 13:10:42 +0200122 description="foo description")
123 self.assertEqual("foo description", trunk['description'])
124 updated_trunk = self._update_trunk(trunk, description='')
125 self.assertEqual('', updated_trunk['description'])
Armando Migliaccio42738312016-08-29 22:04:21 -0700126
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000127 @decorators.idempotent_id('73365f73-bed6-42cd-960b-ec04e0c99d85')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800128 def test_list_trunks(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200129 trunk1 = self._create_trunk_with_network_and_parent()
130 trunk2 = self._create_trunk_with_network_and_parent()
131 expected_trunks = {trunk1['id']: trunk1,
132 trunk2['id']: trunk2}
133 observed_trunks = {trunk['id']: dict(trunk, client=self.client)
134 for trunk in self._list_trunks()
135 if trunk['id'] in expected_trunks}
136 self.assertEqual(expected_trunks, observed_trunks)
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800137
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000138 @decorators.idempotent_id('bb5fcead-09b5-484a-bbe6-46d1e06d6cc0')
Federico Ressic9f5ec52018-07-05 13:10:42 +0200139 def test_add_subports(self):
140 trunk = self._create_trunk_with_network_and_parent()
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800141 network = self.create_network()
142 port = self.create_port(network)
143 subports = [{'port_id': port['id'],
144 'segmentation_type': 'vlan',
145 'segmentation_id': 2}]
Federico Ressic9f5ec52018-07-05 13:10:42 +0200146 added_subports = self.client.add_subports(trunk['id'],
147 subports)['sub_ports']
148 self.assertEqual(subports, added_subports)
149 observed_trunk = self._show_trunk(trunk)
150 self.assertEqual(subports, observed_trunk['sub_ports'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800151
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000152 @decorators.idempotent_id('ee5fcead-1abf-483a-bce6-43d1e06d6aa0')
Armando Migliaccio232642c2016-07-20 16:28:24 -0700153 def test_delete_trunk_with_subport_is_allowed(self):
154 network = self.create_network()
155 port = self.create_port(network)
156 subports = [{'port_id': port['id'],
157 'segmentation_type': 'vlan',
158 'segmentation_id': 2}]
159 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200160 self.client.delete_trunk(trunk['id'])
Armando Migliaccio232642c2016-07-20 16:28:24 -0700161
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000162 @decorators.idempotent_id('96eea398-a03c-4c3e-a99e-864392c2ca53')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800163 def test_remove_subport(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200164 subport1 = {'port_id': self.create_port(self.create_network())['id'],
165 'segmentation_type': 'vlan',
166 'segmentation_id': 2}
167 subport2 = {'port_id': self.create_port(self.create_network())['id'],
168 'segmentation_type': 'vlan',
169 'segmentation_id': 4}
170 trunk = self._create_trunk_with_network_and_parent([subport1,
171 subport2])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800172
173 # Remove the subport and validate PUT response
Federico Ressic9f5ec52018-07-05 13:10:42 +0200174 subports_after_remove = self.client.remove_subports(
175 trunk['id'], [subport2])['sub_ports']
176 self.assertEqual([subport1], subports_after_remove)
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800177
178 # Validate the results of a subport list
Federico Ressic9f5ec52018-07-05 13:10:42 +0200179 observed_trunk = self._show_trunk(trunk)
180 self.assertEqual([subport1], observed_trunk['sub_ports'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800181
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000182 @decorators.idempotent_id('bb5fcaad-09b5-484a-dde6-4cd1ea6d6ff0')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800183 def test_get_subports(self):
184 network = self.create_network()
185 port = self.create_port(network)
186 subports = [{'port_id': port['id'],
187 'segmentation_type': 'vlan',
188 'segmentation_id': 2}]
189 trunk = self._create_trunk_with_network_and_parent(subports)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200190 observed_subports = self.client.get_subports(trunk['id'])['sub_ports']
191 self.assertEqual(subports, observed_subports)
Armando Migliaccio57581c62016-07-01 10:13:19 -0700192
193
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800194class TrunkTestInheritJSONBase(TrunkTestJSONBase):
195
196 required_extensions = ['provider', 'trunk']
197
198 @classmethod
199 def skip_checks(cls):
200 super(TrunkTestInheritJSONBase, cls).skip_checks()
lianghaob7380842017-04-18 15:07:01 +0800201 if ("vlan" not in
Federico Ressic9f5ec52018-07-05 13:10:42 +0200202 CONF.neutron_plugin_options.available_type_drivers):
lianghaob7380842017-04-18 15:07:01 +0800203 raise cls.skipException("VLAN type_driver is not enabled")
Federico Ressic9f5ec52018-07-05 13:10:42 +0200204 if not CONF.neutron_plugin_options.provider_vlans:
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800205 raise cls.skipException("No provider VLAN networks available")
206
207 def create_provider_network(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200208 foo_net = CONF.neutron_plugin_options.provider_vlans[0]
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200209 return self.create_network(name=data_utils.rand_name('vlan-net'),
210 provider_network_type='vlan',
211 provider_physical_network=foo_net)
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800212
213 @decorators.idempotent_id('0f05d98e-41f5-4629-dada-9aee269c9602')
214 def test_add_subport(self):
Federico Ressic9f5ec52018-07-05 13:10:42 +0200215 parent_network = self.create_provider_network()
216 parent_port = self.create_port(parent_network)
217 subport_network1 = self.create_provider_network()
218 segmentation_id1 = subport_network1['provider:segmentation_id']
219 subport_network2 = self.create_provider_network()
220 segmentation_id2 = subport_network2['provider:segmentation_id']
221 subport1 = self.create_port(subport_network1)
222 subport2 = self.create_port(subport_network2)
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800223 subports = [{'port_id': subport1['id'],
Federico Ressic9f5ec52018-07-05 13:10:42 +0200224 'segmentation_type': 'inherit'},
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800225 {'port_id': subport2['id'],
Federico Ressic9f5ec52018-07-05 13:10:42 +0200226 'segmentation_type': 'inherit'}]
227
228 trunk = self.create_trunk(parent_port, subports)
229
230 expected_subports = [{'port_id': subport1['id'],
231 'segmentation_type': 'vlan',
232 'segmentation_id': segmentation_id1},
233 {'port_id': subport2['id'],
234 'segmentation_type': 'vlan',
235 'segmentation_id': segmentation_id2}]
236
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800237 # Validate that subport got segmentation details from the network
Cédric Ollivier167a5782020-02-18 07:42:30 +0100238 self.assertEqual(
239 sorted(expected_subports, key=lambda subport: subport['port_id']),
240 sorted(trunk['sub_ports'], key=lambda subport: subport['port_id']))
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800241
242
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200243class TrunkTestMtusJSONBase(TrunkTestJSONBase):
244
245 required_extensions = ['provider', 'trunk']
246
247 @classmethod
248 def skip_checks(cls):
249 super(TrunkTestMtusJSONBase, cls).skip_checks()
Jakub Libosvar73520542017-12-19 17:46:42 +0000250 if not all(cls.is_type_driver_enabled(t) for t in ['gre', 'vxlan']):
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200251 msg = "Either vxlan or gre type driver not enabled."
252 raise cls.skipException(msg)
253
254 def setUp(self):
255 super(TrunkTestMtusJSONBase, self).setUp()
256
257 # VXLAN autocomputed MTU (1450) is smaller than that of GRE (1458)
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200258 self.smaller_mtu_net = self.create_network(
259 name=data_utils.rand_name('vxlan-net'),
260 provider_network_type='vxlan')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200261
Federico Ressi2d7db2c2018-07-06 08:11:20 +0200262 self.larger_mtu_net = self.create_network(
263 name=data_utils.rand_name('gre-net'),
264 provider_network_type='gre')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200265
266 self.smaller_mtu_port = self.create_port(self.smaller_mtu_net)
267 self.smaller_mtu_port_2 = self.create_port(self.smaller_mtu_net)
268 self.larger_mtu_port = self.create_port(self.larger_mtu_net)
269
270
271class TrunkTestMtusJSON(TrunkTestMtusJSONBase):
272
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000273 @decorators.idempotent_id('0f05d98e-41f5-4629-ac29-9aee269c9602')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200274 def test_create_trunk_with_mtu_greater_than_subport(self):
275 subports = [{'port_id': self.smaller_mtu_port['id'],
276 'segmentation_type': 'vlan',
277 'segmentation_id': 2}]
278
Federico Ressic9f5ec52018-07-05 13:10:42 +0200279 self.create_trunk(self.larger_mtu_port, subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200280
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000281 @decorators.idempotent_id('2004c5c6-e557-4c43-8100-c820ad4953e8')
Federico Ressic9f5ec52018-07-05 13:10:42 +0200282 def test_add_subport_with_mtu_greater_than_subport(self):
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200283 subports = [{'port_id': self.smaller_mtu_port['id'],
284 'segmentation_type': 'vlan',
285 'segmentation_id': 2}]
286
Federico Ressic9f5ec52018-07-05 13:10:42 +0200287 trunk = self.create_trunk(self.larger_mtu_port)
288 self.client.add_subports(trunk['id'], subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200289
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000290 @decorators.idempotent_id('22725101-f4bc-4e00-84ec-4e02cd7e0500')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200291 def test_create_trunk_with_mtu_equal_to_subport(self):
292 subports = [{'port_id': self.smaller_mtu_port['id'],
293 'segmentation_type': 'vlan',
294 'segmentation_id': 2}]
295
Federico Ressic9f5ec52018-07-05 13:10:42 +0200296 self.create_trunk(self.smaller_mtu_port_2, subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200297
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000298 @decorators.idempotent_id('175b05ae-66ad-44c7-857a-a12d16f1058f')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200299 def test_add_subport_with_mtu_equal_to_trunk(self):
300 subports = [{'port_id': self.smaller_mtu_port['id'],
301 'segmentation_type': 'vlan',
302 'segmentation_id': 2}]
303
Federico Ressic9f5ec52018-07-05 13:10:42 +0200304 trunk = self.create_trunk(self.smaller_mtu_port_2)
305 self.client.add_subports(trunk['id'], subports)
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200306
307
Armando Migliaccio57581c62016-07-01 10:13:19 -0700308class TrunksSearchCriteriaTest(base.BaseSearchCriteriaTest):
309
Jakub Libosvar1982aa12017-05-30 11:15:33 +0000310 required_extensions = ['trunk']
Armando Migliaccio57581c62016-07-01 10:13:19 -0700311 resource = 'trunk'
Armando Migliaccio57581c62016-07-01 10:13:19 -0700312
313 @classmethod
314 def resource_setup(cls):
315 super(TrunksSearchCriteriaTest, cls).resource_setup()
316 net = cls.create_network(network_name='trunk-search-test-net')
317 for name in cls.resource_names:
318 parent_port = cls.create_port(net)
Federico Ressic9f5ec52018-07-05 13:10:42 +0200319 cls.create_trunk(parent_port, name=name)
Armando Migliaccio57581c62016-07-01 10:13:19 -0700320
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000321 @decorators.idempotent_id('fab73df4-960a-4ae3-87d3-60992b8d3e2d')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700322 def test_list_sorts_asc(self):
323 self._test_list_sorts_asc()
324
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000325 @decorators.idempotent_id('a426671d-7270-430f-82ff-8f33eec93010')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700326 def test_list_sorts_desc(self):
327 self._test_list_sorts_desc()
328
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000329 @decorators.idempotent_id('b202fdc8-6616-45df-b6a0-463932de6f94')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700330 def test_list_pagination(self):
331 self._test_list_pagination()
332
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000333 @decorators.idempotent_id('c4723b8e-8186-4b9a-bf9e-57519967e048')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700334 def test_list_pagination_with_marker(self):
335 self._test_list_pagination_with_marker()
336
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000337 @decorators.idempotent_id('dcd02a7a-f07e-4d5e-b0ca-b58e48927a9b')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700338 def test_list_pagination_with_href_links(self):
339 self._test_list_pagination_with_href_links()
340
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000341 @decorators.idempotent_id('eafe7024-77ab-4cfe-824b-0b2bf4217727')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700342 def test_list_no_pagination_limit_0(self):
343 self._test_list_no_pagination_limit_0()
344
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000345 @decorators.idempotent_id('f8857391-dc44-40cc-89b7-2800402e03ce')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700346 def test_list_pagination_page_reverse_asc(self):
347 self._test_list_pagination_page_reverse_asc()
348
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000349 @decorators.idempotent_id('ae51e9c9-ceae-4ec0-afd4-147569247699')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700350 def test_list_pagination_page_reverse_desc(self):
351 self._test_list_pagination_page_reverse_desc()
352
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000353 @decorators.idempotent_id('b4293e59-d794-4a93-be09-38667199ef68')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700354 def test_list_pagination_page_reverse_with_href_links(self):
355 self._test_list_pagination_page_reverse_with_href_links()