Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Jun 3 2020, 12:37 PM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7f69f306d0b8> swh_storage = <swh.storage.validate.ValidatingProxyStorage object at 0x7f69f499ba58> def test_revision_get_order(self, swh_storage): add_result = swh_storage.revision_add([data.revision, data.revision2]) assert add_result == {"revision:add": 2} # order 1 res1 = swh_storage.revision_get([data.revision["id"], data.revision2["id"]]) > assert list(res1) == [data.revision, data.revision2] E AssertionError: assert [{'author': {...67843}}, ...}] == [{'author': {...67843}}, ...}] E At index 0 diff: {'message': b'hello', 'author': {'fullname': b'Nicolas Dandrimont <nicolas@example.com> ', 'name': b'Nicolas Dandrimont', 'email': b'nicolas@example.com'}, 'committer': {'fullname': b'St\xc3fano Zacchiroli <stefano@example.com>', 'name': b'St\xc3fano Zacchiroli', 'email': b'stefano@example.com'}, 'date': {'timestamp': {'seconds': 1234567890, 'microseconds': 0}, 'offset': 120, 'negative_utc': False}, 'committer_date': {'timestamp': {'seconds': 1123456789, 'microseconds': 0}, 'offset': 0, 'negative_utc': True}, 'type': 'git', 'directory': b'4\x013B2S1\x00... E E ...Full output truncated (53 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:1018: AssertionError