~1chb1n/charms/trusty/neutron-api/calico-amulet

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_api_hooks.py

  • Committer: Cory Benfield
  • Date: 2014-12-02 16:33:49 UTC
  • Revision ID: cory.benfield@metaswitch.com-20141202163349-64p4vngakmd2d0c5
Fix broken unit tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
257
257
        self.assertTrue(self.CONFIGS.write.called_with(NEUTRON_CONF))
258
258
 
259
259
    def test_neutron_plugin_api_relation_joined(self):
 
260
        self.unit_get.return_value = '172.18.18.18'
260
261
        _relation_data = {
261
262
            'neutron-security-groups': False,
 
263
            'addr': '172.18.18.18'
262
264
        }
263
265
        self._call_hook('neutron-plugin-api-relation-joined')
264
266
        self.relation_set.assert_called_with(