projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
10467: Merge branch 'master' into 10467-client-disconnect
[arvados.git]
/
sdk
/
python
/
tests
/
manifest_examples.py
diff --git
a/sdk/python/tests/manifest_examples.py
b/sdk/python/tests/manifest_examples.py
index 2d8e4759d695a4538def2aad1b6c3794daa3f073..8f0abd245ba752cd778473f0951f1b89a38cc868 100644
(file)
--- a/
sdk/python/tests/manifest_examples.py
+++ b/
sdk/python/tests/manifest_examples.py
@@
-1,6
+1,5
@@
import arvados
import arvados_testutil as tutil
import arvados
import arvados_testutil as tutil
-import hashlib
class ManifestExamples(object):
def make_manifest(self,
class ManifestExamples(object):
def make_manifest(self,
@@
-9,8
+8,7
@@
class ManifestExamples(object):
files_per_stream=1,
streams=1):
datablip = 'x' * bytes_per_block
files_per_stream=1,
streams=1):
datablip = 'x' * bytes_per_block
- data_loc = '{}+{}'.format(hashlib.md5(datablip).hexdigest(),
- bytes_per_block)
+ data_loc = tutil.str_keep_locator(datablip)
with tutil.mock_keep_responses(data_loc, 200):
coll = arvados.CollectionWriter()
for si in range(0, streams):
with tutil.mock_keep_responses(data_loc, 200):
coll = arvados.CollectionWriter()
for si in range(0, streams):