ariatosca-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mxmrlv <...@git.apache.org>
Subject [GitHub] incubator-ariatosca pull request #133: Convert runtime_properties to attribu...
Date Thu, 25 May 2017 11:33:51 GMT
Github user mxmrlv commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/133#discussion_r118467706
  
    --- Diff: tests/orchestrator/context/test_operation.py ---
    @@ -422,3 +484,15 @@ def get_node_id(ctx, holder_path, **_):
     def _test_plugin_workdir(ctx, filename, content):
         with open(os.path.join(ctx.plugin_workdir, filename), 'w') as f:
             f.write(content)
    +
    +
    +@operation
    +def attribute_altering_operation(ctx, dict_, **_):
    +    ctx.node.attributes.update(dict_)
    --- End diff --
    
    add set and get


---
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