blob: 2617eba5253b83f39cd570d9eaf98cd498de63de [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
Hynek Mlnarikc5106762016-09-01 11:47:31 +020015from tempest.lib.common.utils import data_utils
Armando Migliacciod26a2742016-07-13 08:57:50 -070016from tempest.lib.common.utils import test_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
19from tempest import test
20
21from neutron.tests.tempest.api import base
Hynek Mlnarikc5106762016-09-01 11:47:31 +020022from neutron.tests.tempest import config
Ryan Tidwell9b9be442016-02-18 17:34:43 +080023
24
Armando Migliacciod26a2742016-07-13 08:57:50 -070025def trunks_cleanup(client, trunks):
26 for trunk in trunks:
Armando Migliaccio232642c2016-07-20 16:28:24 -070027 # NOTE(armax): deleting a trunk with subports is permitted, however
28 # for testing purposes it is safer to be explicit and clean all the
29 # resources associated with the trunk beforehand.
Armando Migliacciod26a2742016-07-13 08:57:50 -070030 subports = test_utils.call_and_ignore_notfound_exc(
31 client.get_subports, trunk['id'])
32 if subports:
33 client.remove_subports(
34 trunk['id'], subports['sub_ports'])
35 test_utils.call_and_ignore_notfound_exc(
36 client.delete_trunk, trunk['id'])
37
38
Ryan Tidwell9b9be442016-02-18 17:34:43 +080039class TrunkTestJSONBase(base.BaseAdminNetworkTest):
40
Armando Migliacciod26a2742016-07-13 08:57:50 -070041 extension = 'trunk'
42
43 def setUp(self):
44 self.addCleanup(self.resource_cleanup)
45 super(TrunkTestJSONBase, self).setUp()
46
47 @classmethod
48 def skip_checks(cls):
49 super(TrunkTestJSONBase, cls).skip_checks()
50 if not test.is_extension_enabled(cls.extension, 'network'):
51 msg = "%s extension not enabled." % cls.extension
52 raise cls.skipException(msg)
53
54 @classmethod
55 def resource_setup(cls):
56 super(TrunkTestJSONBase, cls).resource_setup()
57 cls.trunks = []
58
59 @classmethod
60 def resource_cleanup(cls):
61 trunks_cleanup(cls.client, cls.trunks)
62 super(TrunkTestJSONBase, cls).resource_cleanup()
63
Armando Migliaccio89a24f12016-07-12 11:59:02 -070064 def _create_trunk_with_network_and_parent(self, subports, **kwargs):
Ryan Tidwell9b9be442016-02-18 17:34:43 +080065 network = self.create_network()
66 parent_port = self.create_port(network)
Armando Migliaccio89a24f12016-07-12 11:59:02 -070067 trunk = self.client.create_trunk(parent_port['id'], subports, **kwargs)
Armando Migliacciod26a2742016-07-13 08:57:50 -070068 self.trunks.append(trunk['trunk'])
69 return trunk
Ryan Tidwell9b9be442016-02-18 17:34:43 +080070
Armando Migliaccio71d34702016-08-29 22:50:44 -070071 def _show_trunk(self, trunk_id):
Armando Migliaccio5b606642016-09-02 11:45:56 -070072 return self.client.show_trunk(trunk_id)
Armando Migliaccio71d34702016-08-29 22:50:44 -070073
74 def _list_trunks(self):
Armando Migliaccio5b606642016-09-02 11:45:56 -070075 return self.client.list_trunks()
Armando Migliaccio71d34702016-08-29 22:50:44 -070076
Ryan Tidwell9b9be442016-02-18 17:34:43 +080077
78class TrunkTestJSON(TrunkTestJSONBase):
79
Armando Migliaccio71d34702016-08-29 22:50:44 -070080 def _test_create_trunk(self, subports):
81 trunk = self._create_trunk_with_network_and_parent(subports)
82 observed_trunk = self._show_trunk(trunk['trunk']['id'])
83 self.assertEqual(trunk, observed_trunk)
84
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000085 @decorators.idempotent_id('e1a6355c-4768-41f3-9bf8-0f1d192bd501')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080086 def test_create_trunk_empty_subports_list(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070087 self._test_create_trunk([])
Ryan Tidwell9b9be442016-02-18 17:34:43 +080088
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000089 @decorators.idempotent_id('382dfa39-ca03-4bd3-9a1c-91e36d2e3796')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080090 def test_create_trunk_subports_not_specified(self):
Armando Migliaccio71d34702016-08-29 22:50:44 -070091 self._test_create_trunk(None)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080092
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +000093 @decorators.idempotent_id('7de46c22-e2b6-4959-ac5a-0e624632ab32')
Ryan Tidwell9b9be442016-02-18 17:34:43 +080094 def test_create_show_delete_trunk(self):
95 trunk = self._create_trunk_with_network_and_parent(None)
96 trunk_id = trunk['trunk']['id']
97 parent_port_id = trunk['trunk']['port_id']
Armando Migliaccio71d34702016-08-29 22:50:44 -070098 res = self._show_trunk(trunk_id)
Ryan Tidwell9b9be442016-02-18 17:34:43 +080099 self.assertEqual(trunk_id, res['trunk']['id'])
100 self.assertEqual(parent_port_id, res['trunk']['port_id'])
101 self.client.delete_trunk(trunk_id)
Armando Migliaccio71d34702016-08-29 22:50:44 -0700102 self.assertRaises(lib_exc.NotFound, self._show_trunk, trunk_id)
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800103
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000104 @decorators.idempotent_id('8d83a6ca-662d-45b8-8062-d513077296aa')
Henry Gessaufa6c78d2016-10-09 19:56:09 -0400105 @test.requires_ext(extension="project-id", service="network")
106 def test_show_trunk_has_project_id(self):
107 trunk = self._create_trunk_with_network_and_parent(None)
108 body = self._show_trunk(trunk['trunk']['id'])
109 show_trunk = body['trunk']
110 self.assertIn('project_id', show_trunk)
111 self.assertIn('tenant_id', show_trunk)
112 self.assertEqual(self.client.tenant_id, show_trunk['project_id'])
113 self.assertEqual(self.client.tenant_id, show_trunk['tenant_id'])
114
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000115 @decorators.idempotent_id('4ce46c22-a2b6-4659-bc5a-0ef2463cab32')
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700116 def test_create_update_trunk(self):
117 trunk = self._create_trunk_with_network_and_parent(None)
Armando Migliaccio13adb742016-09-02 18:27:38 -0700118 self.assertEqual(1, trunk['trunk']['revision_number'])
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700119 trunk_id = trunk['trunk']['id']
Armando Migliaccio71d34702016-08-29 22:50:44 -0700120 res = self._show_trunk(trunk_id)
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700121 self.assertTrue(res['trunk']['admin_state_up'])
Armando Migliaccio13adb742016-09-02 18:27:38 -0700122 self.assertEqual(1, res['trunk']['revision_number'])
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700123 self.assertEqual("", res['trunk']['name'])
Armando Migliaccio42738312016-08-29 22:04:21 -0700124 self.assertEqual("", res['trunk']['description'])
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700125 res = self.client.update_trunk(
126 trunk_id, name='foo', admin_state_up=False)
127 self.assertFalse(res['trunk']['admin_state_up'])
128 self.assertEqual("foo", res['trunk']['name'])
Armando Migliaccio13adb742016-09-02 18:27:38 -0700129 self.assertGreater(res['trunk']['revision_number'], 1)
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700130 # enable the trunk so that it can be managed
131 self.client.update_trunk(trunk_id, admin_state_up=True)
132
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000133 @decorators.idempotent_id('5ff46c22-a2b6-5559-bc5a-0ef2463cab32')
Armando Migliaccio42738312016-08-29 22:04:21 -0700134 def test_create_update_trunk_with_description(self):
135 trunk = self._create_trunk_with_network_and_parent(
136 None, description="foo description")
137 trunk_id = trunk['trunk']['id']
138 self.assertEqual("foo description", trunk['trunk']['description'])
139 trunk = self.client.update_trunk(trunk_id, description='')
140 self.assertEqual('', trunk['trunk']['description'])
141
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000142 @decorators.idempotent_id('73365f73-bed6-42cd-960b-ec04e0c99d85')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800143 def test_list_trunks(self):
144 trunk1 = self._create_trunk_with_network_and_parent(None)
145 trunk2 = self._create_trunk_with_network_and_parent(None)
146 expected_trunks = {trunk1['trunk']['id']: trunk1['trunk'],
147 trunk2['trunk']['id']: trunk2['trunk']}
Armando Migliaccio71d34702016-08-29 22:50:44 -0700148 trunk_list = self._list_trunks()['trunks']
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800149 matched_trunks = [x for x in trunk_list if x['id'] in expected_trunks]
150 self.assertEqual(2, len(matched_trunks))
151 for trunk in matched_trunks:
152 self.assertEqual(expected_trunks[trunk['id']], trunk)
153
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000154 @decorators.idempotent_id('bb5fcead-09b5-484a-bbe6-46d1e06d6cc0')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800155 def test_add_subport(self):
156 trunk = self._create_trunk_with_network_and_parent([])
157 network = self.create_network()
158 port = self.create_port(network)
159 subports = [{'port_id': port['id'],
160 'segmentation_type': 'vlan',
161 'segmentation_id': 2}]
162 self.client.add_subports(trunk['trunk']['id'], subports)
Armando Migliaccio71d34702016-08-29 22:50:44 -0700163 trunk = self._show_trunk(trunk['trunk']['id'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800164 observed_subports = trunk['trunk']['sub_ports']
165 self.assertEqual(1, len(observed_subports))
166 created_subport = observed_subports[0]
167 self.assertEqual(subports[0], created_subport)
168
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000169 @decorators.idempotent_id('ee5fcead-1abf-483a-bce6-43d1e06d6aa0')
Armando Migliaccio232642c2016-07-20 16:28:24 -0700170 def test_delete_trunk_with_subport_is_allowed(self):
171 network = self.create_network()
172 port = self.create_port(network)
173 subports = [{'port_id': port['id'],
174 'segmentation_type': 'vlan',
175 'segmentation_id': 2}]
176 trunk = self._create_trunk_with_network_and_parent(subports)
177 self.client.delete_trunk(trunk['trunk']['id'])
178
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000179 @decorators.idempotent_id('96eea398-a03c-4c3e-a99e-864392c2ca53')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800180 def test_remove_subport(self):
181 subport_parent1 = self.create_port(self.create_network())
182 subport_parent2 = self.create_port(self.create_network())
183 subports = [{'port_id': subport_parent1['id'],
184 'segmentation_type': 'vlan',
185 'segmentation_id': 2},
186 {'port_id': subport_parent2['id'],
187 'segmentation_type': 'vlan',
188 'segmentation_id': 4}]
189 trunk = self._create_trunk_with_network_and_parent(subports)
190 removed_subport = trunk['trunk']['sub_ports'][0]
191 expected_subport = None
192
193 for subport in subports:
194 if subport['port_id'] != removed_subport['port_id']:
195 expected_subport = subport
196 break
197
198 # Remove the subport and validate PUT response
199 res = self.client.remove_subports(trunk['trunk']['id'],
200 [removed_subport])
201 self.assertEqual(1, len(res['sub_ports']))
202 self.assertEqual(expected_subport, res['sub_ports'][0])
203
204 # Validate the results of a subport list
Armando Migliaccio71d34702016-08-29 22:50:44 -0700205 trunk = self._show_trunk(trunk['trunk']['id'])
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800206 observed_subports = trunk['trunk']['sub_ports']
207 self.assertEqual(1, len(observed_subports))
208 self.assertEqual(expected_subport, observed_subports[0])
209
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000210 @decorators.idempotent_id('bb5fcaad-09b5-484a-dde6-4cd1ea6d6ff0')
Ryan Tidwell9b9be442016-02-18 17:34:43 +0800211 def test_get_subports(self):
212 network = self.create_network()
213 port = self.create_port(network)
214 subports = [{'port_id': port['id'],
215 'segmentation_type': 'vlan',
216 'segmentation_id': 2}]
217 trunk = self._create_trunk_with_network_and_parent(subports)
218 trunk = self.client.get_subports(trunk['trunk']['id'])
219 observed_subports = trunk['sub_ports']
220 self.assertEqual(1, len(observed_subports))
Armando Migliaccio57581c62016-07-01 10:13:19 -0700221
222
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800223class TrunkTestInheritJSONBase(TrunkTestJSONBase):
224
225 required_extensions = ['provider', 'trunk']
226
227 @classmethod
228 def skip_checks(cls):
229 super(TrunkTestInheritJSONBase, cls).skip_checks()
230 for ext in cls.required_extensions:
231 if not test.is_extension_enabled(ext, 'network'):
232 msg = "%s extension not enabled." % ext
233 raise cls.skipException(msg)
lianghaob7380842017-04-18 15:07:01 +0800234 if ("vlan" not in
235 config.CONF.neutron_plugin_options.available_type_drivers):
236 raise cls.skipException("VLAN type_driver is not enabled")
Armando Migliaccio7f84c422017-02-21 18:43:38 -0800237 if not config.CONF.neutron_plugin_options.provider_vlans:
238 raise cls.skipException("No provider VLAN networks available")
239
240 def create_provider_network(self):
241 foo_net = config.CONF.neutron_plugin_options.provider_vlans[0]
242 post_body = {'network_name': data_utils.rand_name('vlan-net-'),
243 'provider:network_type': 'vlan',
244 'provider:physical_network': foo_net}
245 return self.create_shared_network(**post_body)
246
247 @decorators.idempotent_id('0f05d98e-41f5-4629-dada-9aee269c9602')
248 def test_add_subport(self):
249 trunk_network = self.create_provider_network()
250 trunk_port = self.create_port(trunk_network)
251 subport_networks = [
252 self.create_provider_network(),
253 self.create_provider_network(),
254 ]
255 subport1 = self.create_port(subport_networks[0])
256 subport2 = self.create_port(subport_networks[1])
257 subports = [{'port_id': subport1['id'],
258 'segmentation_type': 'inherit',
259 'segmentation_id': subport1['id']},
260 {'port_id': subport2['id'],
261 'segmentation_type': 'inherit',
262 'segmentation_id': subport2['id']}]
263 trunk = self.client.create_trunk(trunk_port['id'], subports)['trunk']
264 self.trunks.append(trunk)
265 # Validate that subport got segmentation details from the network
266 for i in range(2):
267 self.assertEqual(subport_networks[i]['provider:network_type'],
268 trunk['sub_ports'][i]['segmentation_type'])
269 self.assertEqual(subport_networks[i]['provider:segmentation_id'],
270 trunk['sub_ports'][i]['segmentation_id'])
271
272
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200273class TrunkTestMtusJSONBase(TrunkTestJSONBase):
274
275 required_extensions = ['provider', 'trunk']
276
277 @classmethod
278 def skip_checks(cls):
279 super(TrunkTestMtusJSONBase, cls).skip_checks()
280 for ext in cls.required_extensions:
281 if not test.is_extension_enabled(ext, 'network'):
282 msg = "%s extension not enabled." % ext
283 raise cls.skipException(msg)
284
285 if any(t
286 not in config.CONF.neutron_plugin_options.available_type_drivers
287 for t in ['gre', 'vxlan']):
288 msg = "Either vxlan or gre type driver not enabled."
289 raise cls.skipException(msg)
290
291 def setUp(self):
292 super(TrunkTestMtusJSONBase, self).setUp()
293
294 # VXLAN autocomputed MTU (1450) is smaller than that of GRE (1458)
295 vxlan_kwargs = {'network_name': data_utils.rand_name('vxlan-net-'),
296 'provider:network_type': 'vxlan'}
297 self.smaller_mtu_net = self.create_shared_network(**vxlan_kwargs)
298
299 gre_kwargs = {'network_name': data_utils.rand_name('gre-net-'),
300 'provider:network_type': 'gre'}
301 self.larger_mtu_net = self.create_shared_network(**gre_kwargs)
302
303 self.smaller_mtu_port = self.create_port(self.smaller_mtu_net)
304 self.smaller_mtu_port_2 = self.create_port(self.smaller_mtu_net)
305 self.larger_mtu_port = self.create_port(self.larger_mtu_net)
306
307
308class TrunkTestMtusJSON(TrunkTestMtusJSONBase):
309
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000310 @decorators.idempotent_id('0f05d98e-41f5-4629-ac29-9aee269c9602')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200311 def test_create_trunk_with_mtu_greater_than_subport(self):
312 subports = [{'port_id': self.smaller_mtu_port['id'],
313 'segmentation_type': 'vlan',
314 'segmentation_id': 2}]
315
316 trunk = self.client.create_trunk(self.larger_mtu_port['id'], subports)
317 self.trunks.append(trunk['trunk'])
318
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000319 @decorators.idempotent_id('2004c5c6-e557-4c43-8100-c820ad4953e8')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200320 def test_add_subport_with_mtu_smaller_than_trunk(self):
321 subports = [{'port_id': self.smaller_mtu_port['id'],
322 'segmentation_type': 'vlan',
323 'segmentation_id': 2}]
324
325 trunk = self.client.create_trunk(self.larger_mtu_port['id'], None)
326 self.trunks.append(trunk['trunk'])
327
328 self.client.add_subports(trunk['trunk']['id'], subports)
329
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000330 @decorators.idempotent_id('22725101-f4bc-4e00-84ec-4e02cd7e0500')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200331 def test_create_trunk_with_mtu_equal_to_subport(self):
332 subports = [{'port_id': self.smaller_mtu_port['id'],
333 'segmentation_type': 'vlan',
334 'segmentation_id': 2}]
335
336 trunk = self.client.create_trunk(self.smaller_mtu_port_2['id'],
337 subports)
338 self.trunks.append(trunk['trunk'])
339
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000340 @decorators.idempotent_id('175b05ae-66ad-44c7-857a-a12d16f1058f')
Hynek Mlnarikc5106762016-09-01 11:47:31 +0200341 def test_add_subport_with_mtu_equal_to_trunk(self):
342 subports = [{'port_id': self.smaller_mtu_port['id'],
343 'segmentation_type': 'vlan',
344 'segmentation_id': 2}]
345
346 trunk = self.client.create_trunk(self.smaller_mtu_port_2['id'], None)
347 self.trunks.append(trunk['trunk'])
348
349 self.client.add_subports(trunk['trunk']['id'], subports)
350
351
Armando Migliaccio57581c62016-07-01 10:13:19 -0700352class TrunksSearchCriteriaTest(base.BaseSearchCriteriaTest):
353
354 resource = 'trunk'
Armando Migliaccio57581c62016-07-01 10:13:19 -0700355
356 @classmethod
Armando Migliacciod26a2742016-07-13 08:57:50 -0700357 def skip_checks(cls):
358 super(TrunksSearchCriteriaTest, cls).skip_checks()
359 if not test.is_extension_enabled('trunk', 'network'):
360 msg = "trunk extension not enabled."
361 raise cls.skipException(msg)
362
363 @classmethod
Armando Migliaccio57581c62016-07-01 10:13:19 -0700364 def resource_setup(cls):
365 super(TrunksSearchCriteriaTest, cls).resource_setup()
Armando Migliacciod26a2742016-07-13 08:57:50 -0700366 cls.trunks = []
Armando Migliaccio57581c62016-07-01 10:13:19 -0700367 net = cls.create_network(network_name='trunk-search-test-net')
368 for name in cls.resource_names:
369 parent_port = cls.create_port(net)
Armando Migliaccio89a24f12016-07-12 11:59:02 -0700370 trunk = cls.client.create_trunk(parent_port['id'], [], name=name)
Armando Migliacciod26a2742016-07-13 08:57:50 -0700371 cls.trunks.append(trunk['trunk'])
372
373 @classmethod
374 def resource_cleanup(cls):
375 trunks_cleanup(cls.client, cls.trunks)
376 super(TrunksSearchCriteriaTest, cls).resource_cleanup()
Armando Migliaccio57581c62016-07-01 10:13:19 -0700377
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000378 @decorators.idempotent_id('fab73df4-960a-4ae3-87d3-60992b8d3e2d')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700379 def test_list_sorts_asc(self):
380 self._test_list_sorts_asc()
381
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000382 @decorators.idempotent_id('a426671d-7270-430f-82ff-8f33eec93010')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700383 def test_list_sorts_desc(self):
384 self._test_list_sorts_desc()
385
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000386 @decorators.idempotent_id('b202fdc8-6616-45df-b6a0-463932de6f94')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700387 def test_list_pagination(self):
388 self._test_list_pagination()
389
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000390 @decorators.idempotent_id('c4723b8e-8186-4b9a-bf9e-57519967e048')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700391 def test_list_pagination_with_marker(self):
392 self._test_list_pagination_with_marker()
393
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000394 @decorators.idempotent_id('dcd02a7a-f07e-4d5e-b0ca-b58e48927a9b')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700395 def test_list_pagination_with_href_links(self):
396 self._test_list_pagination_with_href_links()
397
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000398 @decorators.idempotent_id('eafe7024-77ab-4cfe-824b-0b2bf4217727')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700399 def test_list_no_pagination_limit_0(self):
400 self._test_list_no_pagination_limit_0()
401
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000402 @decorators.idempotent_id('f8857391-dc44-40cc-89b7-2800402e03ce')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700403 def test_list_pagination_page_reverse_asc(self):
404 self._test_list_pagination_page_reverse_asc()
405
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000406 @decorators.idempotent_id('ae51e9c9-ceae-4ec0-afd4-147569247699')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700407 def test_list_pagination_page_reverse_desc(self):
408 self._test_list_pagination_page_reverse_desc()
409
Sławek Kapłońskic0caa2e2017-02-25 10:11:32 +0000410 @decorators.idempotent_id('b4293e59-d794-4a93-be09-38667199ef68')
Armando Migliaccio57581c62016-07-01 10:13:19 -0700411 def test_list_pagination_page_reverse_with_href_links(self):
412 self._test_list_pagination_page_reverse_with_href_links()