Permalink
Browse files

Merge pull request #3762 from markhjelm/develop

Fix tests/unit/glacier/test_writer.py to make work with pypy.
  • Loading branch information...
mfschwartz committed Sep 18, 2017
2 parents 71d2f08 + 8481a43 commit 8402c5d66f4beeb5ba1cfb6c116d3cc03864f341
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/unit/glacier/test_writer.py
@@ -67,7 +67,7 @@ def calculate_mock_vault_calls(data, part_size, chunk_size):
data_part_tree_hash = bytes_to_hex(data_part_tree_hash_blob)
data_part_linear_hash = sha256(data_part).hexdigest()
upload_part_calls.append(
call.layer1.upload_part(
call(
sentinel.vault_name, sentinel.upload_id,
data_part_linear_hash, data_part_tree_hash,
(start, end - 1), data_part))

0 comments on commit 8402c5d

Please sign in to comment.