Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.web.tests.common.test_origin_save::Tests / Python tests / test_get_visit_info_incomplete_visit_still_successful[uneventful]
Failed

TEST RESULT

Run At
Jun 18 2021, 3:09 PM
Details
mocker = <pytest_mock.plugin.MockerFixture object at 0x7fca4562b160> load_status = 'uneventful' @pytest.mark.django_db @pytest.mark.parametrize("load_status", ["eventful", "uneventful",]) def test_get_visit_info_incomplete_visit_still_successful(mocker, load_status): """Incomplete visit information, yet the task is updated partially """ sors = _get_save_origin_requests( mocker, load_status=load_status, visit_status=None, ) assert len(sors) == 1 assert sors[0]["save_task_status"] == SAVE_TASK_SUCCEEDED # As the entry is missing the following information though > assert sors[0]["visit_date"] is None E AssertionError: assert '2021-06-18T13:02:06.736066+00:00' is None .tox/py3/lib/python3.7/site-packages/swh/web/tests/common/test_origin_save.py:545: AssertionError