From dbcacf114f727aeaaf60ffbcad2f904ed437d328 Mon Sep 17 00:00:00 2001 From: Liam Young Date: Mon, 7 Sep 2015 09:39:19 +0100 Subject: [PATCH] Fix unit tests --- unit_tests/test_glance_relations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unit_tests/test_glance_relations.py b/unit_tests/test_glance_relations.py index ab013830..b07eec3d 100644 --- a/unit_tests/test_glance_relations.py +++ b/unit_tests/test_glance_relations.py @@ -399,7 +399,7 @@ class GlanceRelationTests(CharmTestCase): @patch("glance_relations.get_ceph_request") @patch("glance_relations.send_request_if_needed") - @patch("glance_relations.request_complete") + @patch("glance_relations.is_request_complete") @patch.object(relations, 'CONFIGS') def test_ceph_changed_broker_send_rq(self, configs, mock_request_complete, mock_send_request_if_needed, @@ -419,7 +419,7 @@ class GlanceRelationTests(CharmTestCase): @patch("glance_relations.get_ceph_request") @patch("glance_relations.send_request_if_needed") - @patch("glance_relations.request_complete") + @patch("glance_relations.is_request_complete") @patch.object(relations, 'CONFIGS') def test_ceph_changed_key_and_relation_data(self, configs, mock_request_complete,