Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Jun 3 2020, 12:37 PM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f69f7c01668> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f69f7c03c50> def test_revision_shortlog_with_limit(self, swh_storage): # given # data.revision4 -is-child-of-> data.revision3 swh_storage.revision_add([data.revision3, data.revision4]) actual_results = list(swh_storage.revision_shortlog([data.revision4["id"]], 1)) assert len(actual_results) == 1 > assert list(actual_results[0]) == short_revision(data.revision4) E AssertionError: assert [b'6\x8aH\xfe...\xfa\x05B8',)] == [b'6\x8aH\xfe...U\xfa\x05B8']] E At index 1 diff: (b'p&\xb7\xc1\xa2\xafVR\x1e\x95\x1c\x01\xed \xf2U\xfa\x05B8',) != [b'p&\xb7\xc1\xa2\xafVR\x1e\x95\x1c\x01\xed \xf2U\xfa\x05B8'] E Full diff: E [ E b'6\x8aH\xfe\x15\xb7\xdb#\x83w_\x97\xc6\xb2G\x01\x1b?\x14\xf4', E - [b'p&\xb7\xc1\xa2\xafVR\x1e\x95\x1c\x01\xed \xf2U\xfa\x05B8'], E ? ^ - E + (b'p&\xb7\xc1\xa2\xafVR\x1e\x95\x1c\x01\xed \xf2U\xfa\x05B8',),... 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:1087: AssertionError