summaryrefslogtreecommitdiff
path: root/openstackclient/tests/unit/network/v2/fakes.py
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2020-01-09 17:52:37 +0000
committerRodolfo Alonso Hernandez <ralonsoh@redhat.com>2020-02-18 09:18:37 +0000
commit2745b178a43f51ba837c485eed08c8ef6011a9ea (patch)
treeb221535ba5a12f23755a45a74633c59c7c14bfb2 /openstackclient/tests/unit/network/v2/fakes.py
parentd15bbada73f81136c966007d9c564dd6cfb2fd9c (diff)
downloadpython-openstackclient-2745b178a43f51ba837c485eed08c8ef6011a9ea.tar.gz
Add qos_network_policy_id to network port tests
Added "qos_network_policy_id" to "port show" command. Because this is just a read-only parameter and is read from the SDK port definition, this patch only modifies the corresponding tests. This patch is adding this new parameter to the test bench. Change-Id: Ice7423e0e0b98a39cc36622b70eae5a8493a037c Closes-Bug: #1851362
Diffstat (limited to 'openstackclient/tests/unit/network/v2/fakes.py')
-rw-r--r--openstackclient/tests/unit/network/v2/fakes.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/network/v2/fakes.py b/openstackclient/tests/unit/network/v2/fakes.py
index 35f0b1a5..e2e09cba 100644
--- a/openstackclient/tests/unit/network/v2/fakes.py
+++ b/openstackclient/tests/unit/network/v2/fakes.py
@@ -639,6 +639,7 @@ class FakePort(object):
'security_group_ids': [],
'status': 'ACTIVE',
'tenant_id': 'project-id-' + uuid.uuid4().hex,
+ 'qos_network_policy_id': 'qos-policy-id-' + uuid.uuid4().hex,
'qos_policy_id': 'qos-policy-id-' + uuid.uuid4().hex,
'tags': [],
'uplink_status_propagation': False,