Skip to content

Merge pull request #10868 from Ostap-Zherebetskyi/fix/SHARE_tests #9458

Merge pull request #10868 from Ostap-Zherebetskyi/fix/SHARE_tests

Merge pull request #10868 from Ostap-Zherebetskyi/fix/SHARE_tests #9458

GitHub Actions / api1_and_js REPORT failed Dec 21, 2024 in 1s

2700 passed, 15 failed and 41 skipped

Tests failed

❌ report.xml

2756 tests were completed in 1386s with 2700 passed, 15 failed and 41 skipped.

Test suite Passed Failed Skipped Time
pytest 2700✅ 15❌ 41⚪ 1386s

❌ pytest

api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestContributorDetail
  ✅ test_get_contributor_detail_valid_response
  ✅ test_get_contributor_detail_errors
  ✅ test_unregistered_contributor_detail_show_up_as_name_associated_with_project
  ✅ test_node_contributor_detail_serializes_contributor_perms
  ✅ test_detail_includes_index
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestNodeContributorOrdering
  ✅ test_initial_order
  ✅ test_move_top_contributor_down_one_and_also_log
  ✅ test_move_second_contributor_up_one_to_top
  ✅ test_move_top_contributor_down_to_bottom
  ✅ test_move_bottom_contributor_up_to_top
  ✅ test_move_second_to_last_contributor_down_past_bottom
  ✅ test_move_top_contributor_down_to_second_to_last_position_with_negative_numbers
  ✅ test_write_contributor_fails_to_move_top_contributor_down_one
  ✅ test_non_authenticated_fails_to_move_top_contributor_down_one
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestNodeContributorUpdate
  ✅ test_change_contrib_errors
  ✅ test_change_contributor_non_admin_osf_group_member_auth
  ✅ test_change_admin_self_without_other_admin
  ✅ test_node_update_invalid_data
  ✅ test_change_contributor_correct_id
  ✅ test_change_contributor_admin_osf_group_permissions
  ✅ test_remove_all_bibliographic_statuses_contributors
  ✅ test_change_contributor_permissions
  ✅ test_change_contributor_bibliographic
  ✅ test_change_contributor_permission_and_bibliographic
  ✅ test_not_change_contributor
  ✅ test_change_admin_self_with_other_admin
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestNodeContributorPartialUpdate
  ✅ test_patch_bibliographic_only
  ✅ test_patch_permission_only
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestNodeContributorDelete
  ✅ test_remove_errors
  ✅ test_remove_contributor_osf_group_member_read
  ✅ test_can_not_remove_only_bibliographic_contributor
  ✅ test_remove_contributor_non_admin_is_forbidden
  ✅ test_remove_contributor_admin
  ✅ test_remove_contributor_osf_group_member_admin
  ✅ test_remove_self_non_admin
  ✅ test_remove_self_contributor_not_unique_admin
  ✅ test_can_remove_self_as_contributor_not_unique_admin
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftContributorDetail
  ✅ test_get_contributor_detail_errors
  ✅ test_unregistered_contributor_detail_show_up_as_name_associated_with_project
  ✅ test_detail_includes_index
  ✅ test_get_contributor_detail_valid_response
  ✅ test_node_contributor_detail_serializes_contributor_perms
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftContributorOrdering
  ✅ test_initial_order
  ✅ test_move_top_contributor_down_one_and_also_log
  ✅ test_move_second_contributor_up_one_to_top
  ✅ test_move_top_contributor_down_to_bottom
  ✅ test_move_bottom_contributor_up_to_top
  ✅ test_move_second_to_last_contributor_down_past_bottom
  ✅ test_move_top_contributor_down_to_second_to_last_position_with_negative_numbers
  ✅ test_write_contributor_fails_to_move_top_contributor_down_one
  ✅ test_non_authenticated_fails_to_move_top_contributor_down_one
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftRegistrationContributorUpdate
  ✅ test_change_contrib_errors
  ✅ test_change_admin_self_without_other_admin
  ✅ test_node_update_invalid_data
  ✅ test_change_contributor_correct_id
  ✅ test_remove_all_bibliographic_statuses_contributors
  ✅ test_change_contributor_permissions
  ✅ test_change_contributor_bibliographic
  ✅ test_change_contributor_permission_and_bibliographic
  ✅ test_not_change_contributor
  ✅ test_change_admin_self_with_other_admin
  ✅ test_change_contributor_non_admin_osf_group_member_auth
  ✅ test_change_contributor_admin_osf_group_permissions
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftRegistrationContributorPartialUpdate
  ✅ test_patch_bibliographic_only
  ✅ test_patch_permission_only
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftContributorDelete
  ✅ test_remove_errors
  ✅ test_can_not_remove_only_bibliographic_contributor
  ✅ test_remove_contributor_non_admin_is_forbidden
  ✅ test_remove_contributor_admin
  ✅ test_remove_self_non_admin
  ✅ test_remove_self_contributor_not_unique_admin
  ✅ test_can_remove_self_as_contributor_not_unique_admin
  ✅ test_remove_contributor_osf_group_member_read
  ✅ test_remove_contributor_osf_group_member_admin
api_tests.draft_registrations.views.test_draft_registration_contributor_detail.TestDraftBibliographicContributorDetail
  ✅ test_get_bibliographic_contributor_detail_valid_response
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorList
  ✅ test_concatenated_id
  ✅ test_permissions_work_with_many_users
  ✅ test_return
  ✅ test_return_public_contributor_list_logged_out
  ✅ test_return_private_contributor_list_logged_in_contributor
  ✅ test_filtering_on_obsolete_fields
  ✅ test_disabled_contributors_contain_names_under_meta
  ✅ test_total_bibliographic_contributor_count_returned_in_metadata
  ✅ test_unregistered_contributor_field_is_null_if_account_claimed
  ✅ test_unregistered_contributors_show_up_as_name_associated_with_project
  ✅ test_contributors_order_is_the_same_over_multiple_requests
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorAdd
  ✅ test_add_contributors_errors
  ✅ test_contributor_create_invalid_data
  ✅ test_add_contributor_dont_expose_email
  ✅ test_add_contributor_is_visible_by_default
  ✅ test_adds_bibliographic_contributor_public_project_admin
  ✅ test_adds_non_bibliographic_contributor_private_project_admin
  ✅ test_adds_contributor_public_project_non_admin
  ✅ test_adds_contributor_public_project_non_admin_osf_group
  ✅ test_adds_contributor_public_project_non_contributor
  ✅ test_adds_contributor_public_project_not_logged_in
  ✅ test_adds_contributor_private_project_admin
  ✅ test_adds_contributor_private_project_osf_group_admin_perms
  ✅ test_adds_contributor_without_bibliographic_private_project_admin
  ✅ test_adds_admin_contributor_private_project_admin
  ✅ test_adds_write_contributor_private_project_admin
  ✅ test_adds_read_contributor_private_project_admin
  ✅ test_adds_invalid_permission_contributor_private_project_admin
  ✅ test_adds_none_permission_contributor_private_project_admin_uses_default_permissions
  ✅ test_adds_already_existing_contributor_private_project_admin
  ✅ test_adds_non_existing_user_private_project_admin
  ✅ test_adds_contributor_private_project_non_admin
  ✅ test_adds_contributor_private_project_non_contributor
  ✅ test_adds_contributor_private_project_not_logged_in
  ✅ test_add_unregistered_contributor_with_fullname
  ✅ test_add_contributor_with_fullname_and_email_unregistered_user
  ✅ test_add_contributor_with_fullname_and_email_unregistered_user_set_attributes
  ✅ test_add_contributor_with_fullname_and_email_registered_user
  ✅ test_add_unregistered_contributor_already_contributor
  ✅ test_add_contributor_user_is_deactivated_registered_payload
  ✅ test_add_contributor_user_is_deactivated_unregistered_payload
  ✅ test_add_contributor_index_returned
  ✅ test_add_contributor_set_index_out_of_range
  ✅ test_add_contributor_set_index_first
  ✅ test_add_contributor_set_index_last
  ✅ test_add_inactive_merged_user_as_contributor
  ✅ test_add_unconfirmed_user_by_guid
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorCreateValidation
  ✅ test_add_contributor_validation
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorCreateEmail
  ✅ test_add_contributor_no_email_if_false
  ✅ test_add_contributor_sends_email
  ✅ test_add_contributor_signal_if_default
  ✅ test_add_contributor_signal_preprint_email_disallowed
  ✅ test_add_unregistered_contributor_sends_email
  ✅ test_add_unregistered_contributor_signal_if_default
  ✅ test_add_unregistered_contributor_signal_preprint_email_disallowed
  ✅ test_add_contributor_invalid_send_email_param
  ✅ test_add_unregistered_contributor_without_email_no_email
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorBulkCreate
  ✅ test_node_contributor_bulk_create_contributor_exists
  ✅ test_node_contributor_bulk_create_errors
  ✅ test_node_contributor_bulk_create_logged_in_public_project_project
  ✅ test_node_contributor_bulk_create_logged_in_contrib_private_project
  ✅ test_node_contributor_bulk_create_payload_errors
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorBulkUpdate
  ✅ test_bulk_update_contributors_errors
  ✅ test_bulk_update_contributors_public_projects_logged_in
  ✅ test_bulk_update_contributors_private_projects_logged_in_contrib
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorBulkPartialUpdate
  ✅ test_bulk_partial_update_errors
  ✅ test_bulk_partial_update_contributors_public_projects_logged_in
  ✅ test_bulk_partial_update_contributors_private_projects_logged_in_contrib
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorBulkDelete
  ✅ test_bulk_delete_contributors_errors
  ✅ test_bulk_delete_contributors_public_project_logged_in
  ✅ test_bulk_delete_contributors_private_projects_logged_in_contributor
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestNodeContributorFiltering
  ✅ test_filtering
  ✅ test_filtering_node_with_non_bibliographic_contributor
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorList
  ✅ test_return_private_contributor_list_logged_in_contributor
  ✅ test_filtering_on_obsolete_fields
  ✅ test_unregistered_contributor_field_is_null_if_account_claimed
  ✅ test_unregistered_contributors_show_up_as_name_associated_with_project
  ✅ test_concatenated_id
  ✅ test_return
  ✅ test_return_public_contributor_list_logged_out
  ✅ test_disabled_contributors_contain_names_under_meta
  ✅ test_total_bibliographic_contributor_count_returned_in_metadata
  ✅ test_contributors_order_is_the_same_over_multiple_requests
  ✅ test_permissions_work_with_many_users
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorAdd
  ✅ test_add_contributors_errors
  ✅ test_contributor_create_invalid_data
  ✅ test_add_contributor_dont_expose_email
  ✅ test_add_contributor_is_visible_by_default
  ✅ test_adds_bibliographic_contributor_public_project_admin
  ✅ test_adds_non_bibliographic_contributor_private_project_admin
  ✅ test_adds_contributor_public_project_non_admin
  ✅ test_adds_contributor_public_project_non_contributor
  ✅ test_adds_contributor_public_project_not_logged_in
  ✅ test_adds_contributor_private_project_admin
  ✅ test_adds_contributor_without_bibliographic_private_project_admin
  ✅ test_adds_admin_contributor_private_project_admin
  ✅ test_adds_write_contributor_private_project_admin
  ✅ test_adds_read_contributor_private_project_admin
  ✅ test_adds_invalid_permission_contributor_private_project_admin
  ✅ test_adds_none_permission_contributor_private_project_admin_uses_default_permissions
  ✅ test_adds_already_existing_contributor_private_project_admin
  ✅ test_adds_non_existing_user_private_project_admin
  ✅ test_adds_contributor_private_project_non_admin
  ✅ test_adds_contributor_private_project_non_contributor
  ✅ test_adds_contributor_private_project_not_logged_in
  ✅ test_add_unregistered_contributor_with_fullname
  ✅ test_add_contributor_with_fullname_and_email_unregistered_user
  ✅ test_add_contributor_with_fullname_and_email_unregistered_user_set_attributes
  ✅ test_add_contributor_with_fullname_and_email_registered_user
  ✅ test_add_unregistered_contributor_already_contributor
  ✅ test_add_contributor_user_is_deactivated_registered_payload
  ✅ test_add_contributor_user_is_deactivated_unregistered_payload
  ✅ test_add_contributor_index_returned
  ✅ test_add_contributor_set_index_out_of_range
  ✅ test_add_contributor_set_index_first
  ✅ test_add_contributor_set_index_last
  ✅ test_add_inactive_merged_user_as_contributor
  ✅ test_add_unconfirmed_user_by_guid
  ✅ test_adds_contributor_public_project_non_admin_osf_group
  ✅ test_adds_contributor_private_project_osf_group_admin_perms
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorCreateValidation
  ✅ test_add_contributor_validation
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftContributorCreateEmail
  ✅ test_add_contributor_no_email_if_false
  ✅ test_add_contributor_signal_preprint_email_disallowed
  ✅ test_add_unregistered_contributor_signal_preprint_email_disallowed
  ✅ test_add_contributor_invalid_send_email_param
  ✅ test_add_contributor_sends_email
  ✅ test_add_contributor_signal_if_default
  ✅ test_add_unregistered_contributor_sends_email
  ✅ test_add_unregistered_contributor_signal_if_default
  ✅ test_add_unregistered_contributor_without_email_no_email
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftContributorBulkCreate
  ✅ test_node_contributor_bulk_create_contributor_exists
  ✅ test_node_contributor_bulk_create_errors
  ✅ test_node_contributor_bulk_create_logged_in_public_project_project
  ✅ test_node_contributor_bulk_create_logged_in_contrib_private_project
  ✅ test_node_contributor_bulk_create_payload_errors
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftContributorBulkUpdated
  ✅ test_bulk_update_contributors_errors
  ✅ test_bulk_update_contributors_public_projects_logged_in
  ✅ test_bulk_update_contributors_private_projects_logged_in_contrib
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorBulkPartialUpdate
  ✅ test_bulk_partial_update_errors
  ✅ test_bulk_partial_update_contributors_public_projects_logged_in
  ✅ test_bulk_partial_update_contributors_private_projects_logged_in_contrib
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorBulkDelete
  ✅ test_bulk_delete_contributors_errors
  ✅ test_bulk_delete_contributors_public_project_logged_in
  ✅ test_bulk_delete_contributors_private_projects_logged_in_contributor
api_tests.draft_registrations.views.test_draft_registration_contributor_list.TestDraftRegistrationContributorFiltering
  ✅ test_filtering
  ✅ test_filtering_node_with_non_bibliographic_contributor
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationUpdate
  ✅ test_id_required_in_payload
  ✅ test_admin_can_update_draft
  ✅ test_draft_must_be_branched_from_node
  ✅ test_read_only_contributor_cannot_update_draft
  ✅ test_logged_in_non_contributor_cannot_update_draft
  ✅ test_unauthenticated_user_cannot_update_draft
  ✅ test_registration_metadata_does_not_need_to_be_supplied
  ✅ test_registration_metadata_must_be_a_dictionary
  ✅ test_registration_metadata_question_values_must_be_dictionaries
  ✅ test_registration_metadata_question_keys_must_be_value
  ✅ test_question_in_registration_metadata_must_be_in_schema
  ✅ test_multiple_choice_question_value_must_match_value_in_schema
  ✅ test_cannot_update_registration_schema
  ✅ test_required_metaschema_questions_not_required_on_update
  ✅ test_required_registration_responses_questions_not_required_on_update
  ✅ test_registration_responses_must_be_a_dictionary
  ✅ test_registration_responses_question_values_should_not_be_dicts
  ✅ test_question_in_registration_responses_must_be_in_schema
  ✅ test_multiple_choice_question_value_in_registration_responses_must_match_value_in_schema
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationPatch
  ✅ test_admin_can_update_draft
  ✅ test_read_only_contributor_cannot_update_draft
  ✅ test_logged_in_non_contributor_cannot_update_draft
  ✅ test_unauthenticated_user_cannot_update_draft
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationDelete
  ✅ test_admin_can_delete_draft
  ✅ test_read_only_contributor_cannot_delete_draft
  ✅ test_read_write_draft_contributor_cannot_delete_draft
  ✅ test_logged_in_non_contributor_cannot_delete_draft
  ✅ test_unauthenticated_user_cannot_delete_draft
  ✅ test_draft_that_has_been_registered_cannot_be_deleted
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationDetailEndpoint
  ✅ test_read_only_contributor_can_view_draft
  ✅ test_read_write_contributor_can_view_draft
  ✅ test_logged_in_non_contributor_cannot_view_draft
  ✅ test_unauthenticated_user_cannot_view_draft
  ✅ test_detail_view_returns_editable_fields
  ✅ test_detail_view_returns_editable_fields_no_specified_node
  ✅ test_admin_node_and_draft
  ✅ test_admin_node_not_draft
  ✅ test_admin_draft_not_node
  ✅ test_write_node_and_draft
  ✅ test_write_node_not_draft
  ✅ test_write_draft_not_node
  ✅ test_read_node_and_draft
  ✅ test_read_node_not_draft
  ✅ test_read_draft_not_node
  ✅ test_can_view_after_added
  ✅ test_current_permissions_field
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationUpdateWithNode
  ✅ test_id_required_in_payload
  ✅ test_admin_can_update_draft
  ✅ test_draft_must_be_branched_from_node
  ✅ test_read_only_contributor_cannot_update_draft
  ✅ test_logged_in_non_contributor_cannot_update_draft
  ✅ test_unauthenticated_user_cannot_update_draft
  ✅ test_registration_metadata_does_not_need_to_be_supplied
  ✅ test_registration_metadata_must_be_a_dictionary
  ✅ test_registration_metadata_question_values_must_be_dictionaries
  ✅ test_registration_metadata_question_keys_must_be_value
  ✅ test_question_in_registration_metadata_must_be_in_schema
  ✅ test_multiple_choice_question_value_must_match_value_in_schema
  ✅ test_cannot_update_registration_schema
  ✅ test_required_metaschema_questions_not_required_on_update
  ✅ test_required_registration_responses_questions_not_required_on_update
  ✅ test_registration_responses_must_be_a_dictionary
  ✅ test_registration_responses_question_values_should_not_be_dicts
  ✅ test_question_in_registration_responses_must_be_in_schema
  ✅ test_multiple_choice_question_value_in_registration_responses_must_match_value_in_schema
  ✅ test_update_editable_fields
  ✅ test_update_upload
  ✅ test_registration_metadata_must_be_supplied
  ✅ test_editable_title
  ✅ test_invalid_editable_category
  ✅ test_cannot_edit_node
  ✅ test_write_contributor_can_update_draft
  ✅ test_write_contributor_can_update_draft_no_title
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationUpdateWithDraftNode
  ✅ test_id_required_in_payload
  ✅ test_admin_can_update_draft
  ✅ test_draft_must_be_branched_from_node
  ✅ test_read_only_contributor_cannot_update_draft
  ✅ test_logged_in_non_contributor_cannot_update_draft
  ✅ test_unauthenticated_user_cannot_update_draft
  ✅ test_registration_metadata_does_not_need_to_be_supplied
  ✅ test_registration_metadata_must_be_a_dictionary
  ✅ test_registration_metadata_question_values_must_be_dictionaries
  ✅ test_registration_metadata_question_keys_must_be_value
  ✅ test_question_in_registration_metadata_must_be_in_schema
  ✅ test_multiple_choice_question_value_must_match_value_in_schema
  ✅ test_cannot_update_registration_schema
  ✅ test_required_metaschema_questions_not_required_on_update
  ✅ test_required_registration_responses_questions_not_required_on_update
  ✅ test_registration_responses_must_be_a_dictionary
  ✅ test_registration_responses_question_values_should_not_be_dicts
  ✅ test_question_in_registration_responses_must_be_in_schema
  ✅ test_multiple_choice_question_value_in_registration_responses_must_match_value_in_schema
  ✅ test_write_contributor_can_update_draft
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationPatchNew
  ✅ test_admin_can_update_draft
  ✅ test_read_only_contributor_cannot_update_draft
  ✅ test_logged_in_non_contributor_cannot_update_draft
  ✅ test_unauthenticated_user_cannot_update_draft
  ✅ test_write_contributor_can_update_draft
api_tests.draft_registrations.views.test_draft_registration_detail.TestDraftRegistrationDeleteDetail
  ✅ test_admin_can_delete_draft
  ✅ test_read_only_contributor_cannot_delete_draft
  ✅ test_read_write_draft_contributor_cannot_delete_draft
  ✅ test_logged_in_non_contributor_cannot_delete_draft
  ✅ test_unauthenticated_user_cannot_delete_draft
  ✅ test_draft_that_has_been_registered_cannot_be_deleted
api_tests.draft_registrations.views.test_draft_registration_institutions_list.TestNodeInstitutionList
  ✅ test_node_institution_detail
api_tests.draft_registrations.views.test_draft_registration_institutions_list.TestDraftRegistrationInstitutionList
  ✅ test_node_institution_detail
api_tests.draft_registrations.views.test_draft_registration_list.TestDraftRegistrationListTopLevelEndpoint
  ✅ test_read_only_contributor_can_view_draft_list
  ✅ test_read_write_contributor_can_view_draft_list
  ✅ test_admin_can_view_draft_list
  ✅ test_logged_in_non_contributor_has_empty_list
  ✅ test_unauthenticated_user_cannot_view_draft_list
  ✅ test_logged_in_non_contributor_cannot_view_draft_list
  ✅ test_deleted_draft_registration_does_not_show_up_in_draft_list
  ✅ test_draft_with_registered_node_does_not_show_up_in_draft_list
  ✅ test_draft_with_deleted_registered_node_shows_up_in_draft_list
api_tests.draft_registrations.views.test_draft_registration_list.TestDraftRegistrationCreateWithNode
  ✅ test_cannot_create_draft_from_a_registration
  ✅ test_cannot_create_draft_from_deleted_node
  ✅ test_cannot_create_draft_from_collection
  ✅ test_draft_registration_attributes_copied_from_node
  ✅ test_write_only_contributor_cannot_create_draft
  ✅ test_read_only_contributor_cannot_create_draft
  ✅ test_non_authenticated_user_cannot_create_draft
  ✅ test_logged_in_non_contributor_cannot_create_draft
  ✅ test_create_project_based_draft_does_not_email_initiator
  ✅ test_affiliated_institutions_are_copied_from_node_no_institutions
  ✅ test_affiliated_institutions_are_copied_from_node
  ✅ test_affiliated_institutions_are_copied_from_user
api_tests.draft_registrations.views.test_draft_registration_list.TestDraftRegistrationCreateWithoutNode
  ✅ test_admin_can_create_draft
  ✅ test_create_no_project_draft_emails_initiator
  ✅ test_create_draft_with_provider
  ✅ test_write_contrib
  ✅ test_read_only
  ✅ test_non_authenticated_user_cannot_create_draft
  ✅ test_logged_in_non_contributor
  ✅ test_draft_registration_attributes_not_copied_from_node
api_tests.draft_registrations.views.test_draft_registration_relationship_institutions.TestDraftRegistrationRelationshipInstitutions
  ✅ test_get_public_node
  ✅ test_put_not_admin_but_affiliated
  ✅ test_delete_user_is_read_write
  ✅ test_read_write_contributor_can_add_affiliated_institution
  ✅ test_read_write_contributor_can_remove_affiliated_institution
  ✅ test_node_errors
  ✅ test_user_with_institution_and_permissions
  ✅ test_user_with_institution_and_permissions_through_patch
  ✅ test_remove_institutions_with_affiliated_user
  ✅ test_using_post_making_no_changes_returns_201
  ✅ test_add_through_patch_one_inst_to_node_with_inst
  ✅ test_add_through_patch_one_inst_while_removing_other
  ✅ test_add_one_inst_with_post_to_node_with_inst
  ✅ test_delete_nothing
  ✅ test_delete_existing_inst
  ✅ test_delete_not_affiliated_and_affiliated_insts
  ✅ test_delete_user_is_admin
  ✅ test_delete_user_is_read_only
  ✅ test_delete_user_is_admin_but_not_affiliated_with_inst
  ✅ test_admin_can_remove_admin_affiliated_institution
  ✅ test_admin_can_remove_read_write_contributor_affiliated_institution
  ✅ test_contribs_cannot_perform_action
api_tests.draft_registrations.views.test_draft_registration_relationship_subjects.TestDraftRegistrationRelationshipSubjects
  ✅ test_update_subjects
  ✅ test_update_subjects_relationship_invalid_payload
  ✅ test_update_subjects_empty_payload
  ✅ test_update_subjects_populates_parents_hierarchy
  ✅ test_update_subjects_relationship_permissions
api_tests.draft_registrations.views.test_draft_registration_subjects_list.TestDraftRegistrationSubjectsList
  ✅ test_get_resource_subjects_permissions
  ✅ test_get_resource_subjects
api_tests.draft_nodes.views.test_draft_node_detail.TestDraftNodeDetail
  ✅ test_detail_response
api_tests.draft_nodes.views.test_draft_node_draft_registrations_list.TestDraftNodeDraftRegistrationsList
  ✅ test_draft_node_draft_registration_list
  ✅ test_draft_node_draft_registration_relationship
api_tests.draft_nodes.views.test_draft_node_files_lists.TestDraftNodeProvidersList
  ✅ test_deleted_draft_node_files
  ✅ test_draft_node_files
  ✅ test_returns_osf_storage_folder_version_two_point_two
  ✅ test_returns_osfstorage_folder_version_two
  ✅ test_returns_provider_data
api_tests.draft_nodes.views.test_draft_node_files_lists.TestNodeFilesList
  ✅ test_files_list_contains_relationships_object
  ✅ test_handles_bad_waterbutler_request
  ✅ test_handles_notfound_waterbutler_request
  ✅ test_handles_request_to_provider_not_configured_on_project
  ✅ test_handles_unauthenticated_waterbutler_request
  ✅ test_list_returns_folder_data
  ✅ test_notfound_node_file_returns_folder
  ✅ test_notfound_node_folder_returns_file
  ✅ test_returns_addon_folders
  ✅ test_returns_file_data
  ✅ test_returns_folder_data
  ✅ test_returns_folder_metadata_not_children
  ✅ test_returns_node_file
  ✅ test_returns_node_files_list
  ✅ test_returns_osf_storage_folder_version_two_point_two
  ✅ test_returns_osfstorage_folder_version_two
  ✅ test_returns_private_files_logged_in_contributor
  ✅ test_returns_private_files_logged_in_non_contributor
  ✅ test_returns_private_files_logged_out
  ✅ test_returns_storage_addons_link
  ✅ test_vol_node_files_list
  ✅ test_waterbutler_invalid_data_returns_503
  ✅ test_waterbutler_server_error_returns_503
api_tests.draft_nodes.views.test_draft_node_files_lists.TestNodeFilesListFiltering
  ✅ test_node_files_are_filterable_by_kind
  ✅ test_node_files_are_filterable_by_name
  ✅ test_node_files_are_filterable_by_path
  ✅ test_node_files_external_provider_can_filter_by_last_touched
  ✅ test_node_files_filter_by_name_case_insensitive
  ✅ test_node_files_osfstorage_cannot_filter_by_last_touched
api_tests.draft_nodes.views.test_draft_node_files_lists.TestNodeFilesListPagination
  ✅ test_node_files_are_sorted_correctly
api_tests.draft_nodes.views.test_draft_node_files_lists.TestDraftNodeStorageProviderDetail
  ✅ test_can_view_if_contributor
  ✅ test_cannot_view_if_private
api_tests.identifiers.managment_commands.test_sync_dois.TestSyncDOIs
  ✅ test_doi_synced_datacite
  ✅ test_doi_synced_crossref
  ✅ test_doi_sync_private
  ✅ test_doi_sync_public_only
api_tests.identifiers.views.test_identifier_detail.TestIdentifierDetail
  ✅ test_identifier_registration_detail
  ✅ test_identifier_node_detail
  ✅ test_identifier_preprint_detail
  ✅ test_identifier_preprint_detail_unpublished
  ✅ test_identifier_preprint_detail_deleted
  ✅ test_identifier_preprint_detail_private
  ✅ test_identifier_preprint_detail_abandoned
  ✅ test_invalid_identifier
  ✅ test_identifier_preprint_detail_datacite_doi
api_tests.identifiers.views.test_identifier_list.TestRegistrationIdentifierList
  ✅ test_identifier_list_success
  ✅ test_identifier_list_returns_correct_number_and_referent
  ✅ test_identifier_list_returns_correct_categories_and_values
  ✅ test_identifier_filter_by_category
  ✅ test_node_identifier_not_returned_from_registration_endpoint
  ✅ test_node_not_allowed_from_registrations_endpoint
  ✅ test_do_not_return_deleted_identifier
api_tests.identifiers.views.test_identifier_list.TestNodeIdentifierList
  ✅ test_identifier_list_success
  ✅ test_identifier_list_returns_correct_number_and_referent
  ✅ test_identifier_list_returns_correct_categories_and_values
  ✅ test_identifier_filter_by_category
  ✅ test_registration_identifier_not_returned_from_registration_endpoint
  ✅ test_registration_not_allowed_from_nodes_endpoint
  ✅ test_do_not_return_deleted_identifier
api_tests.identifiers.views.test_identifier_list.TestPreprintIdentifierList
  ✅ test_identifier_list_success
  ✅ test_identifier_list_returns_correct_number_and_referent
  ✅ test_identifier_list_returns_correct_categories_and_values
  ✅ test_preprint_identifier_list_permissions_unpublished
  ✅ test_preprint_identifier_list_permissions_private
  ✅ test_preprint_identifier_list_permissions_deleted
  ✅ test_preprint_identifier_list_permissions_abandoned
api_tests.identifiers.views.test_identifier_list.TestNodeIdentifierCreate
  ✅ test_create_identifier
api_tests.identifiers.views.test_identifier_list.TestRegistrationIdentifierCreate
  ✅ test_create_identifier
  ✅ test_create_doi_for_withdrawn_registration
api_tests.institutions.views.test_institution_auth.TestInstitutionAuth
  ✅ test_invalid_payload
  ✅ test_new_user_created
  ✅ test_existing_user_found_but_not_affiliated
  ✅ test_user_found_and_affiliated
  ✅ test_new_user_names_not_provided
  ✅ test_new_user_names_guessed_if_not_provided
  ✅ test_new_user_names_used_when_provided
  ✅ test_user_active
  ✅ test_user_unclaimed
  ✅ test_user_unconfirmed
  ✅ test_user_inactive
  ✅ test_user_external_unconfirmed
api_tests.institutions.views.test_institution_auth.TestInstitutionStorageRegion
  ✅ test_region_updated_for_new_user
  ✅ test_region_not_updated_for_new_user
  ✅ test_region_not_updated_for_existing_user_affiliated
  ✅ test_region_not_updated_for_existing_user_not_affiliated
api_tests.institutions.views.test_institution_auth.TestInstitutionAuthnSharedSSOCriteriaType2
  ✅ test_new_user_primary_only
  ✅ test_new_user_primary_and_secondary
  ✅ test_existing_user_primary_only_not_affiliated
  ✅ test_existing_user_primary_only_affiliated
  ✅ test_existing_user_both_not_affiliated
  ✅ test_existing_user_both_affiliated
  ✅ test_existing_user_secondary_not_affiliated
  ✅ test_invalid_criteria_action
  ✅ test_invalid_institution_id
  ✅ test_empty_criteria_value
api_tests.institutions.views.test_institution_auth.TestInstitutionAuthnSharedSSOCriteriaType1
  ✅ test_new_user_primary_only
  ✅ test_new_user_primary_and_secondary
  ✅ test_existing_user_primary_only_not_affiliated
  ✅ test_existing_user_primary_only_affiliated
  ✅ test_existing_user_both_not_affiliated
  ✅ test_existing_user_both_affiliated
  ✅ test_existing_user_secondary_not_affiliated
  ✅ test_invalid_criteria_action
  ✅ test_invalid_institution_id
  ✅ test_invalid_criteria_value
api_tests.institutions.views.test_institution_auth.TestInstitutionAuthnSelectiveSSOCriteriaType1
  ✅ test_selective_sso_allowed_new_user
  ✅ test_selective_sso_allowed_existing_user_not_affiliated
  ✅ test_selective_sso_allowed_existing_user_affiliated
  ✅ test_selective_sso_denied_empty_filter
  ✅ test_selective_sso_denied_invalid_filter
api_tests.institutions.views.test_institution_auth.TestInstitutionAuthnSelectiveSSOCriteriaType2
  ✅ test_selective_sso_allowed_new_user
  ✅ test_selective_sso_allowed_existing_user_not_affiliated
  ✅ test_selective_sso_allowed_existing_user_affiliated
  ✅ test_selective_sso_denied_empty_filter
  ✅ test_selective_sso_denied_invalid_filter
api_tests.institutions.views.test_institution_auth.TestInstitutionAuthnWithIdentity
  ✅ test_new_user
  ✅ test_existing_user_by_both_email_and_identity
  ✅ test_existing_user_by_email_without_identity
  ✅ test_existing_user_by_email_with_identity_to_add
  ✅ test_existing_user_by_identity_with_email_to_add
  ✅ test_different_user_by_email_and_by_identity
  ✅ test_duplicate_identity_exception
  ✅ test_blank_identity_existing_affiliation
  ✅ test_empty_identity_new_affiliation
  ✅ test_identity_not_available
api_tests.institutions.views.test_institution_department_list.TestInstitutionDepartmentList
  ✅ test_auth
  ✅ test_get
  ✅ test_pagination
api_tests.institutions.views.test_institution_detail.TestInstitutionDetail
  ✅ test_detail_response
api_tests.institutions.views.test_institution_list.TestInstitutionList
  ✅ test_return_all_institutions
  ✅ test_does_not_return_deleted_institution
api_tests.institutions.views.test_institution_nodes_list.TestInstitutionNodeList
  ✅ test_return_all_public_nodes
  ✅ test_does_not_return_private_nodes_with_auth
  ✅ test_registration_not_returned
  ✅ test_affiliated_component_with_affiliated_parent_not_returned
  ✅ test_affiliated_component_without_affiliated_parent_not_returned
  ✅ test_affiliated_component_with_affiliated_parent_returned
  ✅ test_affiliated_component_without_affiliated_parent_returned
api_tests.institutions.views.test_institution_nodes_list.TestNodeListFiltering
  ✅ test_non_mutating_list_filtering_tests
  ✅ test_parent_filter_excludes_linked_nodes
  ✅ test_tag_filter
api_tests.institutions.views.test_institution_nodes_list.TestNodeListDateFiltering
  ✅ test_node_list_date_filter
api_tests.institutions.views.test_institution_registrations_list.TestInstitutionRegistrationList
  ✅ test_does_not_return_private_nodes_with_auth
  ✅ test_doesnt_return_retractions_with_auth
  ✅ test_doesnt_return_retractions_without_auth
  ✅ test_return_all_public_nodes
  ✅ test_total_biographic_contributor_in_institution_registration
api_tests.institutions.views.test_institution_registrations_list.TestRegistrationListFiltering
  ✅ test_contributor_filter
  ✅ test_parent_filter_equals_returns_multiple
  ✅ test_parent_filter_equals_returns_one
  ✅ test_parent_filter_ne_null
  ✅ test_parent_filter_null
  ✅ test_root_filter_equals_returns_branch
  ✅ test_root_filter_equals_returns_tree
  ✅ test_root_filter_null
  ✅ test_tag_filter
api_tests.institutions.views.test_institution_relationship_nodes.TestInstitutionRelationshipNodes
  ✅ test_auth_get_nodes
  ✅ test_node_or_type_does_not_exist
  ✅ test_user_with_nodes_and_permissions
  ✅ test_user_does_not_have_node
  ✅ test_user_is_admin
  ✅ test_user_is_read_write
  ✅ test_user_is_read_only
  ✅ test_user_is_admin_but_not_affiliated
  ✅ test_add_some_with_permissions_others_without
  ✅ test_add_some_existant_others_not
  ✅ test_only_add_existent_with_mixed_permissions
  ✅ test_only_add_existent_with_permissions
  ✅ test_delete_user_is_admin
  ✅ test_delete_user_is_read_write
  ✅ test_delete_user_is_read_only
  ✅ test_delete_user_is_admin_and_affiliated_with_inst
  ✅ test_delete_user_is_admin_but_not_affiliated_with_inst
  ✅ test_delete_user_is_affiliated_with_inst_and_mixed_permissions_on_nodes
  ✅ test_add_non_node
api_tests.institutions.views.test_institution_relationship_nodes.TestInstitutionRelationshipRegistrations
  ✅ test_auth_get_registrations
  ✅ test_add_incorrect_permissions
  ✅ test_add_some_with_permissions_others_without
  ✅ test_add_user_is_admin
  ✅ test_add_withdrawn_registration
  ✅ test_add_user_is_read_write
  ✅ test_add_already_added
  ✅ test_delete_user_is_admin
  ✅ test_delete_user_is_read_write
  ✅ test_delete_user_is_admin_but_not_affiliated_with_inst
api_tests.institutions.views.test_institution_summary_metrics.TestInstitutionSummaryMetrics
  ✅ test_get
api_tests.institutions.views.test_institution_summary_metrics.TestNewInstitutionSummaryMetricsList
  ✅ test_anon
  ✅ test_rando
  ✅ test_get_empty
  ✅ test_get_report
  ✅ test_get_report_with_multiple_months_and_institutions
  ✅ test_get_with_valid_report_dates
  ✅ test_get_with_invalid_report_date
  ✅ test_get_without_report_date_uses_most_recent
api_tests.institutions.views.test_institution_user_metric_list.TestOldInstitutionUserMetricList
  ✅ test_auth
  ✅ test_get
  ✅ test_filter
  ✅ test_sort_and_pagination
  ✅ test_filter_and_pagination
  ✅ test_filter_and_sort
api_tests.institutions.views.test_institution_user_metric_list.TestNewInstitutionUserMetricList
  ✅ test_anon
  ✅ test_rando
  ✅ test_get_empty
  ✅ test_get_reports
  ✅ test_filter_reports
  ✅ test_sort_reports
  ✅ test_paginate_reports
  ✅ test_get_report_formats_csv_tsv[csv-,-text/csv; charset=utf-8]
  ✅ test_get_report_formats_csv_tsv[tsv-\t-text/tab-separated-values; charset=utf-8]
  ✅ test_csv_tsv_ignores_pagination[csv-,-text/csv; charset=utf-8]
  ✅ test_csv_tsv_ignores_pagination[tsv-\t-text/tab-separated-values; charset=utf-8]
  ✅ test_get_report_format_table_json
api_tests.institutions.views.test_institution_users_list.TestInstitutionUsersList
  ✅ test_return_all_users
api_tests.licenses.views.test_license_detail.TestLicenseDetail
  ✅ test_license_detail
api_tests.licenses.views.test_license_list.TestLicenseList
  ✅ test_license_list
api_tests.logs.serializers.test_serializers.TestNodeLogSerializer
  ✅ test_serializing_log_with_legacy_non_registered_contributor_data
api_tests.logs.views.test_log_detail.TestLogDetail
  ✅ test_log_detail_private
  ✅ test_log_detail_public
api_tests.logs.views.test_log_detail.TestNodeFileLogDetail
  ✅ test_title_visibility_in_file_move
  ✅ test_file_log_keeps_url
  ✅ test_folder_log_url_removal
api_tests.logs.views.test_log_embeds.TestLogEmbeds
  ✅ test_log_embed_types
api_tests.logs.views.test_log_params.TestLogContributors
  ✅ test_contributor_added_log_has_contributor_info_in_params
  ✅ test_unregistered_contributor_added_has_contributor_info_in_params
  ✅ test_params_do_not_appear_on_private_project_with_anonymous_view_only_link
api_tests.schemas.views.test_file_metadata_schema_detail.TestFileMetadataSchemaDetail
  ✅ test_schema_detail_crud
  ✅ test_invalid_schema_not_found
api_tests.schemas.views.test_file_metadata_schema_list.TestFileMetadataSchemaList
  ✅ test_schema_list_crud
api_tests.schemas.views.test_registration_schemas_detail.TestDeprecatedMetaSchemaDetail
  ✅ test_deprecated_metaschemas_routes
api_tests.schemas.views.test_registration_schemas_detail.TestRegistrationSchemaDetail
  ✅ test_schemas_detail_visibility
  ✅ test_registration_schema_schema_blocks
api_tests.schemas.views.test_registration_schemas_list.TestSchemaList
  ✅ test_schemas_list_crud
api_tests.providers.test_reindex_provider.TestReindexProvider
  ✅ test_reindex_provider_preprint
  ✅ test_reindex_provider_registration
api_tests.providers.collections.views.test_collection_provider_detail.TestCollectionProviderExists
  ✅ test_provider_exists
  ✅ test_has_highlighted_subjects_flag
api_tests.providers.collections.views.test_collection_provider_licenses.TestCollectionProviderLicenses
  ✅ test_provider_has_no_acceptable_licenses_and_no_default
  ✅ test_provider_has_a_default_license_but_no_acceptable_licenses
  ✅ test_provider_has_acceptable_licenses_but_no_default
  ✅ test_provider_has_both_acceptable_and_default_licenses
api_tests.providers.collections.views.test_collection_provider_list.TestCollectionProviderList
  ✅ test_provider_list
  ✅ test_provider_list_filtering[allow_submissions-True]
  ✅ test_provider_list_filtering[description-spots%20not%20dots]
  ✅ test_provider_list_filtering[domain-https://www.spotarxiv.com]
  ✅ test_provider_list_filtering[domain_redirect_enabled-True]
  ✅ test_provider_list_filtering[id-spot]
  ✅ test_provider_list_filtering[name-Spotarxiv]
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestProviderSpecificTaxonomies
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestProviderHighlightedTaxonomies
  ✅ test_mapped_subjects_filter_wrong_provider
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestCustomTaxonomy
  ✅ test_taxonomy_share_title
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestProviderSpecificSubjects
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestProviderHighlightedSubjects
  ✅ test_mapped_subjects_filter_wrong_provider
api_tests.providers.collections.views.test_collection_provider_subjects_list.TestCustomSubjects
  ✅ test_taxonomy_share_title
api_tests.providers.collections.views.test_collection_provider_submissions_list.TestSubmissionList
  ✅ test_no_permissions
  ✅ test_with_permissions
  ✅ test_choice_restrictions
  ✅ test_filters
api_tests.providers.collections.views.test_collections_provider_moderator_list.TestGETCollectionsModeratorList
  ✅ test_GET_unauthorized
  ✅ test_GET_forbidden
  ✅ test_GET_moderator_formatting
  ✅ test_GET_admin_with_filter
api_tests.providers.collections.views.test_collections_provider_moderator_list.TestPOSTCollectionsModeratorList
  ✅ test_POST_unauthorized
  ✅ test_POST_forbidden
  ✅ test_POST_admin_success_existing_user
  ✅ test_POST_admin_failure_existing_moderator
  ✅ test_POST_admin_failure_unreg_moderator
  ✅ test_POST_admin_failure_invalid_group
  ✅ test_POST_admin_success_email
  ✅ test_moderators_alphabetically
api_tests.providers.preprints.serializers.test_serializers.TestRetractedPreprintSerialization
  ✅ test_hidden_fields_on_retracted_preprint
api_tests.providers.preprints.serializers.test_serializers.TestDeprecatedPreprintProviderSerializer
  ✅ test_preprint_provider_serialization_versions
api_tests.providers.preprints.views.test_preprint_provider_detail.TestPreprintProviderExistsForDeprecatedEndpoint
  ✅ test_provider_exists
  ✅ test_has_highlighted_subjects_flag
  ✅ test_version_deprecation
api_tests.providers.preprints.views.test_preprint_provider_detail.TestPreprintProviderExists
  ✅ test_provider_exists
  ✅ test_has_highlighted_subjects_flag
api_tests.providers.preprints.views.test_preprint_provider_detail.TestPreprintProviderUpdate
  ✅ test_update_reviews_settings[/{}preprint_providers/{}/]
  ✅ test_update_reviews_settings[/{}providers/preprints/{}/]
api_tests.providers.preprints.views.test_preprint_provider_detail.TestPreprintProviderAssets
  ✅ test_asset_attribute_correct
api_tests.providers.preprints.views.test_preprint_provider_licenses.TestPreprintProviderLicenses
  ✅ test_preprint_provider_has_no_acceptable_licenses_and_no_default[/{}preprint_providers/{}/licenses/]
  ✅ test_preprint_provider_has_no_acceptable_licenses_and_no_default[/{}providers/preprints/{}/licenses/]
  ✅ test_preprint_provider_has_a_default_license_but_no_acceptable_licenses[/{}preprint_providers/{}/licenses/]
  ✅ test_preprint_provider_has_a_default_license_but_no_acceptable_licenses[/{}providers/preprints/{}/licenses/]
  ✅ test_prerint_provider_has_acceptable_licenses_but_no_default[/{}preprint_providers/{}/licenses/]
  ✅ test_prerint_provider_has_acceptable_licenses_but_no_default[/{}providers/preprints/{}/licenses/]
  ✅ test_preprint_provider_has_both_acceptable_and_default_licenses[/{}preprint_providers/{}/licenses/]
  ✅ test_preprint_provider_has_both_acceptable_and_default_licenses[/{}providers/preprints/{}/licenses/]
api_tests.providers.preprints.views.test_preprint_provider_list.TestPreprintProviderList
  ✅ test_preprint_provider_list[/{}preprint_providers/?version=2.2&]
  ✅ test_preprint_provider_list[/{}providers/preprints/?version=2.2&]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-allow_submissions-True]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-description-spots%20not%20dots]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-domain-https://www.spotarxiv.com]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-domain_redirect_enabled-True]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-id-spot]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-name-Spotarxiv]
  ✅ test_preprint_provider_list_filtering[/{}preprint_providers/?version=2.2&-share_publish_type-Thesis]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-allow_submissions-True]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-description-spots%20not%20dots]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-domain-https://www.spotarxiv.com]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-domain_redirect_enabled-True]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-id-spot]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-name-Spotarxiv]
  ✅ test_preprint_provider_list_filtering[/{}providers/preprints/?version=2.2&-share_publish_type-Thesis]
api_tests.providers.preprints.views.test_preprint_provider_list.TestPreprintProviderListWithMetrics
  ✅ test_preprint_provider_list_with_metrics[/{}preprint_providers/?version=2.2&]
  ✅ test_preprint_provider_list_with_metrics[/{}providers/preprints/?version=2.2&]
api_tests.providers.preprints.views.test_preprint_provider_moderator_detail.TestPreprintProviderModeratorDetail
  ✅ test_detail_not_authorized[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_detail_not_authorized[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_detail_successful_gets[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_detail_successful_gets[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_detail_updates[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_detail_updates[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_detail_cannot_remove_last_admin[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_detail_cannot_remove_last_admin[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_moderator_deletes[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_moderator_deletes[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_admin_delete_moderator[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_admin_delete_moderator[/{}providers/preprints/{}/moderators/{{}}/]
  ✅ test_admin_delete_admin[/{}preprint_providers/{}/moderators/{{}}/]
  ✅ test_admin_delete_admin[/{}providers/preprints/{}/moderators/{{}}/]
api_tests.providers.preprints.views.test_preprint_provider_moderator_list.TestPreprintProviderModeratorList
  ✅ test_list_get_not_authorized[/{}preprint_providers/{}/moderators/]
  ✅ test_list_get_not_authorized[/{}providers/preprints/{}/moderators/]
  ✅ test_list_get_moderator[/{}preprint_providers/{}/moderators/]
  ✅ test_list_get_moderator[/{}providers/preprints/{}/moderators/]
  ✅ test_list_get_admin_with_filter[/{}preprint_providers/{}/moderators/]
  ✅ test_list_get_admin_with_filter[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_unauthorized[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_unauthorized[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_admin_success_existing_user[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_admin_success_existing_user[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_admin_failure_existing_moderator[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_admin_failure_existing_moderator[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_admin_failure_unreg_moderator[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_admin_failure_unreg_moderator[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_admin_failure_invalid_group[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_admin_failure_invalid_group[/{}providers/preprints/{}/moderators/]
  ✅ test_list_post_admin_success_email[/{}preprint_providers/{}/moderators/]
  ✅ test_list_post_admin_success_email[/{}providers/preprints/{}/moderators/]
  ✅ test_list_moderators_alphabetically[/{}preprint_providers/{}/moderators/]
  ✅ test_list_moderators_alphabetically[/{}providers/preprints/{}/moderators/]
api_tests.providers.preprints.views.test_preprint_provider_preprints_list.TestPreprintProviderPreprintsListFiltering
  ✅ test_provider_filter_null[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_provider_filter_null[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_id_filter_null[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_id_filter_null[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_id_filter_equals_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_id_filter_equals_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_none[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_none[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_created_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_modified_filter_equals_returns_none[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_modified_filter_equals_returns_none[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_modified_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_modified_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_none[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_none[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_date_published_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_none[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_none[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_original_publication_date_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_is_published_false_filter_equals_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_is_published_false_filter_equals_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_is_published_true_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_is_published_true_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_multiple_filters_returns_one[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_multiple_filters_returns_one[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_node_is_public_filter[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_node_is_public_filter[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_permissions[/{}preprint_providers/{}/preprints/?version=2.2&-admin]
  ✅ test_permissions[/{}preprint_providers/{}/preprints/?version=2.2&-moderator]
  ✅ test_permissions[/{}providers/preprints/{}/preprints/?version=2.2&-admin]
  ✅ test_permissions[/{}providers/preprints/{}/preprints/?version=2.2&-moderator]
  ✅ test_provider_filter_equals_returns_multiple[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_provider_filter_equals_returns_multiple[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_reviews_state_counts[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_reviews_state_counts[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_node_is_public_deprecated_filter[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_node_is_public_deprecated_filter[/{}providers/preprints/{}/preprints/?version=2.2&]
api_tests.providers.preprints.views.test_preprint_provider_preprints_list.TestPreprintProviderPreprintListFilteringByReviewableFields
  ✅ test_reviewable_filters[/{}preprint_providers/{}/preprints/]
  ✅ test_reviewable_filters[/{}providers/preprints/{}/preprints/]
api_tests.providers.preprints.views.test_preprint_provider_preprints_list.TestPreprintProviderPreprintIsPublishedList
  ✅ test_unpublished_invisible_to_non_contribs[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_unpublished_invisible_to_non_contribs[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_unpublished_invisible_to_public[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_unpublished_invisible_to_public[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_non_contrib[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_non_contrib[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_public[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_public[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_admin[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_admin[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_unpublished_visible_to_admins[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_unpublished_visible_to_admins[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_unpublished_invisible_to_write_contribs[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_unpublished_invisible_to_write_contribs[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_write_contrib[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_filter_published_false_write_contrib[/{}providers/preprints/{}/preprints/?version=2.2&]
api_tests.providers.preprints.views.test_preprint_provider_preprints_list.TestPreprintProviderPreprintIsValidList
  ✅ test_preprint_private_invisible_no_auth[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_invisible_no_auth[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_invisible_non_contributor[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_invisible_non_contributor[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_visible_write[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_visible_write[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_visible_owner[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_private_visible_owner[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_deleted_invisible[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_deleted_invisible[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_has_abandoned_preprint[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_has_abandoned_preprint[/{}providers/preprints/{}/preprints/?version=2.2&]
  ✅ test_preprint_node_null_invisible[/{}preprint_providers/{}/preprints/?version=2.2&]
  ✅ test_preprint_node_null_invisible[/{}providers/preprints/{}/preprints/?version=2.2&]
api_tests.providers.preprints.views.test_preprint_provider_request_list.TestPreprintProviderWithdrawalRequstList
  ❌ test_list
	api_tests/providers/preprints/views/test_preprint_provider_request_list.py:49: in test_list
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderSubjectsForDeprecatedEndpoint
  ✅ test_max_page_size
  ✅ test_no_rules_grabs_all
  ✅ test_rules_only_grab_acceptable_subjects
  ✅ test_no_rules_with_null_parent_filter
  ✅ test_rules_enforced_with_null_parent_filter
  ✅ test_no_rules_with_parents_filter
  ✅ test_rules_enforced_with_parents_filter
  ✅ test_no_rules_with_parent_filter
  ✅ test_rules_enforced_with_parent_filter
  ✅ test_no_rules_with_grandparent_filter
  ✅ test_rules_enforced_with_grandparent_filter
  ✅ test_taxonomy_other_ordering
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderTaxonomies
  ✅ test_max_page_size
  ✅ test_no_rules_grabs_all
  ✅ test_rules_only_grab_acceptable_subjects
  ✅ test_no_rules_with_null_parent_filter
  ✅ test_rules_enforced_with_null_parent_filter
  ✅ test_no_rules_with_parents_filter
  ✅ test_rules_enforced_with_parents_filter
  ✅ test_no_rules_with_parent_filter
  ✅ test_rules_enforced_with_parent_filter
  ✅ test_no_rules_with_grandparent_filter
  ✅ test_rules_enforced_with_grandparent_filter
  ✅ test_taxonomy_other_ordering
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderSubjects
  ✅ test_max_page_size
  ✅ test_no_rules_grabs_all
  ✅ test_rules_only_grab_acceptable_subjects
  ✅ test_no_rules_with_parent_filter
  ✅ test_rules_enforced_with_parent_filter
  ✅ test_taxonomy_other_ordering
  ✅ test_no_rules_with_parents_filter
  ✅ test_rules_enforced_with_null_parent_filter
  ✅ test_no_rules_with_null_parent_filter
  ✅ test_rules_enforced_with_parents_filter
  ✅ test_no_rules_with_grandparent_filter
  ✅ test_rules_enforced_with_grandparent_filter
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderSpecificSubjectsForDeprecatedEndpoint
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderSpecificTaxonomies
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderSpecificSubjects
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderHighlightedTaxonomies
  ✅ test_taxonomy_other_ordering
  ✅ test_mapped_subjects_filter_wrong_provider
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestPreprintProviderHighlightedSubjects
  ✅ test_taxonomy_other_ordering
  ✅ test_mapped_subjects_filter_wrong_provider
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestCustomTaxonomy
  ✅ test_taxonomy_other_ordering
  ✅ test_taxonomy_share_title
api_tests.providers.preprints.views.test_preprint_provider_subjects_list.TestCustomSubjects
  ✅ test_taxonomy_other_ordering
  ✅ test_taxonomy_share_title
api_tests.providers.preprints.views.test_preprint_providers_list.TestReviewProviderFilters
  ✅ test_review_provider_filters
api_tests.providers.preprints.views.test_preprint_providers_list.TestReviewProviderFiltersForGeneralizedEndpoint
  ✅ test_review_provider_filters
api_tests.providers.registrations.views.test_registration_provider_bulk_upload.TestRegistrationBulkUpload
  ✅ test_unauthorized_user
  ✅ test_bulk_upload_not_allowed
  ✅ test_exceeds_size_limit
  ✅ test_wrong_content_type
  ✅ test_bulk_upload_job_exists
  ✅ test_invalid_headers
  ✅ test_duplicate_headers
  ✅ test_file_upload_not_supported
  ✅ test_schema_not_found
api_tests.providers.registrations.views.test_registration_provider_detail.TestRegistrationProviderExists
  ✅ test_has_highlighted_subjects_flag
  ✅ test_provider_exists
  ✅ test_registration_provider_with_special_fields
api_tests.providers.registrations.views.test_registration_provider_licenses.TestRegistrationProviderLicenses
  ✅ test_provider_has_no_acceptable_licenses_and_no_default
  ✅ test_provider_has_a_default_license_but_no_acceptable_licenses
  ✅ test_provider_has_acceptable_licenses_but_no_default
  ✅ test_provider_has_both_acceptable_and_default_licenses
api_tests.providers.registrations.views.test_registration_provider_list.TestRegistrationProviderList
  ✅ test_provider_list
  ✅ test_provider_list_filtering[allow_submissions-True]
  ✅ test_provider_list_filtering[description-spots%20not%20dots]
  ✅ test_provider_list_filtering[domain-https://www.spotarxiv.com]
  ✅ test_provider_list_filtering[domain_redirect_enabled-True]
  ✅ test_provider_list_filtering[id-spot]
  ✅ test_provider_list_filtering[name-Spotarxiv]
  ✅ test_reviews_workflow_filter
api_tests.providers.registrations.views.test_registration_provider_moderator_detail.TestRegistrationProviderModeratorDetail
  ✅ test_detail_not_authorized
  ✅ test_detail_successful_gets
  ✅ test_detail_updates
  ✅ test_detail_cannot_remove_last_admin
  ✅ test_moderator_deletes
  ✅ test_admin_delete_moderator
  ✅ test_admin_delete_admin
api_tests.providers.registrations.views.test_registration_provider_moderator_list.TestRegistrationProviderModeratorList
  ✅ test_list_get_not_authorized
  ✅ test_list_get_moderator
  ✅ test_list_get_admin_with_filter
  ✅ test_list_post_unauthorized
  ✅ test_list_post_admin_success_existing_user
  ✅ test_list_post_admin_failure_existing_moderator
  ✅ test_list_post_admin_failure_unreg_moderator
  ✅ test_list_post_admin_failure_invalid_group
  ✅ test_list_post_admin_success_email
  ✅ test_list_moderators_alphabetically
api_tests.providers.registrations.views.test_registration_provider_schemas.TestRegistrationProviderSchemas
  ✅ test_registration_provider_with_schema
  ✅ test_egap_registration_schema
  ✅ test_registration_provider_with_default_schema
api_tests.providers.registrations.views.test_registration_provider_subjects_list.TestRegistrationProviderSpecificTaxonomies
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering
api_tests.providers.registrations.views.test_registration_provider_subjects_list.TestRegistrationProviderHighlightedTaxonomies
  ✅ test_mapped_subjects_filter_wrong_provider
api_tests.providers.registrations.views.test_registration_provider_subjects_list.TestRegistrationProviderCustomTaxonomy
  ✅ test_taxonomy_share_title
api_tests.providers.registrations.views.test_registration_provider_subjects_list.TestRegistrationProviderSpecificSubjects
  ✅ test_mapped_subjects_are_not_shared_list
  ✅ test_mapped_subjects_are_not_shared_filter
  ✅ test_mapped_subjects_filter_wrong_provider
  ✅ test_taxonomy_other_ordering

Report exceeded GitHub limit of 65535 bytes and has been trimmed

Annotations

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.providers.preprints.views.test_preprint_provider_request_list.TestPreprintProviderWithdrawalRequstList ► test_list

Failed test found in:
  report.xml
Error:
  api_tests/providers/preprints/views/test_preprint_provider_request_list.py:49: in test_list
Raw output
api_tests/providers/preprints/views/test_preprint_provider_request_list.py:49: in test_list
    assert len(res.json['data']) == 1
E   assert 0 == 1
E    +  where 0 = len([])

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_actions.TestPreprintActionFilters ► test_filter_actions[moderator]

Failed test found in:
  report.xml
Error:
  api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
Raw output
api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
    assert expected == actual
E   AssertionError

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_actions.TestPreprintActionFilters ► test_filter_actions[node_admin]

Failed test found in:
  report.xml
Error:
  api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
Raw output
api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
    assert expected == actual
E   AssertionError

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_citations.TestPreprintCitations ► test_preprint_citations_are_read_only

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_citations.py:39: in test_preprint_citations_are_read_only
Raw output
api_tests/preprints/views/test_preprint_citations.py:39: in test_preprint_citations_are_read_only
    delete_res = self.app.delete_json_api(
tests/json_api_test_app.py:124: in wrapper
    return JSONAPIWrapper.make_wrapper(self, url, method, content_type, params, **kw)
tests/json_api_test_app.py:33: in make_wrapper
    wrapper = self._gen_request(method, url, **kw)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
api/preprints/views.py:94: in delete
    return super().delete(request, *args, **kwargs)
E   AttributeError: 'super' object has no attribute 'delete'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_citations.TestPreprintCitationsPermissions ► test_preprint_citations_are_read_only

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_citations.py:39: in test_preprint_citations_are_read_only
Raw output
api_tests/preprints/views/test_preprint_citations.py:39: in test_preprint_citations_are_read_only
    delete_res = self.app.delete_json_api(
tests/json_api_test_app.py:124: in wrapper
    return JSONAPIWrapper.make_wrapper(self, url, method, content_type, params, **kw)
tests/json_api_test_app.py:33: in make_wrapper
    wrapper = self._gen_request(method, url, **kw)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
api/preprints/views.py:94: in delete
    return super().delete(request, *args, **kwargs)
E   AttributeError: 'super' object has no attribute 'delete'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_detail.TestPreprintDelete ► test_cannot_delete_preprints

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_detail.py:254: in test_cannot_delete_preprints
Raw output
api_tests/preprints/views/test_preprint_detail.py:254: in test_cannot_delete_preprints
    res = app.delete(url.format(unpublished_preprint._id), auth=user.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:153: in delete
    return super(TestApp, self).delete(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:424: in delete
    return self._gen_request('DELETE', url, params=params, headers=headers,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
api/preprints/views.py:94: in delete
    return super().delete(request, *args, **kwargs)
E   AttributeError: 'super' object has no attribute 'delete'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_institutions.TestPrivatePreprintInstitutionsList ► test_invalid_preprint_id

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_institutions.py:106: in test_invalid_preprint_id
Raw output
api_tests/preprints/views/test_preprint_institutions.py:106: in test_invalid_preprint_id
    res = app.get(invalid_url, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:100: in get
    response = super(TestApp, self).get(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:328: in get
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/generics.py:203: in get
    return self.list(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/mixins.py:38: in list
    queryset = self.filter_queryset(self.get_queryset())
api/preprints/views.py:771: in get_queryset
    return self.get_resource().affiliated_institutions.all()
api/preprints/views.py:768: in get_resource
    return self.get_preprint()
api/preprints/views.py:122: in get_preprint
    if preprint.deleted is not None:
E   AttributeError: 'NoneType' object has no attribute 'deleted'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_institutions.TestPublicPreprintInstitutionsList ► test_invalid_preprint_id

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_institutions.py:161: in test_invalid_preprint_id
Raw output
api_tests/preprints/views/test_preprint_institutions.py:161: in test_invalid_preprint_id
    res = app.get(invalid_url, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:100: in get
    response = super(TestApp, self).get(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:328: in get
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/generics.py:203: in get
    return self.list(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/mixins.py:38: in list
    queryset = self.filter_queryset(self.get_queryset())
api/preprints/views.py:771: in get_queryset
    return self.get_resource().affiliated_institutions.all()
api/preprints/views.py:768: in get_resource
    return self.get_preprint()
api/preprints/views.py:122: in get_preprint
    if preprint.deleted is not None:
E   AttributeError: 'NoneType' object has no attribute 'deleted'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_institutions_relationship.TestPreprintInstitutionsRelationship ► test_delete_affiliated_institution

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_institutions_relationship.py:279: in test_delete_affiliated_institution
Raw output
api_tests/preprints/views/test_preprint_institutions_relationship.py:279: in test_delete_affiliated_institution
    res = app.delete_json_api(url, {'data': [{'type': 'institutions', 'id': institution_A._id}]}, auth=admin_with_institutional_affiliation.auth, expect_errors=True)
tests/json_api_test_app.py:124: in wrapper
    return JSONAPIWrapper.make_wrapper(self, url, method, content_type, params, **kw)
tests/json_api_test_app.py:33: in make_wrapper
    wrapper = self._gen_request(method, url, **kw)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
api/preprints/views.py:94: in delete
    return super().delete(request, *args, **kwargs)
E   AttributeError: 'super' object has no attribute 'delete'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_list.TestPreprintCreateWithoutNode ► test_create_preprint_with_supplementary_node

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_list.py:132: in test_create_preprint_with_supplementary_node
Raw output
api_tests/preprints/views/test_preprint_list.py:132: in test_create_preprint_with_supplementary_node
    assert Node.objects.filter(preprints__guids___id=res.json['data']['id']).exists()
E   AssertionError: assert False
E    +  where False = <bound method QuerySet.exists of <AbstractNodeQuerySet []>>()
E    +    where <bound method QuerySet.exists of <AbstractNodeQuerySet []>> = <AbstractNodeQuerySet []>.exists
E    +      where <AbstractNodeQuerySet []> = <bound method QuerySet.filter of <osf.models.node.AbstractNodeManager object at 0x7fd3b41be7b0>>(preprints__guids___id='zea6b_v1')
E    +        where <bound method QuerySet.filter of <osf.models.node.AbstractNodeManager object at 0x7fd3b41be7b0>> = <osf.models.node.AbstractNodeManager object at 0x7fd3b41be7b0>.filter
E    +          where <osf.models.node.AbstractNodeManager object at 0x7fd3b41be7b0> = Node.objects

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_list.TestPreprintCreate ► test_preprint_contributor_signal_sent_on_creation

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_list.py:518: in test_preprint_contributor_signal_sent_on_creation
Raw output
api_tests/preprints/views/test_preprint_list.py:518: in test_preprint_contributor_signal_sent_on_creation
    assert len(mock_signals.signals_sent()) == 1
E   assert 0 == 1
E    +  where 0 = len(set())
E    +    where set() = <bound method CaptureSignals.signals_sent of <tests.base.CaptureSignals object at 0x7fd3aa949cd0>>()
E    +      where <bound method CaptureSignals.signals_sent of <tests.base.CaptureSignals object at 0x7fd3aa949cd0>> = <tests.base.CaptureSignals object at 0x7fd3aa949cd0>.signals_sent

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_node_relationship.TestPreprintNodeRelationship ► test_preprint_node_relationship_delete

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_node_relationship.py:88: in test_preprint_node_relationship_delete
Raw output
api_tests/preprints/views/test_preprint_node_relationship.py:88: in test_preprint_node_relationship_delete
    res = app.delete_json_api(url, auth=user.auth, expect_errors=True)
tests/json_api_test_app.py:124: in wrapper
    return JSONAPIWrapper.make_wrapper(self, url, method, content_type, params, **kw)
tests/json_api_test_app.py:33: in make_wrapper
    wrapper = self._gen_request(method, url, **kw)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:627: in do_request
    res = req.get_response(app, catch_exc_info=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1309: in send
    status, headers, app_iter, exc_info = self.call_application(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webob/request.py:1278: in call_application
    app_iter = application(self.environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/lint.py:196: in lint_app
    iterator = application(environ, start_response_wrapper)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/contrib/staticfiles/handlers.py:80: in __call__
    return self.application(environ, start_response)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1711: in runner
    return sentry_patched_function(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:162: in sentry_patched_wsgi_handler
    return SentryWsgiMiddleware(bound_old_app, use_x_forwarded_for)(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:109: in __call__
    reraise(*_capture_exception())
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/utils.py:1640: in reraise
    raise value
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/wsgi.py:102: in __call__
    response = self.app(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/wsgi.py:124: in __call__
    response = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/__init__.py:450: in sentry_patched_get_response
    rv = old_get_response(self, request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:140: in get_response
    response = self._middleware_chain(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/corsheaders/middleware.py:56: in __call__
    result = self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/middleware.py:169: in __call__
    return f(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/deprecation.py:134: in __call__
    response = response or self.get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:57: in inner
    response = response_for_exception(request, exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:140: in response_for_exception
    response = handle_uncaught_exception(
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/exception.py:55: in inner
    response = get_response(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:197: in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/sentry_sdk/integrations/django/views.py:84: in sentry_wrapped_callback
    return callback(request, *args, **kwargs)
/opt/hostedtoolcache/Python/3.12.8/x64/lib/python3.12/contextlib.py:81: in inner
    return func(*args, **kwds)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/decorators/csrf.py:56: in wrapper_view
    return view_func(*args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/views/generic/base.py:104: in view
    return self.dispatch(request, *args, **kwargs)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:509: in dispatch
    response = self.handle_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:469: in handle_exception
    self.raise_uncaught_exception(exc)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:480: in raise_uncaught_exception
    raise exc
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/views.py:506: in dispatch
    response = handler(request, *args, **kwargs)
api/preprints/views.py:94: in delete
    return super().delete(request, *args, **kwargs)
E   AttributeError: 'super' object has no attribute 'delete'

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.preprints.views.test_preprint_versions.TestPreprintVersion ► test_pending_version_exists

Failed test found in:
  report.xml
Error:
  api_tests/preprints/views/test_preprint_versions.py:71: in test_pending_version_exists
Raw output
api_tests/preprints/views/test_preprint_versions.py:71: in test_pending_version_exists
    assert res.status_code == 409
E   assert 201 == 409
E    +  where 201 = <201 Created application/vnd.api+json body=b'{"data":...0"}}'/2592>.status_code

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.users.views.test_user_actions.TestReviewActionFilters ► test_filter_actions

Failed test found in:
  report.xml
Error:
  api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
Raw output
api_tests/reviews/mixins/filter_mixins.py:146: in test_filter_actions
    assert expected == actual
E   AssertionError

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api1_and_js REPORT

pytest ► api_tests.users.views.test_user_claim.TestClaimUser ► test_claim_unauth_success_with_preprint_id

Failed test found in:
  report.xml
Error:
  api_tests/users/views/test_user_claim.py:149: in test_claim_unauth_success_with_preprint_id
Raw output
api_tests/users/views/test_user_claim.py:149: in test_claim_unauth_success_with_preprint_id
    res = app.post_json_api(
tests/json_api_test_app.py:124: in wrapper
    return JSONAPIWrapper.make_wrapper(self, url, method, content_type, params, **kw)
tests/json_api_test_app.py:33: in make_wrapper
    wrapper = self._gen_request(method, url, **kw)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest_plus/app.py:175: in _gen_request
    return super(TestApp, self)._gen_request(method=method,
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:756: in _gen_request
    return self.do_request(req, status=status,
tests/json_api_test_app.py:88: in do_request
    response = super().do_request(req, status, expect_errors)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:653: in do_request
    self._check_status(status, res)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/app.py:682: in _check_status
    raise AppError(
E   webtest.app.AppError: Bad response: 404 Not Found (not 200 OK or 3xx redirect for http://localhost/v2/users/zu8vg/claim/)
E   {"errors":[{"detail":"Unable to find specified record."}],"meta":{"version":"2.0"}}