Page MenuHomeSoftware Heritage

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

TEST RESULT

Run At
Aug 5 2020, 10:03 AM
Details
self = <swh.storage.tests.test_storage.TestStorage object at 0x7efc528e7ef0> swh_storage = <swh.storage.storage.Storage object at 0x7efc528e7d30> sample_data = <swh.storage.tests.storage_data.StorageData object at 0x7efc5283beb8> def test_origin_get_by_sha1_not_found(self, swh_storage, sample_data): origin = sample_data.origin assert swh_storage.origin_get([origin.url])[0] is None origins = list(swh_storage.origin_get_by_sha1([sha1(origin.url)])) assert len(origins) == 1 > assert origins[0] is None E AssertionError: assert {'url': None} is None .tox/py3/lib/python3.7/site-packages/swh/storage/tests/test_storage.py:1602: AssertionError