Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Jul 21 2020, 9:55 AM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f177c87e8d0> swh_storage = <swh.storage.storage.Storage object at 0x7f1781b12898> 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_with_limit(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]) actual_results = list(swh_storage.revision_log([revision4.id], 1)) assert len(actual_results) == 1 > 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:993: AssertionError