ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject incubator-ariatosca git commit: fix failing ssh tests
Date Tue, 18 Apr 2017 12:38:45 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-48-aria-cli 38f9abada -> 1bfefd178


fix failing ssh tests


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/1bfefd17
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/1bfefd17
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/1bfefd17

Branch: refs/heads/ARIA-48-aria-cli
Commit: 1bfefd17890c7c65c12f0a943e60dc714ac95adf
Parents: 38f9aba
Author: Ran Ziv <ran@gigaspaces.com>
Authored: Tue Apr 18 15:38:41 2017 +0300
Committer: Ran Ziv <ran@gigaspaces.com>
Committed: Tue Apr 18 15:38:41 2017 +0300

----------------------------------------------------------------------
 tests/mock/models.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/1bfefd17/tests/mock/models.py
----------------------------------------------------------------------
diff --git a/tests/mock/models.py b/tests/mock/models.py
index 38c2b28..8a9273b 100644
--- a/tests/mock/models.py
+++ b/tests/mock/models.py
@@ -190,7 +190,8 @@ def create_interface(service, interface_name, operation_name, operation_kwargs=N
     if operation_kwargs and operation_kwargs.get('inputs'):
         operation_kwargs['inputs'] = dict(
             (input_name, models.Parameter.wrap(input_name, input_value))
-            for input_name, input_value in operation_kwargs['inputs'].iteritems())
+            for input_name, input_value in operation_kwargs['inputs'].iteritems()
+            if input_value is not None)
 
     operation = models.Operation(
         name=operation_name,


Mime
View raw message