From fec05f17d7adad1d36d0214e30339392905f87d2 Mon Sep 17 00:00:00 2001 From: ricolin Date: Thu, 2 Feb 2017 18:48:18 +0800 Subject: [PATCH] Fix wrong function description Correct function name in description for test function. Also correct function sample in hot function class `MapMerge`. Change-Id: I61acec48e4a8365940d3e6e3d0a93d0c58fbda43 --- heat/engine/hot/functions.py | 2 +- heat/tests/clients/test_nova_client.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/heat/engine/hot/functions.py b/heat/engine/hot/functions.py index 37428e6fea..79f27a42c7 100644 --- a/heat/engine/hot/functions.py +++ b/heat/engine/hot/functions.py @@ -704,7 +704,7 @@ class MapMerge(function.Function): And resolves to:: - {"": "", "": ""} + {"": "", "": ""} """ diff --git a/heat/tests/clients/test_nova_client.py b/heat/tests/clients/test_nova_client.py index 02d31578b1..09b70c8ca0 100644 --- a/heat/tests/clients/test_nova_client.py +++ b/heat/tests/clients/test_nova_client.py @@ -96,7 +96,7 @@ class NovaClientPluginTest(NovaClientPluginTestCase): self.assertEqual(expected, observed) def test_find_flavor_by_name_or_id(self): - """Tests the get_flavor_id function.""" + """Tests the find_flavor_by_name_or_id function.""" flav_id = str(uuid.uuid4()) flav_name = 'X-Large' my_flavor = mock.MagicMock()