swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f1bb0f3f7f0>
requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f1bb0ee0390>
def test_directory_loader_ok_simple(swh_storage, requests_mock_datadir):
origin = Origin(DIRECTORY_URL)
loader = DirectoryLoader(
swh_storage,
origin.url,
integrity=DIRECTORY_INTEGRITY,
)
result = loader.load()
> assert result == {"status": "eventful"}
E AssertionError: assert {'status': 'uneventful'} == {'status': 'eventful'}
E Differing items:
E {'status': 'uneventful'} != {'status': 'eventful'}
E Full diff:
E - {'status': 'eventful'}
E + {'status': 'uneventful'}
E ? ++
.tox/py3/lib/python3.7/site-packages/swh/loader/core/tests/test_loader.py:688: AssertionError
TEST RESULT
TEST RESULT
- Run At
- Sep 30 2022, 12:01 PM