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
This commit is contained in:
Vladimir Khlyunev 2016-09-07 11:59:24 +03:00
parent fa35c2fecf
commit e2d65c93f3
1 changed files with 1 additions and 1 deletions

View File

@ -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)