Fix create_rbac_policy tenant_id and network_id usage

This patchset fixes mistake where we pass params, but use their origin.

Change-Id: I4c73aaeba1907987306b210d2afef5b6a395e68b
This commit is contained in:
Mykola Yakovliev 2018-10-17 11:38:34 -05:00
parent 6925095992
commit 28c9c3a2c7
1 changed files with 2 additions and 2 deletions

View File

@ -30,9 +30,9 @@ class RbacPoliciesPluginRbacTest(base.BaseNetworkPluginRbacTest):
def create_rbac_policy(self, tenant_id, network_id):
policy = self.ntp_client.create_rbac_policy(
target_tenant=self.tenant_id,
target_tenant=tenant_id,
object_type="network",
object_id=self.network_id,
object_id=network_id,
action="access_as_shared"
)
self.addCleanup(