cli without project_name argument

The tempest.lib'cli.base.CLIClient init with tenant_name argument.
When runing test_simple_backup tempest, it fails with following message,
"""
freezer-scheduler: error: argument --os-project-name: expected one argument
"""

Change-Id: Ia200b1e8e9c80b3f713cbdc65d0c3d3fcf2d3d55
This commit is contained in:
suzhengwei 2023-11-07 16:46:38 +08:00
parent f5c268b9be
commit 549885a16a

View File

@ -41,7 +41,7 @@ class BaseFreezerCliTest(base.BaseFreezerTest):
username=cls.os_primary.credentials.username, username=cls.os_primary.credentials.username,
# fails if the password contains an unescaped $ sign # fails if the password contains an unescaped $ sign
password=cls.os_primary.credentials.password.replace('$', '$$'), password=cls.os_primary.credentials.password.replace('$', '$$'),
project_name=cls.os_primary.credentials.project_name, tenant_name=cls.os_primary.credentials.project_name,
uri=cls.get_auth_url(), uri=cls.get_auth_url(),
cli_dir='/usr/local/bin' # devstack default cli_dir='/usr/local/bin' # devstack default
) )