~openstack-charmers-archive/charms/precise/neutron-openvswitch/old-1501

« back to all changes in this revision

Viewing changes to unit_tests/test_neutron_ovs_context.py

  • Committer: Liam Young
  • Date: 2014-06-23 12:50:23 UTC
  • Revision ID: liam.young@canonical.com-20140623125023-g1fm5lvis3nefsqv
Tidy up and fix bug causing sec group settings to not be updated by api service

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        _is_clus.return_value = False
54
54
        self.related_units.return_value = ['unit1']
55
55
        self.relation_ids.return_value = ['rid2']
56
 
        self.test_relation.set({'neutron_security_groups': 'yes'})
 
56
        self.test_relation.set({'neutron-security-groups': 'yes'})
57
57
        self.get_host_ip.return_value = '127.0.0.15'
58
58
        self.service_running.return_value = False
59
59
        napi_ctxt = context.OVSPluginContext()