Skip to content

Commit 32c1e6c

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Use project_id strings in fwaas tests"
2 parents 4c4d081 + 677657d commit 32c1e6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

openstackclient/tests/unit/network/v2/fwaas/test_group.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ def _mock_find(*args, **kwargs):
245245
self.network_client.find_firewall_policy.side_effect = _mock_find
246246
port = 'port'
247247
self.network_client.find_port.side_effect = _mock_find
248-
tenant_id = 'my-tenant'
248+
project_id = 'my-project'
249249
arglist = [
250250
'--name',
251251
name,
@@ -258,7 +258,7 @@ def _mock_find(*args, **kwargs):
258258
'--port',
259259
port,
260260
'--project',
261-
tenant_id,
261+
project_id,
262262
'--share',
263263
'--disable',
264264
]
@@ -269,7 +269,7 @@ def _mock_find(*args, **kwargs):
269269
('egress_firewall_policy', egress_policy),
270270
('port', [port]),
271271
('shared', True),
272-
('project', tenant_id),
272+
('project', project_id),
273273
('admin_state_up', False),
274274
]
275275
request, response = _generate_req_and_res(verifylist, self.resource)

0 commit comments

Comments
 (0)