oslo.config/oslo_config/tests
Corey Bryant 21e70e28b3 Add snap package paths to default config dirs
With snap packaging (see snapcraft.io) the package is installed into a
read-only squashfs filesystem, which includes the default config. For
example, $SNAP/etc/nova/nova.conf. To override the defaults, a separate
writable directory is used, and this directory is also unique to the snap.
For example, either $SNAP_COMMON/etc/nova/nova.conf, or
$SNAP_COMMON/etc/nova/nova.conf.d/ can be used to override config.

This patch adds these snap directories to the default config paths where
oslo looks for config.

For more details on $SNAP and $SNAP_COMMON please refer to
https://snapcraft.io/docs/reference/env.

Change-Id: I83627e0f215382aedc7b32163e0303b39e8bccf8
Closes-Bug: 1696830
2017-06-14 14:35:33 -04:00
..
testmods Remove oslo namespace package 2015-07-13 22:23:36 +00:00
__init__.py Move files out of the namespace package 2014-12-12 16:13:29 -05:00
test_cfg.py Add snap package paths to default config dirs 2017-06-14 14:35:33 -04:00
test_cfgfilter.py Fix parameters of assertEqual are misplaced 2016-07-19 11:52:55 +08:00
test_fixture.conf Allow loading custom config files into Config Fixture. 2015-04-10 13:53:37 -07:00
test_fixture.py Remove usage of enforce_type=True 2017-04-11 14:27:53 +08:00
test_generator.py Machine Readable Sample Config 2017-06-01 20:47:01 +00:00
test_iniparser.py Fix parameters of assertEqual are misplaced 2016-07-19 11:52:55 +08:00
test_sphinxconfiggen.py sphinxconfiggen to generate multiple sample files 2016-05-11 17:06:00 -05:00
test_sphinxext.py Advanced Option 2016-08-02 14:39:50 -05:00
test_types.py Fix conversion to item_type on __call__ in List type(again) 2017-03-17 16:48:18 +08:00