Page MenuHomeSoftware Heritage
Paste P1058

swh-web make test output
ActivePublic

Authored by jayeshv on Jun 2 2021, 10:35 AM.
file /home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py, line 435
@pytest.mark.django_db
@pytest.mark.parametrize("visit_status", ["created", "ongoing",])
def test_get_save_origin_requests_no_visit_date_found(mocker, visit_status):
file /home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py, line 52
@pytest.fixture(autouse=True)
def requests_mock_datadir(datadir, requests_mock_datadir):
E recursive dependency involving fixture 'requests_mock_datadir' detected
> available fixtures: _dj_autoclear_mailbox, _django_clear_site_cache, _django_db_marker, _django_set_urlconf, _django_setup_unittest, _fail_for_invalid_template_variable, _keycloak_oidc, _live_server_helper, _template_string_if_invalid_marker, admin_client, admin_user, api_client, api_request_factory, archive_data, async_client, async_rf, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, class_mocker, client, dash_br, dash_duo, dash_process_server, dash_thread_server, dashjl, dashjl_server, dashr, dashr_server, datadir, db, django_assert_max_num_queries, django_assert_num_queries, django_cache_cleared, django_db_blocker, django_db_createdb, django_db_keepdb, django_db_modify_db_settings, django_db_modify_db_settings_parallel_suffix, django_db_modify_db_settings_tox_suffix, django_db_modify_db_settings_xdist_suffix, django_db_reset_sequences, django_db_setup, django_db_use_migrations, django_mail_dnsname, django_mail_patch_dns, django_test_environment, django_user_model, django_username_field, doctest_namespace, event_loop, indexer_data, keycloak_oidc, live_server, mailoutbox, migrator, migrator_factory, mocker, module_mocker, monkeypatch, package_mocker, postgresql, postgresql_nooproc, postgresql_proc, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, redis_nooproc, redis_proc, redisdb, request_factory, requests_mock, requests_mock_datadir, rf, session_mocker, settings, testrun_uid, tests_data, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, transactional_db, unused_tcp_port, unused_tcp_port_factory, worker_id
> use 'pytest --fixtures [testpath]' for help on them.
/home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py:52
_______________________________________________________________ ERROR at setup of test_get_save_origin_requests_no_failed_status_override[not_found] ________________________________________________________________
file /home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py, line 451
@pytest.mark.django_db
@pytest.mark.parametrize("visit_status", ["not_found", "failed",])
def test_get_save_origin_requests_no_failed_status_override(mocker, visit_status):
file /home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py, line 52
@pytest.fixture(autouse=True)
def requests_mock_datadir(datadir, requests_mock_datadir):
E recursive dependency involving fixture 'requests_mock_datadir' detected
> available fixtures: _dj_autoclear_mailbox, _django_clear_site_cache, _django_db_marker, _django_set_urlconf, _django_setup_unittest, _fail_for_invalid_template_variable, _keycloak_oidc, _live_server_helper, _template_string_if_invalid_marker, admin_client, admin_user, api_client, api_request_factory, archive_data, async_client, async_rf, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, class_mocker, client, dash_br, dash_duo, dash_process_server, dash_thread_server, dashjl, dashjl_server, dashr, dashr_server, datadir, db, django_assert_max_num_queries, django_assert_num_queries, django_cache_cleared, django_db_blocker, django_db_createdb, django_db_keepdb, django_db_modify_db_settings, django_db_modify_db_settings_parallel_suffix, django_db_modify_db_settings_tox_suffix, django_db_modify_db_settings_xdist_suffix, django_db_reset_sequences, django_db_setup, django_db_use_migrations, django_mail_dnsname, django_mail_patch_dns, django_test_environment, django_user_model, django_username_field, doctest_namespace, event_loop, indexer_data, keycloak_oidc, live_server, mailoutbox, migrator, migrator_factory, mocker, module_mocker, monkeypatch, package_mocker, postgresql, postgresql_nooproc, postgresql_proc, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, redis_nooproc, redis_proc, redisdb, request_factory, requests_mock, requests_mock_datadir, rf, session_mocker, settings, testrun_uid, tests_data, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory, transactional_db, unused_tcp_port, unused_tcp_port_factory, worker_id
> use 'pytest --fixtures [testpath]' for help on them.
/home/jayesh/swh-environment/swh-web/swh/web/tests/common/test_origin_save.py:52