Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.jar.tests.test_jar::test_jar_2_visits_without_change
Failed

TEST RESULT

Run At
Aug 30 2021, 11:16 AM
Details
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f9a46e0fa90> requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f9a46e780b8> requests_mock = <requests_mock.mocker.Mocker object at 0x7f9a46e780b8> data_jar_2 = b'PK\x03\x04\n\x00\x00\x08\x08\x00\xd7|\xb7L\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00META-INF/\x0...+\x00\x00al/aldi/sprova4j/models/Execution.javaPK\x05\x06\x00\x00\x00\x00#\x00#\x00\xe2\n\x00\x00\xb6-\x00\x00\x00\x00' def test_jar_2_visits_without_change( swh_storage, requests_mock_datadir, requests_mock, data_jar_2 ): """With no prior visit, load a gnu project ends up with 1 snapshot """ requests_mock.get(MVN_ARTIFACTS[1]["url"], content=data_jar_2) loader = JarLoader( swh_storage, MVN_ARTIFACTS[1]["url"], artifacts=[MVN_ARTIFACTS[1]] ) actual_load_status = loader.load() > assert actual_load_status["status"] == "eventful" E AssertionError: assert 'uneventful' == 'eventful' E - eventful E + uneventful E ? ++ .tox/py3/lib/python3.7/site-packages/swh/loader/package/jar/tests/test_jar.py:229: AssertionError