Repository: incubator-ariatosca Updated Branches: refs/heads/ARIA-160-Operation-toolbelt-unit-tests-fail-spordically 80980abdf -> db4eb1a53 (forced update)
fixed linting Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/db4eb1a5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/db4eb1a5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/db4eb1a5 Branch: refs/heads/ARIA-160-Operation-toolbelt-unit-tests-fail-spordically Commit: db4eb1a53154ed19281648613f1e8e43ee0b70a6 Parents: 746967b Author: max-orlov <[email protected]> Authored: Sun May 7 12:30:21 2017 +0300 Committer: max-orlov <[email protected]> Committed: Sun May 7 13:39:09 2017 +0300 ---------------------------------------------------------------------- tests/orchestrator/context/test_toolbelt.py | 7 ++++--- tests/orchestrator/workflows/core/test_engine.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/db4eb1a5/tests/orchestrator/context/test_toolbelt.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/context/test_toolbelt.py b/tests/orchestrator/context/test_toolbelt.py index 0e3cf1a..822ac5a 100644 --- a/tests/orchestrator/context/test_toolbelt.py +++ b/tests/orchestrator/context/test_toolbelt.py @@ -19,7 +19,6 @@ from aria import workflow, operation from aria.orchestrator import context from aria.orchestrator.workflows import api from aria.orchestrator.workflows.executor import thread -from aria.orchestrator.context.toolbelt import RelationshipToolBelt from tests import ( mock, @@ -138,8 +137,10 @@ def test_relationship_tool_belt(workflow_context, executor): execute(workflow_func=basic_workflow, workflow_context=workflow_context, executor=executor) assert global_test_holder.get(api.task.OperationTask.NAME_FORMAT.format( - type='relationship', name=relationship.name, interface=interface_name, operation=operation_name) - ) == relationship.source_node.name + type='relationship', + name=relationship.name, + interface=interface_name, + operation=operation_name)) == relationship.source_node.name def test_wrong_model_toolbelt(): http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/db4eb1a5/tests/orchestrator/workflows/core/test_engine.py ---------------------------------------------------------------------- diff --git a/tests/orchestrator/workflows/core/test_engine.py b/tests/orchestrator/workflows/core/test_engine.py index 4c724f5..8c0705b 100644 --- a/tests/orchestrator/workflows/core/test_engine.py +++ b/tests/orchestrator/workflows/core/test_engine.py @@ -31,7 +31,7 @@ from aria.orchestrator.workflows import ( from aria.orchestrator.workflows.core import engine from aria.orchestrator.workflows.executor import thread -from tests import mock, storage, helpers +from tests import mock, storage global_test_holder = {}
