[ARVADOS] updated: 1.3.0-146-g471f14342
Git user
git at public.curoverse.com
Thu Jan 10 13:54:47 EST 2019
Summary of changes:
sdk/cwl/tests/test_submit.py | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
via 471f143424d8d471a83469df1c34300e3692f70c (commit)
from 84956714286f5d9889d587c50d5bbe501baacc51 (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 471f143424d8d471a83469df1c34300e3692f70c
Author: Eric Biagiotti <ebiagiotti at veritasgenetcs.com>
Date: Thu Jan 10 13:54:41 2019 -0500
13306: Fixed test_submit.TestCreateTemplate encoding
Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
diff --git a/sdk/cwl/tests/test_submit.py b/sdk/cwl/tests/test_submit.py
index 4da2b1203..7c4b1bf94 100644
--- a/sdk/cwl/tests/test_submit.py
+++ b/sdk/cwl/tests/test_submit.py
@@ -5,6 +5,7 @@
from future import standard_library
standard_library.install_aliases()
from builtins import object
+from builtins import bytes
import copy
import io
@@ -82,13 +83,13 @@ def stubs(func):
return self.exe
def collection_createstub(created_collections, body, ensure_unique_name=None):
- mt = body["manifest_text"]
+ mt = body["manifest_text"].encode('utf-8')
uuid = "zzzzz-4zz18-zzzzzzzzzzzzzx%d" % len(created_collections)
pdh = "%s+%i" % (hashlib.md5(mt).hexdigest(), len(mt))
created_collections[uuid] = {
"uuid": uuid,
"portable_data_hash": pdh,
- "manifest_text": mt
+ "manifest_text": mt.decode('utf-8')
}
return CollectionExecute(created_collections[uuid])
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list