projects
/
tools
/
bmap-tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f304f
)
test_api_base: use sha256 instead of sha1
author
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Mon, 16 Sep 2013 09:53:45 +0000
(12:53 +0300)
committer
Artem Bityutskiy
<artem.bityutskiy@intel.com>
Tue, 17 Sep 2013 11:17:28 +0000
(14:17 +0300)
Well, this does not matter in this case at all, but I am going to switch to
SHA256 in BmapCreate, so changing the tests just for consistency.
Change-Id: I930314a20655da88333b1d6e8e177324794c9ba5
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@intel.com>
tests/test_api_base.py
patch
|
blob
|
history
diff --git
a/tests/test_api_base.py
b/tests/test_api_base.py
index a98b9b2cb2ca8e0e41c65e3e35e946a8040b127c..a1c1f0262ff44cf527a45683ed20054fbd3c0abd 100644
(file)
--- a/
tests/test_api_base.py
+++ b/
tests/test_api_base.py
@@
-142,7
+142,7
@@
def _calculate_chksum(file_obj):
"""
file_obj.seek(0)
- hash_obj = hashlib.new("sha
1
")
+ hash_obj = hashlib.new("sha
256
")
chunk_size = 1024*1024