Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-258-Convert-runtime-properties-to-attributes d09a832f2 -> efb0d3d18 (forced update)
fixed name in test Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/efb0d3d1 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/efb0d3d1 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/efb0d3d1 Branch: refs/heads/ARIA-258-Convert-runtime-properties-to-attributes Commit: efb0d3d18b12851d35f47495f14e6b00735cb046 Parents: 78e5e2f Author: max-orlov <[email protected]> Authored: Thu May 25 15:00:11 2017 +0300 Committer: max-orlov <[email protected]> Committed: Thu May 25 15:00:49 2017 +0300 ---------------------------------------------------------------------- tests/orchestrator/context/test_operation.py | 2 +- tests/orchestrator/workflows/core/test_task.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/efb0d3d1/tests/orchestrator/context/test_operation.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/context/test_operation.py b/tests/orchestrator/context/test_operation.py index c5c9d0b..5d193bc 100644 --- a/tests/orchestrator/context/test_operation.py +++ b/tests/orchestrator/context/test_operation.py @@ -507,4 +507,4 @@ def attribute_consuming_operation(ctx, holder_path, **_): holder.update(**ctx.target_node.attributes) ctx.target_node.attributes['key2'] = ctx.source_node.attributes['key2'] - holder['key2'] = ctx.target_node.attributes['key2'] \ No newline at end of file + holder['key2'] = ctx.target_node.attributes['key2'] http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/efb0d3d1/tests/orchestrator/workflows/core/test_task.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/workflows/core/test_task.py b/tests/orchestrator/workflows/core/test_task.py index b1b8251..e488933 100644 --- a/tests/orchestrator/workflows/core/test_task.py +++ b/tests/orchestrator/workflows/core/test_task.py @@ -100,7 +100,7 @@ class TestOperationTask(object): storage_task = ctx.model.task.get_by_name(core_task.name) assert storage_task.plugin is storage_plugin assert storage_task.execution_name == ctx.execution.name - assert storage_task.actor == core_task.context.node._actor + assert storage_task.actor == core_task.context.node._original_model assert core_task.model_task == storage_task assert core_task.name == api_task.name assert core_task.implementation == api_task.implementation
