~openstack-charmers-archive/charms/trusty/neutron-openvswitch/next

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_ovs_hooks.py

  • Committer: Liam Young
  • Date: 2015-04-01 15:03:02 UTC
  • mfrom: (31.3.31 neutron-openvswitch)
  • Revision ID: liam.young@canonical.com-20150401150302-717comym857n0ebi
[james-page, r=gnuoy] Add 0mq support

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        ])
60
60
 
61
61
    def test_config_changed(self):
 
62
        self.relation_ids.return_value = ['relid']
 
63
        _zmq_joined = self.patch('zeromq_configuration_relation_joined')
62
64
        self._call_hook('config-changed')
63
65
        self.assertTrue(self.CONFIGS.write_all.called)
 
66
        self.assertTrue(_zmq_joined.called_with('relid'))
64
67
        self.configure_ovs.assert_called_with()
65
68
 
66
69
    def test_config_changed_dvr(self):