diff options
| author | Jenkins <jenkins@review.openstack.org> | 2017-06-05 05:34:39 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2017-06-05 05:34:39 +0000 |
| commit | 847f9023377b93fc0636309d44ff636fb111d66c (patch) | |
| tree | a4f63af0f9ca4c0eaaf137bfc4d63afe90473ec0 /heatclient/tests/unit/test_resources.py | |
| parent | ee6ebb5d116c9373c238c3438cc5c08b59136264 (diff) | |
| parent | a625d3bb93a18193058a09cb7887e9cfa4ea9df0 (diff) | |
| download | python-heatclient-1.10.0.tar.gz | |
Merge "Don't encode path separators"1.10.0
Diffstat (limited to 'heatclient/tests/unit/test_resources.py')
| -rw-r--r-- | heatclient/tests/unit/test_resources.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/heatclient/tests/unit/test_resources.py b/heatclient/tests/unit/test_resources.py index b3c5c30..96e8203 100644 --- a/heatclient/tests/unit/test_resources.py +++ b/heatclient/tests/unit/test_resources.py @@ -73,7 +73,7 @@ class ResourceManagerTest(testtools.TestCase): fields = {'stack_id': 'teststack', 'resource_name': 'testresource'} expect = ('GET', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/testresource') key = 'resource' @@ -86,7 +86,7 @@ class ResourceManagerTest(testtools.TestCase): 'resource_name': 'testresource', 'with_attr': ['attr_a', 'attr_b']} expect = ('GET', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/testresource?with_attr=attr_a&with_attr=attr_b') key = 'resource' @@ -98,7 +98,7 @@ class ResourceManagerTest(testtools.TestCase): fields = {'stack_id': 'teststack', 'resource_name': u'\u5de5\u4f5c'} expect = ('GET', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/%E5%B7%A5%E4%BD%9C') key = 'resource' @@ -154,7 +154,7 @@ class ResourceManagerTest(testtools.TestCase): fields = {'stack_id': 'teststack', 'resource_name': 'testresource'} expect = ('GET', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/testresource/metadata') key = 'metadata' @@ -192,7 +192,7 @@ class ResourceManagerTest(testtools.TestCase): 'resource_name': 'testresource', 'data': 'Some content'} expect = ('POST', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/testresource/signal') key = 'signal' @@ -206,7 +206,7 @@ class ResourceManagerTest(testtools.TestCase): 'mark_unhealthy': 'True', 'resource_status_reason': 'Anything'} expect = ('PATCH', - '/stacks/teststack%2Fabcd1234/resources' + '/stacks/teststack/abcd1234/resources' '/testresource') key = 'mark_unhealthy' |
