]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-volume/tests: fix test_exception_returns_default 47435/head
authorGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Aug 2022 09:16:36 +0000 (11:16 +0200)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 3 Aug 2022 11:30:37 +0000 (13:30 +0200)
commitbb4cb93c5395db30f732fd0d8773ad2557f75c84
tree58ad53c478d753a4b51ad0f5b47305be256461c4
parent8d5991946a45dde7d57f80f45c42adfd10485ef1
ceph-volume/tests: fix test_exception_returns_default

There are cases, like running tests as root user, where this test fails
because root user can always read the file content.

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
(cherry picked from commit 47aec3b86bcc850292f66d24670c5d8dc0a33c85)
src/ceph-volume/ceph_volume/tests/util/test_system.py