Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 56328200C80 for ; Thu, 25 May 2017 14:01:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 54BA4160BCA; Thu, 25 May 2017 12:01:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9C446160BC7 for ; Thu, 25 May 2017 14:01:02 +0200 (CEST) Received: (qmail 35780 invoked by uid 500); 25 May 2017 12:01:01 -0000 Mailing-List: contact dev-help@ariatosca.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ariatosca.incubator.apache.org Delivered-To: mailing list dev@ariatosca.incubator.apache.org Received: (qmail 35763 invoked by uid 99); 25 May 2017 12:01:01 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2017 12:01:01 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5A17D180311 for ; Thu, 25 May 2017 12:01:01 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -4.22 X-Spam-Level: X-Spam-Status: No, score=-4.22 tagged_above=-999 required=6.31 tests=[HK_RANDOM_FROM=0.001, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id HDJPlcfm6IAB for ; Thu, 25 May 2017 12:01:00 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with SMTP id A6F7C60E23 for ; Thu, 25 May 2017 12:00:59 +0000 (UTC) Received: (qmail 35710 invoked by uid 99); 25 May 2017 12:00:53 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 May 2017 12:00:53 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id CEBF1DFAEB; Thu, 25 May 2017 12:00:53 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mxmrlv@apache.org To: dev@ariatosca.incubator.apache.org Message-Id: <6e13757fdae7488cb55cb28330f73b81@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: incubator-ariatosca git commit: fixed name in test [Forced Update!] Date: Thu, 25 May 2017 12:00:53 +0000 (UTC) archived-at: Thu, 25 May 2017 12:01:03 -0000 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 Authored: Thu May 25 15:00:11 2017 +0300 Committer: max-orlov 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