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/23 15:48:00 UTC
incubator-ariatosca git commit: removed test fixes
Repository: incubator-ariatosca
Updated Branches:
refs/heads/ARIA-185-NullPool-logging-messages-appear-during-execution 51816fdb6 -> 8ce1dddd1
removed test fixes
Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/8ce1dddd
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/8ce1dddd
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/8ce1dddd
Branch: refs/heads/ARIA-185-NullPool-logging-messages-appear-during-execution
Commit: 8ce1dddd180dc561d0cf5dd902839298a053b538
Parents: 51816fd
Author: max-orlov <ma...@gigaspaces.com>
Authored: Tue May 23 18:47:54 2017 +0300
Committer: max-orlov <ma...@gigaspaces.com>
Committed: Tue May 23 18:47:54 2017 +0300
----------------------------------------------------------------------
tests/orchestrator/execution_plugin/test_ctx_proxy_server.py | 3 +--
tests/orchestrator/workflows/executor/__init__.py | 6 +-----
2 files changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/8ce1dddd/tests/orchestrator/execution_plugin/test_ctx_proxy_server.py
----------------------------------------------------------------------
diff --git a/tests/orchestrator/execution_plugin/test_ctx_proxy_server.py b/tests/orchestrator/execution_plugin/test_ctx_proxy_server.py
index a41f9f0..98ceff9 100644
--- a/tests/orchestrator/execution_plugin/test_ctx_proxy_server.py
+++ b/tests/orchestrator/execution_plugin/test_ctx_proxy_server.py
@@ -136,7 +136,7 @@ class TestCtxProxy(object):
kwargs=kwargs)
@pytest.fixture
- def ctx(self, mocker):
+ def ctx(self):
class MockCtx(object):
pass
ctx = MockCtx()
@@ -160,7 +160,6 @@ class TestCtxProxy(object):
ctx.stub_args = self.stub_args
ctx.stub_attr = self.StubAttribute()
ctx.node = self.NodeAttribute(properties)
- ctx.model = mocker.MagicMock()
return ctx
@pytest.fixture
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/8ce1dddd/tests/orchestrator/workflows/executor/__init__.py
----------------------------------------------------------------------
diff --git a/tests/orchestrator/workflows/executor/__init__.py b/tests/orchestrator/workflows/executor/__init__.py
index 41c4b2e..1a462ca 100644
--- a/tests/orchestrator/workflows/executor/__init__.py
+++ b/tests/orchestrator/workflows/executor/__init__.py
@@ -73,8 +73,4 @@ class MockContext(object):
if kwargs:
return cls(storage=aria.application_model_storage(**kwargs))
else:
- return cls()
-
- @staticmethod
- def close():
- pass
+ return cls()
\ No newline at end of file