tacker/tacker/privileged
Yasufumi Ogawa 883cd6bed6 Fix failure of testing privsep
Unittests for privsep and rootwrap fail if it runs on non-linux env
such as MacOS, or other than devstack environment. It's because
`oslo.privsep` and its tool are not installed properly in tox env.
So, skip the tests on other than devstack env to avoid such a failure.

This patch also modifies `pypath` in initialization of Privcontext
because its fstring cannot be expanded correctly in some environment
and tests are failed.

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I1e160500c30c379645bc19a67c429e9b2f12dcda
2022-03-18 19:25:11 +09:00
..
__init__.py Fix failure of testing privsep 2022-03-18 19:25:11 +09:00
linux_cmd.py Migrate rootwrap to privsep 2022-03-09 00:36:10 +00:00