ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From AviaE <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #188: ARIA-324 Refactor ctx proxy access
Date Sun, 30 Jul 2017 14:40:52 GMT
Github user AviaE commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/188#discussion_r130244198
  
    --- Diff: tests/orchestrator/execution_plugin/test_ctx_proxy_server.py ---
    @@ -39,26 +39,26 @@ def test_dict_prop_access_get_key(self, server):
             assert response == 'value1'
     
         def test_dict_prop_access_get_key_nested(self, server):
    -        response = self.request(server, 'node', 'properties', 'prop2.nested_prop1')
    +        response = self.request(server, 'node', 'properties', 'prop2', 'nested_prop1')
             assert response == 'nested_value1'
     
         def test_dict_prop_access_get_with_list_index(self, server):
    -        response = self.request(server, 'node', 'properties', 'prop3[2].value')
    +        response = self.request(server, 'node', 'properties', 'prop3', 2, 'value')
             assert response == 'value_2'
     
    --- End diff --
    
    Add a test for modifying a list element.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message