Fix unit tests

This commit is contained in:
Liam Young 2015-09-07 09:39:19 +01:00
parent da81bff5dd
commit dbcacf114f

View File

@ -399,7 +399,7 @@ class GlanceRelationTests(CharmTestCase):
@patch("glance_relations.get_ceph_request") @patch("glance_relations.get_ceph_request")
@patch("glance_relations.send_request_if_needed") @patch("glance_relations.send_request_if_needed")
@patch("glance_relations.request_complete") @patch("glance_relations.is_request_complete")
@patch.object(relations, 'CONFIGS') @patch.object(relations, 'CONFIGS')
def test_ceph_changed_broker_send_rq(self, configs, mock_request_complete, def test_ceph_changed_broker_send_rq(self, configs, mock_request_complete,
mock_send_request_if_needed, mock_send_request_if_needed,
@ -419,7 +419,7 @@ class GlanceRelationTests(CharmTestCase):
@patch("glance_relations.get_ceph_request") @patch("glance_relations.get_ceph_request")
@patch("glance_relations.send_request_if_needed") @patch("glance_relations.send_request_if_needed")
@patch("glance_relations.request_complete") @patch("glance_relations.is_request_complete")
@patch.object(relations, 'CONFIGS') @patch.object(relations, 'CONFIGS')
def test_ceph_changed_key_and_relation_data(self, configs, def test_ceph_changed_key_and_relation_data(self, configs,
mock_request_complete, mock_request_complete,