You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by mx...@apache.org on 2017/05/07 10:22:44 UTC
incubator-ariatosca git commit: fixed linting [Forced Update!]
Repository: incubator-ariatosca
Updated Branches:
refs/heads/ARIA-160-Operation-toolbelt-unit-tests-fail-spordically a09fab1ab -> 80980abdf (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/80980abd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/80980abd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/80980abd
Branch: refs/heads/ARIA-160-Operation-toolbelt-unit-tests-fail-spordically
Commit: 80980abdf7fbb68207439635718354441f5e2a44
Parents: 746967b
Author: max-orlov <ma...@gigaspaces.com>
Authored: Sun May 7 12:30:21 2017 +0300
Committer: max-orlov <ma...@gigaspaces.com>
Committed: Sun May 7 13:22:37 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/80980abd/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/80980abd/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 = {}