Fix lint and unit tests

This commit is contained in:
Liam Young 2015-03-03 11:12:19 +00:00
parent 7a4e0e1222
commit 8534a357af
2 changed files with 3 additions and 0 deletions

View File

@ -116,5 +116,6 @@ def get_shared_secret():
if 'shared_secret' in ctxt: if 'shared_secret' in ctxt:
return ctxt['shared_secret'] return ctxt['shared_secret']
def use_dvr(): def use_dvr():
return neutron_ovs_context.use_dvr() return neutron_ovs_context.use_dvr()

View File

@ -21,6 +21,7 @@ utils.restart_map = _map
TO_PATCH = [ TO_PATCH = [
'apt_update', 'apt_update',
'apt_install', 'apt_install',
'apt_purge',
'config', 'config',
'CONFIGS', 'CONFIGS',
'determine_packages', 'determine_packages',
@ -30,6 +31,7 @@ TO_PATCH = [
'relation_ids', 'relation_ids',
'relation_set', 'relation_set',
'configure_ovs', 'configure_ovs',
'use_dvr',
] ]
NEUTRON_CONF_DIR = "/etc/neutron" NEUTRON_CONF_DIR = "/etc/neutron"