[virt-tools-list] [virt-bootstrap] [PATCH 2/4] tests: fix typo

Cedric Bosdonnat cbosdonnat at suse.com
Tue May 15 07:24:20 UTC 2018


On Sat, 2018-04-28 at 23:21 +0100, Radostin Stoyanov wrote:
> Signed-off-by: Radostin Stoyanov <rstoyanov1 at gmail.com>
> ---
>  tests/docker_source.py | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/docker_source.py b/tests/docker_source.py
> index ba6f930..0521322 100644
> --- a/tests/docker_source.py
> +++ b/tests/docker_source.py
> @@ -133,7 +133,7 @@ class TestDirDockerSource(ImageAccessor):
>          layers_rootfs = layers.get_layers_rootfs()
>          for rootfs_tree in layers_rootfs[::-1]:
>              self.rootfs_tree = rootfs_tree
> -            self.check_rootfs(skip_ownership=(os.geteuid != 0))
> +            self.check_rootfs(skip_ownership=(os.geteuid() != 0))
>  
>      @unittest.skipIf(NOT_ROOT, "Root privileges required")
>      def test_dir_ownership_mapping(self):

ACK
--
Cedric




More information about the virt-tools-list mailing list