Skip to content

Commit 5fa892c

Browse files
committed
foo
2 parents 12ed2e5 + 87a2983 commit 5fa892c

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

cloudify_rest/tests/test_tasks.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
from cloudify.mocks import MockNodeContext, MockCloudifyContext
2222
from cloudify.exceptions import NonRecoverableError
2323

24+
from .. import tasks
2425
from cloudify_common_sdk._compat import PY2
2526

2627

@@ -43,8 +44,6 @@ def __init__(self, *_, **kwargs):
4344
self._node = MockNodeCtx(node_name, properties, node_type)
4445

4546

46-
from .. import tasks
47-
4847
TEMPLATE = """
4948
rest_calls:
5049
- path: http://check.test/

cloudify_terminal/tests/test_tasks.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,15 @@ def _gen_relation_ctx(self):
7878
)
7979
_target_ctx.instance.host_ip = None
8080

81+
_source_ctx = MockC1oudifyContext(
82+
'node_name',
83+
properties={},
84+
runtime_properties={}
85+
)
86+
_source_ctx.instance.host_ip = None
87+
8188
_ctx = MockC1oudifyContext(
89+
source=_source_ctx,
8290
target=_target_ctx
8391
)
8492
_ctx._execution_id = "execution_id"

v2_plugin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1123,4 +1123,4 @@ blueprint_labels:
11231123
labels:
11241124
obj-type:
11251125
values:
1126-
- utilities
1126+
- utilities

0 commit comments

Comments
 (0)