56
57
self.load_iovisor.assert_called_with()
57
58
self.ensure_mtu.assert_called_with()
58
60
self.add_lcm_key.assert_called_with()
60
62
def test_config_changed_hook(self):
61
63
_pkgs = ['plumgrid-lxc', 'iovisor-dkms']
62
66
self.determine_packages.return_value = [_pkgs]
63
67
self._call_hook('config-changed')
64
68
self.stop_pg.assert_called_with()