@given(strategies.releases())
> def test_release_raw_manifest(release):
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:834:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
release = Release(name=b'', message=None, target=hash_to_bytes('0000000000000000000000000000000000000000'), target_type=ObjectTy...hor=None, date=None, metadata=None, id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), raw_manifest=b'\x00')
@given(strategies.releases())
def test_release_raw_manifest(release):
> assert "raw_manifest" not in release.to_dict()
E AssertionError: assert 'raw_manifest' not in {'author': None, 'date': None, 'id': b'[\xa9<\x9d\xb0\xcf\xf9?R\xb5!\xd7B\x0eC\xf6\xed\xa2xO', 'message': None, ...}
E + where {'author': None, 'date': None, 'id': b'[\xa9<\x9d\xb0\xcf\xf9?R\xb5!\xd7B\x0eC\xf6\xed\xa2xO', 'message': None, ...} = <bound method Release.to_dict of Release(name=b'', message=None, target=hash_to_bytes('0000000000000000000000000000000...or=None, date=None, metadata=None, id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), raw_manifest=b'\x00')>()
E + where <bound method Release.to_dict of Release(name=b'', message=None, target=hash_to_bytes('0000000000000000000000000000000...or=None, date=None, metadata=None, id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), raw_manifest=b'\x00')> = Release(name=b'', message=None, target=hash_to_bytes('0000000000000000000000000000000000000000'), target_type=ObjectTy...hor=None, date=None, metadata=None, id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), raw_manifest=b'\x00').to_dict
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:835: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Dec 15 2021, 6:56 PM