Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.icinga_plugins.tests.test_deposit::test_deposit_delays
Failed

TEST RESULT

Run At
Oct 13 2020, 6:49 PM
Details
requests_mock = <requests_mock.mocker.Mocker object at 0x7fb5c6487358> mocker = <pytest_mock.plugin.MockerFixture object at 0x7fb5c64872e8> sample_archive = '/tmp/pytest-of-jenkins/pytest-0/swh.icinga_plugins.tests.test_deposit0/archive.tar.gz' sample_metadata = '/tmp/pytest-of-jenkins/pytest-0/swh.icinga_plugins.tests.test_deposit0/metadata.xml' mocked_time = None def test_deposit_delays( requests_mock, mocker, sample_archive, sample_metadata, mocked_time ): scenario = WebScenario() scenario.add_step( "post", BASE_URL + "/testcol/", ENTRY_TEMPLATE.format(status="deposited") ) scenario.add_step( "get", BASE_URL + "/testcol/42/status/", > STATUS_TEMPLATE.format(status="verified", status_detail=""), ) E KeyError: 'swhid' .tox/py3/lib/python3.7/site-packages/swh/icinga_plugins/tests/test_deposit.py:183: KeyError