diff options
| author | Zuul <zuul@review.opendev.org> | 2020-03-13 22:34:37 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2020-03-13 22:34:37 +0000 |
| commit | 37240b3b8311b0d795aa87de23121aed7ab4da7b (patch) | |
| tree | 0e2d07749f829f94f262cb994c8c38078c8f0b16 /openstackclient | |
| parent | fdc411ad6883e0ed8c231f6262190d400cc699d8 (diff) | |
| parent | 2745b178a43f51ba837c485eed08c8ef6011a9ea (diff) | |
| download | python-openstackclient-37240b3b8311b0d795aa87de23121aed7ab4da7b.tar.gz | |
Merge "Add qos_network_policy_id to network port tests"
Diffstat (limited to 'openstackclient')
| -rw-r--r-- | openstackclient/tests/unit/network/v2/fakes.py | 1 | ||||
| -rw-r--r-- | openstackclient/tests/unit/network/v2/test_port.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/openstackclient/tests/unit/network/v2/fakes.py b/openstackclient/tests/unit/network/v2/fakes.py index 5809b225..a553f501 100644 --- a/openstackclient/tests/unit/network/v2/fakes.py +++ b/openstackclient/tests/unit/network/v2/fakes.py @@ -638,6 +638,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, diff --git a/openstackclient/tests/unit/network/v2/test_port.py b/openstackclient/tests/unit/network/v2/test_port.py index d64cc79d..b1a18da6 100644 --- a/openstackclient/tests/unit/network/v2/test_port.py +++ b/openstackclient/tests/unit/network/v2/test_port.py @@ -61,6 +61,7 @@ class TestPort(network_fakes.TestNetworkV2): 'network_id', 'port_security_enabled', 'project_id', + 'qos_network_policy_id', 'qos_policy_id', 'security_group_ids', 'status', @@ -91,6 +92,7 @@ class TestPort(network_fakes.TestNetworkV2): fake_port.network_id, fake_port.port_security_enabled, fake_port.project_id, + fake_port.qos_network_policy_id, fake_port.qos_policy_id, format_columns.ListColumn(fake_port.security_group_ids), fake_port.status, |
