Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.maven.tests.test_maven::test_jar_snapshot_append
Failed

TEST RESULT

Run At
Nov 20 2021, 10:14 AM
Details
swh_storage = <swh.storage.proxies.retry.RetryingProxyStorage object at 0x7f03edda0630> requests_mock_datadir = <requests_mock.mocker.Mocker object at 0x7f03ee68b320> requests_mock = <requests_mock.mocker.Mocker object at 0x7f03ee68b320> data_jar_1 = b'PK\x03\x04\n\x00\x00\x08\x08\x00\xba\\\xb7L\x00\x00\x00\x00\x02\x00\x00\x00\x00\x00\x00\x00\t\x00\x00\x00META-INF/\x...*\x00\x00al/aldi/sprova4j/models/Execution.javaPK\x05\x06\x00\x00\x00\x00#\x00#\x00\xe2\n\x00\x00\xf4,\x00\x00\x00\x00' 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_snapshot_append( swh_storage, requests_mock_datadir, requests_mock, data_jar_1, data_jar_2 ): # first loading with a first artifact artifact1 = MVN_ARTIFACTS[0] url1 = artifact1["url"] requests_mock.get(url1, content=data_jar_1) loader = MavenLoader(swh_storage, url1, [artifact1], snapshot_append=True) 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/maven/tests/test_maven.py:386: AssertionError