File tree Expand file tree Collapse file tree
openstackclient/tests/unit/network/v2/fwaas Expand file tree Collapse file tree Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments