Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_storage.TestStorage::test_revision_log
Failed

TEST RESULT

Run At
Jul 21 2020, 10:35 AM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f6f04793710> swh_storage = <swh.storage.storage.Storage object at 0x7f6f047937f0> sample_data_model = {'authority': [MetadataAuthority(type=<MetadataAuthorityType.DEPOSIT_CLIENT: 'deposit_client'>, url='http://hal.inria....11', length=7, status='visible', data=b'424242\n', ctime=datetime.datetime(2019, 12, 1, 0, 0, tzinfo=tzlocal()))], ...} def test_revision_log(self, swh_storage, sample_data_model): revision3, revision4 = sample_data_model["revision"][2:4] # data.revision4 -is-child-of-> data.revision3 swh_storage.revision_add([revision3, revision4]) # when actual_results = list(swh_storage.revision_log([revision4.id])) assert len(actual_results) == 2 # rev4 -child-> rev3 > assert actual_results[0] == normalize_entity(revision4) E AssertionError: assert {'author': {'...567843}}, ...} == {'author': {'...567843}}, ...} E Omitting 11 identical items, use -vv to show E Differing items: E {'extra_headers': []} != {'extra_headers': ()} E Full diff: E { E 'author': {'email': b'me@soft.heri', E 'fullname': b'me <me@soft.heri>',... E E ...Full output truncated (25 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:977: AssertionError