refstack-client/refstack_client/tests/unit/refstack-client.test.conf
Lukáš Piwowarski 340344526b Fix parsing of tenant/project_name values
The parsing of tenant_name value from tempest.conf ends with an error as
the ConfigParser.get() function fails if a requested value is missing
in a config file.

This patch fixes the issue by using the fallback option of the
ConfigParser.get() function. Also, the unittest that checks the reading
of [identity] section from tempest.conf is fixed.

Change-Id: I9b3224f4ab8900a4954814844ef8c13e099ccae9
2022-10-21 15:11:37 +02:00

12 lines
226 B
Plaintext

[identity]
auth_version = v2
uri = http://0.0.0.0:35357/v2.0
uri_v3 = http://0.0.0.0:35357/v3
username = admin
password = test
tenant_id = admin_project_id
project_name = project_name
[identity-feature-enabled]
api_v2 = true