diff options
author | zhongjun <zhong.jun@zte.com.cn> | 2017-08-18 16:58:57 +0800 |
---|---|---|
committer | zhongjun <zhong.jun@zte.com.cn> | 2017-08-18 17:12:57 +0800 |
commit | 7b4b1d7a2c2cb341aa31001aeebf9499b25b0305 (patch) | |
tree | a014fb3582d5efadc9f27eed5f0d6fd1d657194b /deploy/prepare | |
parent | cf379370addba64f090387eed27f8b91ae82e875 (diff) |
Add pytest file for prepare/execute.py
1.Add pytest file test_execute.py for prepare/execute.py.
2.Change the makedirs mode from 0600 to 0700 for test env.
Change-Id: Ie29e9e4b4210b170f448faf4df907e55bff1435f
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
Diffstat (limited to 'deploy/prepare')
-rw-r--r-- | deploy/prepare/execute.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/prepare/execute.py b/deploy/prepare/execute.py index 2b46119d..11939b8d 100644 --- a/deploy/prepare/execute.py +++ b/deploy/prepare/execute.py @@ -16,7 +16,7 @@ KOLLA_CONF_PATH = '/etc/kolla/config' def _make_dirs(path): if not os.path.isdir(path): - os.makedirs(path, mode=0644) + os.makedirs(path, mode=0744) def _write_conf_file(conf_file, conf): |