[ARVADOS] updated: e45ef1675a5862a7a318882802939ca3c7f2ff8d
Git user
git at public.curoverse.com
Thu Apr 21 14:23:50 EDT 2016
Summary of changes:
sdk/python/tests/arvados_testutil.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via e45ef1675a5862a7a318882802939ca3c7f2ff8d (commit)
from c846f46fa1057b9a5127515cffe7b1c0077b2cd3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit e45ef1675a5862a7a318882802939ca3c7f2ff8d
Author: radhika <radhika at curoverse.com>
Date: Thu Apr 21 14:22:46 2016 -0400
8937: updated arvados_testutil.py to skip setting resp_body to writer when it is a boolean.
diff --git a/sdk/python/tests/arvados_testutil.py b/sdk/python/tests/arvados_testutil.py
index b2cf436..71c9b17 100644
--- a/sdk/python/tests/arvados_testutil.py
+++ b/sdk/python/tests/arvados_testutil.py
@@ -85,7 +85,8 @@ class FakeCurl:
self._headerfunction("HTTP/1.1 {} Status".format(self._resp_code))
for k, v in self._resp_headers.iteritems():
self._headerfunction(k + ': ' + str(v))
- self._writer(self._resp_body)
+ if type(self._resp_body) is not bool:
+ self._writer(self._resp_body)
def close(self):
pass
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list