Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.deposit.tests.api.test_deposit_private_check::test_deposit_ko_missing_tarball
Failed

TEST RESULT

Run At
Feb 24 2022, 10:00 AM
Details
deposit_collection = <DepositCollection: {'id': 103, 'name': 'test'}> authenticated_client = <rest_framework.test.APIClient object at 0x7f021a4caa20> atom_dataset = {'codemeta-sample': '<?xml version="1.0"?>\n <entry xmlns="http://www.w3.org/2005/Atom"\n xmlns:d...ntry>\n', 'entry-data-empty-body': '<?xml version="1.0"?>\n<entry xmlns="http://www.w3.org/2005/Atom"></entry>\n', ...} @pytest.fixture def partial_deposit_only_metadata( deposit_collection, authenticated_client, atom_dataset ): response = post_atom( authenticated_client, reverse(COL_IRI, args=[deposit_collection.name]), data=atom_dataset["entry-data1"], HTTP_SLUG="external-id-partial", HTTP_IN_PROGRESS=True, ) > assert response.status_code == status.HTTP_201_CREATED E assert 400 == 201 E +400 E -201 .tox/py3/lib/python3.7/site-packages/swh/deposit/tests/conftest.py:563: AssertionError