Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.storage.tests.test_tenacious.TestTenaciousStorage::test_directory_ls_missing_content
Failed

TEST RESULT

Run At
Aug 26 2021, 11:17 AM
Details
self = <swh.storage.tests.test_tenacious.TestTenaciousStorage object at 0x7fb7979fd320> swh_storage = <swh.storage.proxies.tenacious.TenaciousProxyStorage object at 0x7fb788e9e5f8> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7fb77609a470> def test_directory_ls_missing_content(self, swh_storage, sample_data): swh_storage.directory_add([sample_data.directory2]) > assert list(swh_storage.directory_ls(sample_data.directory2.id)) == [ { "dir_id": sample_data.directory2.id, "length": None, "name": b"oof", "perms": 33188, "sha1": None, "sha1_git": None, "sha256": None, "status": None, "target": sample_data.directory2.entries[0].target, "type": "file", }, ] E AssertionError: assert [] == [{'dir_id': b...: 33188, ...}] E Right contains one more item: {'dir_id': b'\x85\x05\x80\x852\x95=\xa7\xd2X\x17A\xf0\x1b)\xc0K\x1c\xb9\xab', 'length': None, 'name': b'oof', 'perms': 33188, ...} E Full diff: E [ E + , E - {'dir_id': b'\x85\x05\x80\x852\x95=\xa7\xd2X\x17A\xf0\x1b)\xc0K\x1c\xb9\xab', E - 'length': None, E - 'name': b'oof',... E E ...Full output truncated (9 lines hidden), use '-vv' to show .tox/py3/lib/python3.7/site-packages/swh/storage/tests/storage_tests.py:800: AssertionError