Fix lint and unit tests

This commit is contained in:
Liam Young 2015-05-11 09:25:22 +01:00
parent ec24411e0f
commit 2bcf8c54fa

View File

@ -41,6 +41,7 @@ TO_PATCH = [
'restart_on_change',
'service_reload',
'service_stop',
'service_restart',
# charmhelpers.contrib.openstack.utils
'configure_installation_source',
'os_release',
@ -427,6 +428,7 @@ class GlanceRelationTests(CharmTestCase):
self.assertEquals([call('/etc/glance/glance-api.conf'),
call(self.ceph_config_file())],
configs.write.call_args_list)
self.service_restart.assert_called_with('glance-api')
@patch.object(relations, 'CONFIGS')
def test_ceph_broken(self, configs):