diff options
| author | pedh <hcn518@gmail.com> | 2020-08-18 20:28:27 +0800 |
|---|---|---|
| committer | Stephen Finucane <stephenfin@redhat.com> | 2020-10-06 10:16:58 +0000 |
| commit | f50bd408666df161603f9ce20a5d00428a13b2ef (patch) | |
| tree | 0d97b8672282a5d27aa37335294c4c147f90721e /openstackclient/tests/unit/network/v2/fakes.py | |
| parent | 098a3fe2dea70eb16f13b717d62f51a4c890891d (diff) | |
| download | python-openstackclient-f50bd408666df161603f9ce20a5d00428a13b2ef.tar.gz | |
Fix: port attribute name propagate_uplink_status
Change the incorrect port attribute name "uplink_status_propagation"
to "propagate_uplink_status".
Change-Id: Icd7c49af8d988a6e3a52a58c784bd701b2d36faf
Closes-Bug: #1891873
Diffstat (limited to 'openstackclient/tests/unit/network/v2/fakes.py')
| -rw-r--r-- | openstackclient/tests/unit/network/v2/fakes.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstackclient/tests/unit/network/v2/fakes.py b/openstackclient/tests/unit/network/v2/fakes.py index 3df4042c..74001375 100644 --- a/openstackclient/tests/unit/network/v2/fakes.py +++ b/openstackclient/tests/unit/network/v2/fakes.py @@ -642,7 +642,7 @@ class FakePort(object): 'qos_network_policy_id': 'qos-policy-id-' + uuid.uuid4().hex, 'qos_policy_id': 'qos-policy-id-' + uuid.uuid4().hex, 'tags': [], - 'uplink_status_propagation': False, + 'propagate_uplink_status': False, } # Overwrite default attributes. @@ -662,8 +662,8 @@ class FakePort(object): port.project_id = port_attrs['tenant_id'] port.security_group_ids = port_attrs['security_group_ids'] port.qos_policy_id = port_attrs['qos_policy_id'] - port.uplink_status_propagation = port_attrs[ - 'uplink_status_propagation'] + port.propagate_uplink_status = port_attrs[ + 'propagate_uplink_status'] return port |
