Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Jul 21 2020, 9:55 AM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f1778666f60> swh_storage = <swh.storage.storage.Storage object at 0x7f17786661d0> 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_shortlog(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_shortlog([revision4.id])) assert len(actual_results) == 2 # rev4 -child-> rev3 > assert list(actual_results[0]) == [revision4.id, revision4.parents] E AssertionError: assert [b'\x88\xcdQ&...0\x1bY\x1dF']] == [b'\x88\xcdQ&...\x1bY\x1dF',)] E At index 1 diff: [b',\xbd{\xb2,e;\xbb#\xa2\x96W\x85*P\xa0\x1bY\x1dF'] != (b',\xbd{\xb2,e;\xbb#\xa2\x96W\x85*P\xa0\x1bY\x1dF',) E Full diff: E [ E b'\x88\xcdQ&\xfc\x95\x8e\xd7\x00\x89\xd54\x04A\xa1\xc2G{\xcc ', E - (b',\xbd{\xb2,e;\xbb#\xa2\x96W\x85*P\xa0\x1bY\x1dF',), E ? ^ -- E + [b',\xbd{\xb2,e;\xbb#\xa2\x96W\x85*P\xa0\x1bY\x1dF'],... E E ...Full output truncated (3 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:1010: AssertionError