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

Radostin Stoyanov rstoyanov1 at gmail.com
Sat Apr 28 22:21:02 UTC 2018


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):
-- 
2.14.3




More information about the virt-tools-list mailing list