diff options
| author | Rakesh H S <rh-s@hp.com> | 2015-04-20 16:38:37 +0530 |
|---|---|---|
| committer | Rakesh H S <rh-s@hp.com> | 2015-04-20 13:42:26 +0000 |
| commit | 7c70bcf30be4a473c0e04f8dda42d60e58dcaef7 (patch) | |
| tree | b8257c8dea18a94d4956568ad56db2bc2f1988dd | |
| parent | 77204a37a97c7c70abac88f04b807bf6db5341ab (diff) | |
| download | python-heatclient-0.5.0.tar.gz | |
correction in function names under test_resource0.5.0
The functions in test_resources.py will test resources.
But due to copy paste, the function names wrongly state that it
tests events. Hence when this test case fails, you would start
debugging events!.
This patch corrects the function names.
Change-Id: Iddd7666f88522cbcd0ac1674ecd633313e7b4b05
| -rw-r--r-- | heatclient/tests/test_resources.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/heatclient/tests/test_resources.py b/heatclient/tests/test_resources.py index a5f70e3..e084dd6 100644 --- a/heatclient/tests/test_resources.py +++ b/heatclient/tests/test_resources.py @@ -46,7 +46,7 @@ class ResourceManagerTest(testtools.TestCase): return manager - def test_get_event(self): + def test_get(self): fields = {'stack_id': 'teststack', 'resource_name': 'testresource'} expect = ('GET', @@ -57,7 +57,7 @@ class ResourceManagerTest(testtools.TestCase): manager = self._base_test(expect, key) manager.get(**fields) - def test_get_event_with_unicode_resource_name(self): + def test_get_with_unicode_resource_name(self): fields = {'stack_id': 'teststack', 'resource_name': u'\u5de5\u4f5c'} expect = ('GET', |
