@given(strategies.revisions())
> def test_revision_raw_manifest(revision):
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:873:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
revision = Revision(message=None, author=Person(fullname=b'', name=None, email=None), committer=Person(fullname=b'', name=None, e...0\x00\x00\x00',), id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), extra_headers=(), raw_manifest=b'\x00')
@given(strategies.revisions())
def test_revision_raw_manifest(revision):
> assert "raw_manifest" not in revision.to_dict()
E AssertionError: assert 'raw_manifest' not in {'author': {'email': None, 'fullname': b'', 'name': None}, 'committer': {'email': None, 'fullname': b'', 'name': None}...': {'negative_utc': False, 'offset': 0, 'offset_bytes': b'+0000', 'timestamp': {'microseconds': 0, 'seconds': 0}}, ...}
E + where {'author': {'email': None, 'fullname': b'', 'name': None}, 'committer': {'email': None, 'fullname': b'', 'name': None}...': {'negative_utc': False, 'offset': 0, 'offset_bytes': b'+0000', 'timestamp': {'microseconds': 0, 'seconds': 0}}, ...} = <bound method HashableObjectWithManifest.to_dict of Revision(message=None, author=Person(fullname=b'', name=None, emai...\x00\x00\x00',), id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), extra_headers=(), raw_manifest=b'\x00')>()
E + where <bound method HashableObjectWithManifest.to_dict of Revision(message=None, author=Person(fullname=b'', name=None, emai...\x00\x00\x00',), id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), extra_headers=(), raw_manifest=b'\x00')> = Revision(message=None, author=Person(fullname=b'', name=None, email=None), committer=Person(fullname=b'', name=None, e...0\x00\x00\x00',), id=hash_to_bytes('5ba93c9db0cff93f52b521d7420e43f6eda2784f'), extra_headers=(), raw_manifest=b'\x00').to_dict
.tox/py3-full/lib/python3.7/site-packages/swh/model/tests/test_model.py:874: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Dec 15 2021, 6:56 PM