From e2d65c93f398e655eaf16bf545efe7c389842578 Mon Sep 17 00:00:00 2001 From: Vladimir Khlyunev Date: Wed, 7 Sep 2016 11:59:24 +0300 Subject: [PATCH] Fix incorrect usage of YamlEditor in gates tests Removing of old methods was included an new error - fix it. Change-Id: Iab5c1f6cdc013a33dfc4252ab03a444a0bbc72a1 Closes-bug:1620966 --- gates_tests/helpers/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gates_tests/helpers/utils.py b/gates_tests/helpers/utils.py index 4577bc118..3bf389f33 100644 --- a/gates_tests/helpers/utils.py +++ b/gates_tests/helpers/utils.py @@ -519,4 +519,4 @@ def update_bootstrap_cli_yaml(): 'suite': 'auxiliary', 'type': 'deb', 'uri': 'http://127.0.0.1:8080/ubuntu/auxiliary/'} with YamlEditor(path, ip=actions.admin_ip) as editor: - editor['repos'].append(new_repo) + editor.content['repos'].append(new_repo)