aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-07-04 10:30:48 +0000
committerGerrit Code Review <review@openstack.org>2017-07-04 10:30:48 +0000
commitb986d4e8a48860a1201746f8bdad8f120e2a93f1 (patch)
tree746549e9983b01cd5af79c89d0af7ef4cacf3f4f /tests
parentcfa745a47d27ef7ef308dc05e4b39235365483dd (diff)
parentea3d140cab23ce3016e3bea7d35e4f5fbb8611f6 (diff)
downloadkolla-b986d4e8a48860a1201746f8bdad8f120e2a93f1.tar.gz
kolla-b986d4e8a48860a1201746f8bdad8f120e2a93f1.zip
Merge "Fix argument to handle_permissions"
Diffstat (limited to 'tests')
-rw-r--r--tests/test_set_config.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/test_set_config.py b/tests/test_set_config.py
index aff97b3bb..643b5ba54 100644
--- a/tests/test_set_config.py
+++ b/tests/test_set_config.py
@@ -143,9 +143,10 @@ class ConfigFileTest(base.BaseTestCase):
config_file = copy.deepcopy(FAKE_CONFIG_FILE)
config_file._set_properties_from_conf(config_file.dest)
- mock_handle_permissions.assert_called_with({'owner': 'user1',
- 'path': config_file.dest,
- 'perm': '0644'})
+ mock_handle_permissions.assert_called_with({'permissions':
+ [{'owner': 'user1',
+ 'path': config_file.dest,
+ 'perm': '0644'}]})
@mock.patch('glob.glob', return_value=[])
def test_copy_no_source_not_optional(self,