Remove propagate_uplink_status API related tests
Due to the related bug we can't have test
test_create_port_without_propagate_uplink_status in
neutron-tempest-plugin repo anymore as this repo is branchless and we
run tests from it against neutron master branch and against stable
branches. Now default value of the "propagate_uplink_status" attribute
was changed in master branch but not in stable branches so this test
would fail always.
Because of that those tests are now moved to be in fullstack - see [1]
for details and we don't need them in neutron-tempest-plugin anymore so
this patch is removing them from neutron-tempest-plugin.
[1] https://review.opendev.org/#/c/745521/
Change-Id: I79581da5b2cb3df6fa9407f1f06509513ac7f96d
Closes-Bug: #1890842
diff --git a/neutron_tempest_plugin/api/test_ports.py b/neutron_tempest_plugin/api/test_ports.py
index 8867eee..c59ee83 100644
--- a/neutron_tempest_plugin/api/test_ports.py
+++ b/neutron_tempest_plugin/api/test_ports.py
@@ -136,28 +136,6 @@
expected = [s['id'], s['id']]
self.assertEqual(expected, subnets)
- @decorators.idempotent_id('9700828d-86eb-4f21-9fa3-da487a2d77f2')
- @utils.requires_ext(extension="uplink-status-propagation",
- service="network")
- def test_create_port_with_propagate_uplink_status(self):
- body = self.create_port(self.network, propagate_uplink_status=True)
- self.assertTrue(body['propagate_uplink_status'])
- body = self.client.list_ports(id=body['id'])['ports'][0]
- self.assertTrue(body['propagate_uplink_status'])
- body = self.client.show_port(body['id'])['port']
- self.assertTrue(body['propagate_uplink_status'])
-
- @decorators.idempotent_id('c396a880-0c7b-409d-a80b-800a3d09bdc4')
- @utils.requires_ext(extension="uplink-status-propagation",
- service="network")
- def test_create_port_without_propagate_uplink_status(self):
- body = self.create_port(self.network)
- self.assertFalse(body['propagate_uplink_status'])
- body = self.client.list_ports(id=body['id'])['ports'][0]
- self.assertFalse(body['propagate_uplink_status'])
- body = self.client.show_port(body['id'])['port']
- self.assertFalse(body['propagate_uplink_status'])
-
class PortsSearchCriteriaTest(base.BaseSearchCriteriaTest):