summaryrefslogtreecommitdiffstats
path: root/test/functional/libgfapi-python-tests.py
diff options
context:
space:
mode:
authorThiago da Silva <thiago@redhat.com>2014-01-28 06:01:21 -0500
committerThiago da Silva <thiago@redhat.com>2014-01-29 08:40:28 -0500
commit8e04b9bf78bbc8f0f6938338e2a6d53f8ff6ae0e (patch)
tree2e6182820e35ba5d03fc1553867ac0a3e2af496f /test/functional/libgfapi-python-tests.py
parentd3d96bf3804d1cbf5119fd2ef1f102e8756ef636 (diff)
add mode parameter to mkdir method
add mode parameter to mkdir to allow setting the dir access mode when the directory is being created Change-Id: I6f1ed0c8800fb65a30448e6082cf55b8220a06d4 Signed-off-by: Thiago da Silva <thiago@redhat.com>
Diffstat (limited to 'test/functional/libgfapi-python-tests.py')
-rw-r--r--test/functional/libgfapi-python-tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/libgfapi-python-tests.py b/test/functional/libgfapi-python-tests.py
index 30a1732..d0703df 100644
--- a/test/functional/libgfapi-python-tests.py
+++ b/test/functional/libgfapi-python-tests.py
@@ -94,7 +94,7 @@ class DirOpsTest(unittest.TestCase):
def setUp(self):
self.data = loremipsum.get_sentence()
self.dir_path = self._testMethodName + "_dir"
- self.vol.mkdir(self.dir_path)
+ self.vol.mkdir(self.dir_path, 0755)
self.file_path = self.dir_path + "/" + self.testfile
with self.vol.creat(
self.file_path, os.O_WRONLY | os.O_EXCL, 0644) as fd: