Strip SHA1 sum because @bintray returns wrong value

This commit is contained in:
Ivan Kravets committed 2017-11-27 14:05:04 +02:00
1 parent 32c92eec95
commit 79b7974f35
1 file changed
+1 -1
+1 -1
View File
@@ -41,4 +41,4 @@ def test_packages():
if "X-Checksum-Sha1" not in r.headers:
return pytest.skip("X-Checksum-Sha1 is not provided")
assert item['sha1'] == r.headers.get("X-Checksum-Sha1"), item
assert item['sha1'] == r.headers.get("X-Checksum-Sha1")[0:40], item