> ???
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:845:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
content = Content(sha1=hash_to_bytes('da39a3ee5e6b4b0d3255bfef95601890afd80709'), sha1_git=hash_to_bytes('e69de29bb2d1d6434b8b29...('69217a3079908094e11121d042354a7c1f55b6482ca1a51e1b250dfd1ed0eef9'), length=0, status='visible', data=b'', ctime=None)
@given(strategies.present_contents().filter(lambda cnt: cnt.data is not None))
def test_content_check(content):
assert content.data is not None
> assert content.sha1_git == swh.model.git_objects.content_git_object(content)
E AssertionError: assert b'\xe6\x9d\xe...\xe4\x8cS\x91' == b'blob 0\x00'
E At index 0 diff: b'\xe6' != b'b'
E Full diff:
E - b'blob 0\x00'
E + b'\xe6\x9d\xe2\x9b\xb2\xd1\xd6CK\x8b)\xaewZ\xd8\xc2\xe4\x8cS\x91'
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:847: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Apr 26 2022, 8:42 PM