oslo.config/oslo_config
Hervé Beraud 3290e603dd Disable a config test if ran under the root user
The `test_conf_file_permission_denied` is designed to test
if a config file can't be read due to missing file permissions.

However if we run unit tests with the root user we will beneficiat
from the root privileges and so this test will fails. This can
be reproduced by running `tox` with `sudo`.

These changes propose to skip this test if root privileges are
detected.

Closes-bug: #1983358

Change-Id: Idd124082265032c30f83242b612d002d7093aa61
(cherry picked from commit 7b838f5c31)
(cherry picked from commit 966c588a0c)
2022-09-07 08:59:11 +00:00
..
sources inherit from object is not required for py3 2021-01-12 17:09:25 +00:00
tests Disable a config test if ran under the root user 2022-09-07 08:59:11 +00:00
__init__.py Move files out of the namespace package 2014-12-12 16:13:29 -05:00
_i18n.py Switch to hacking 2.x 2020-02-12 09:56:58 +00:00
_list_opts.py ensure we do not modify private data from drivers 2018-07-17 12:35:13 -04:00
cfg.py Adding the missing HostDomain config option 2021-04-22 12:31:48 +02:00
fixture.py track config file and command line locations for user settings 2018-03-15 10:14:03 -04:00
generator.py config-generator yaml format doesn't work with i18n fields 2021-05-16 11:49:38 +00:00
iniparser.py inherit from object is not required for py3 2021-01-12 17:09:25 +00:00
sphinxconfiggen.py Mark sphinx extensions thread safe 2020-04-14 11:04:14 +00:00
sphinxext.py sphinxext: Add 'merge_domaindata' 2020-09-10 16:36:46 +01:00
types.py Add the version parameter. 2021-05-04 15:00:11 +02:00
validator.py Ussuri+ is python3 only 2021-05-05 10:11:01 +08:00
version.py pbr.version.VersionInfo needs package name (oslo.xyz and not oslo_xyz) 2017-02-06 12:49:23 -05:00