Skip to content

Commit 37240b3

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Add qos_network_policy_id to network port tests"
2 parents fdc411a + 2745b17 commit 37240b3

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

openstackclient/tests/unit/network/v2/fakes.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -638,6 +638,7 @@ def create_one_port(attrs=None):
638638
'security_group_ids': [],
639639
'status': 'ACTIVE',
640640
'tenant_id': 'project-id-' + uuid.uuid4().hex,
641+
'qos_network_policy_id': 'qos-policy-id-' + uuid.uuid4().hex,
641642
'qos_policy_id': 'qos-policy-id-' + uuid.uuid4().hex,
642643
'tags': [],
643644
'uplink_status_propagation': False,

openstackclient/tests/unit/network/v2/test_port.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def _get_common_cols_data(fake_port):
6161
'network_id',
6262
'port_security_enabled',
6363
'project_id',
64+
'qos_network_policy_id',
6465
'qos_policy_id',
6566
'security_group_ids',
6667
'status',
@@ -91,6 +92,7 @@ def _get_common_cols_data(fake_port):
9192
fake_port.network_id,
9293
fake_port.port_security_enabled,
9394
fake_port.project_id,
95+
fake_port.qos_network_policy_id,
9496
fake_port.qos_policy_id,
9597
format_columns.ListColumn(fake_port.security_group_ids),
9698
fake_port.status,

0 commit comments

Comments
 (0)