Fix ignore_certs assignment
diff --git a/src/openwhisk/openwhisk.py b/src/openwhisk/openwhisk.py
index 44ee240..349faaa 100644
--- a/src/openwhisk/openwhisk.py
+++ b/src/openwhisk/openwhisk.py
@@ -66,6 +66,7 @@
error = Exception()
error.status_code = resp.status_code
error.error = resp.reason
+ print(resp.reason)
raise error
else:
# otherwise, the response body is the expected return value
diff --git a/tests/test_composer.py b/tests/test_composer.py
index 0f93647..5d002c2 100644
--- a/tests/test_composer.py
+++ b/tests/test_composer.py
@@ -4,7 +4,7 @@
name = 'TestAction'
-wsk = composer.openwhisk({ 'ignore_certs': 'IGNORE_CERTS' in os.environ and os.environ['IGNORE_CERTS'] and os.environ['IGNORE_CERTS'] != '0' })
+wsk = composer.openwhisk({ 'ignore_certs': 'IGNORE_CERTS' in os.environ and os.environ['IGNORE_CERTS'] == 'true' })
def define(action):
''' deploy action '''