Registering configs before config-changed hook

This commit is contained in:
Bilal Baqar
2016-01-14 04:39:52 -08:00
parent 3b5d041fa9
commit abdfd54ee0
2 changed files with 1 additions and 2 deletions

View File

@@ -48,7 +48,7 @@ def install():
apt_install(pkg, options=['--force-yes'], fatal=True)
load_iovisor()
ensure_mtu()
add_lcm_key()
CONFIGS.write_all()
@hooks.hook('director-relation-joined')

View File

@@ -57,7 +57,6 @@ class PGDirHooksTests(CharmTestCase):
])
self.load_iovisor.assert_called_with()
self.ensure_mtu.assert_called_with()
self.add_lcm_key.assert_called_with()
def test_config_changed_hook(self):
self.add_lcm_key.return_value = 1