[cvp-spt] change adm_tenant in the create_subnet function
Change-Id: I8ebf04b658d5f17846c23f13670b7b63c1e9c771
Fixes-Issue: #PROD-29311(PROD:29311)
diff --git a/test_set/cvp-spt/fixtures/base.py b/test_set/cvp-spt/fixtures/base.py
index a79d39d..41fabb4 100644
--- a/test_set/cvp-spt/fixtures/base.py
+++ b/test_set/cvp-spt/fixtures/base.py
@@ -73,7 +73,7 @@
adm_tenant = os_actions.get_admin_tenant()
os_resource['router'] = os_actions.create_router(os_resource['ext_net'], adm_tenant.id)
os_resource['net2'] = os_actions.create_network(adm_tenant.id)
- os_resource['subnet2'] = os_actions.create_subnet(os_resource['net2'], adm_tenant, '10.2.7.0/24')
+ os_resource['subnet2'] = os_actions.create_subnet(os_resource['net2'], adm_tenant.id, '10.2.7.0/24')
for subnet in openstack_clients.network.list_subnets()['subnets']:
if subnet['network_id'] == os_resource['net1']['id']:
os_resource['subnet1'] = subnet['id']