Skip to content

add new user message oauth scope and throttling classes #7556

add new user message oauth scope and throttling classes

add new user message oauth scope and throttling classes #7556

GitHub Actions / api2 REPORT failed Dec 10, 2024 in 1s

25 passed, 2348 failed and 9 skipped

Tests failed

❌ report.xml

2382 tests were completed in 2364s with 25 passed, 2348 failed and 9 skipped.

Test suite Passed Failed Skipped Time
pytest 25✅ 2348❌ 9⚪ 2364s

❌ pytest

api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsBaseSerializer
  ❌ test_serializer_when_target_is_node
	api_tests/cedar_metadata_records/serializers/test_serializers.py:67: in test_serializer_when_target_is_node
  ❌ test_serializer_when_target_is_registration
	api_tests/cedar_metadata_records/serializers/test_serializers.py:95: in test_serializer_when_target_is_registration
  ❌ test_serializer_when_target_is_file
	api_tests/cedar_metadata_records/serializers/test_serializers.py:123: in test_serializer_when_target_is_file
api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsListSerializer
  ❌ test_serializer_when_target_is_node
	api_tests/cedar_metadata_records/serializers/test_serializers.py:154: in test_serializer_when_target_is_node
  ❌ test_serializer_when_target_is_registration
	api_tests/cedar_metadata_records/serializers/test_serializers.py:182: in test_serializer_when_target_is_registration
  ❌ test_serializer_when_target_is_file
	api_tests/cedar_metadata_records/serializers/test_serializers.py:210: in test_serializer_when_target_is_file
api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsCreateSerializer
  ❌ test_serializer_when_target_is_node
	api_tests/cedar_metadata_records/serializers/test_serializers.py:241: in test_serializer_when_target_is_node
  ❌ test_serializer_when_target_is_registration
	api_tests/cedar_metadata_records/serializers/test_serializers.py:269: in test_serializer_when_target_is_registration
  ❌ test_serializer_when_target_is_file
	api_tests/cedar_metadata_records/serializers/test_serializers.py:297: in test_serializer_when_target_is_file
api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsDetailSerializer
  ❌ test_serializer_when_target_is_node
	api_tests/cedar_metadata_records/serializers/test_serializers.py:328: in test_serializer_when_target_is_node
  ❌ test_serializer_when_target_is_registration
	api_tests/cedar_metadata_records/serializers/test_serializers.py:356: in test_serializer_when_target_is_registration
  ❌ test_serializer_when_target_is_file
	api_tests/cedar_metadata_records/serializers/test_serializers.py:384: in test_serializer_when_target_is_file
api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects
  ❌ test_record_create_for_node_with_inactive_template
	api_tests/cedar_metadata_records/views/test_record_create_post.py:18: in test_record_create_for_node_with_inactive_template
  ❌ test_record_create_for_node_conflict
	api_tests/cedar_metadata_records/views/test_record_create_post.py:27: in test_record_create_for_node_conflict
  ❌ test_record_create_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:33: in test_record_create_for_node_with_admin_auth
  ❌ test_record_create_for_node_with_write_contributor_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:56: in test_record_create_for_node_with_write_contributor_auth
  ❌ test_record_create_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:79: in test_record_create_for_node_with_read_auth
  ❌ test_record_create_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:84: in test_record_create_for_node_with_invalid_auth
  ❌ test_record_create_for_node_without_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:89: in test_record_create_for_node_without_auth
api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations
  ❌ test_record_create_for_node_with_inactive_template
	api_tests/cedar_metadata_records/views/test_record_create_post.py:98: in test_record_create_for_node_with_inactive_template
  ❌ test_record_create_for_registration_conflict
	api_tests/cedar_metadata_records/views/test_record_create_post.py:107: in test_record_create_for_registration_conflict
  ❌ test_record_create_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:113: in test_record_create_for_node_with_admin_auth
  ❌ test_record_create_for_node_with_write_contributor_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:136: in test_record_create_for_node_with_write_contributor_auth
  ❌ test_record_create_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:159: in test_record_create_for_node_with_read_auth
  ❌ test_record_create_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:164: in test_record_create_for_node_with_invalid_auth
  ❌ test_record_create_for_node_without_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:169: in test_record_create_for_node_without_auth
api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForFiles
  ❌ test_record_create_for_file_with_inactive_template
	api_tests/cedar_metadata_records/views/test_record_create_post.py:179: in test_record_create_for_file_with_inactive_template
  ❌ test_record_create_for_file_conflict
	api_tests/cedar_metadata_records/views/test_record_create_post.py:188: in test_record_create_for_file_conflict
  ❌ test_record_create_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:194: in test_record_create_for_file_with_admin_auth
  ❌ test_record_create_for_file_with_write_contributor_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:217: in test_record_create_for_file_with_write_contributor_auth
  ❌ test_record_create_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:240: in test_record_create_for_file_with_read_auth
  ❌ test_record_create_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:245: in test_record_create_for_file_with_invalid_auth
  ❌ test_record_create_for_file_without_auth
	api_tests/cedar_metadata_records/views/test_record_create_post.py:250: in test_record_create_for_file_without_auth
api_tests.cedar_metadata_records.views.test_record_detail_delete.TestCedarMetadataRecordDetailDeleteForProjects
  ❌ test_record_detail_delete_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:18: in test_record_detail_delete_for_node_with_admin_auth
  ❌ test_record_detail_delete_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:32: in test_record_detail_delete_for_node_with_write_auth
  ❌ test_record_detail_delete_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:44: in test_record_detail_delete_for_node_with_read_auth
  ❌ test_record_detail_delete_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:49: in test_record_detail_delete_for_node_with_invalid_auth
  ❌ test_record_detail_delete_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:54: in test_record_detail_delete_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_delete.TestCedarMetadataRecordDetailDeleteForRegistrations
  ❌ test_record_detail_delete_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:67: in test_record_detail_delete_for_registration_with_admin_auth
  ❌ test_record_detail_delete_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:81: in test_record_detail_delete_for_registration_with_write_auth
  ❌ test_record_detail_delete_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:93: in test_record_detail_delete_for_registration_with_read_auth
  ❌ test_record_detail_delete_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:98: in test_record_detail_delete_for_registration_with_invalid_auth
  ❌ test_record_detail_delete_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:103: in test_record_detail_delete_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_delete.TestCedarMetadataRecordDetailDeleteForFiles
  ❌ test_record_detail_delete_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:116: in test_record_detail_delete_for_file_with_admin_auth
  ❌ test_record_detail_delete_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:130: in test_record_detail_delete_for_file_with_write_auth
  ❌ test_record_detail_delete_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:142: in test_record_detail_delete_for_file_with_read_auth
  ❌ test_record_detail_delete_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:147: in test_record_detail_delete_for_file_with_invalid_auth
  ❌ test_record_detail_delete_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_delete.py:152: in test_record_detail_delete_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePrivateProjectPublishedMetadata
  ❌ test_record_detail_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:16: in test_record_detail_for_node_with_admin_auth
  ❌ test_record_detail_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:36: in test_record_detail_for_node_with_write_auth
  ❌ test_record_detail_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:56: in test_record_detail_for_node_with_read_auth
  ❌ test_record_detail_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:73: in test_record_detail_for_node_with_invalid_auth
  ❌ test_record_detail_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:77: in test_record_detail_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePrivateProjectDraftMetadata
  ❌ test_record_detail_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:87: in test_record_detail_for_node_with_admin_auth
  ❌ test_record_detail_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:107: in test_record_detail_for_node_with_write_auth
  ❌ test_record_detail_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:128: in test_record_detail_for_node_with_read_auth
  ❌ test_record_detail_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:133: in test_record_detail_for_node_with_invalid_auth
  ❌ test_record_detail_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:137: in test_record_detail_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePublicProjectPublishedMetadata
  ❌ test_record_detail_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:147: in test_record_detail_for_node_with_admin_auth
  ❌ test_record_detail_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:167: in test_record_detail_for_node_with_write_auth
  ❌ test_record_detail_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:187: in test_record_detail_for_node_with_read_auth
  ❌ test_record_detail_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:204: in test_record_detail_for_node_with_invalid_auth
  ❌ test_record_detail_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:221: in test_record_detail_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePublicProjectDraftMetadata
  ❌ test_record_detail_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:243: in test_record_detail_for_node_with_admin_auth
  ❌ test_record_detail_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:263: in test_record_detail_for_node_with_write_auth
  ❌ test_record_detail_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:284: in test_record_detail_for_node_with_read_auth
  ❌ test_record_detail_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:289: in test_record_detail_for_node_with_invalid_auth
  ❌ test_record_detail_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:294: in test_record_detail_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrieveRegistrationPublishedMetadata
  ❌ test_record_detail_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:304: in test_record_detail_for_registration_with_admin_auth
  ❌ test_record_detail_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:324: in test_record_detail_for_registration_with_write_auth
  ❌ test_record_detail_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:344: in test_record_detail_for_registration_with_read_auth
  ❌ test_record_detail_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:361: in test_record_detail_for_registration_with_invalid_auth
  ❌ test_record_detail_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:378: in test_record_detail_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrieveRegistrationDraftMetadata
  ❌ test_record_detail_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:400: in test_record_detail_for_registration_with_admin_auth
  ❌ test_record_detail_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:420: in test_record_detail_for_registration_with_write_auth
  ❌ test_record_detail_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:441: in test_record_detail_for_registration_with_read_auth
  ❌ test_record_detail_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:446: in test_record_detail_for_registration_with_invalid_auth
  ❌ test_record_detail_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:451: in test_record_detail_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePrivateFilePublishedMetadata
  ❌ test_record_detail_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:461: in test_record_detail_for_file_with_admin_auth
  ❌ test_record_detail_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:482: in test_record_detail_for_file_with_write_auth
  ❌ test_record_detail_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:503: in test_record_detail_for_file_with_read_auth
  ❌ test_record_detail_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:521: in test_record_detail_for_file_with_invalid_auth
  ❌ test_record_detail_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:525: in test_record_detail_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePrivateFileDraftMetadata
  ❌ test_record_detail_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:535: in test_record_detail_for_file_with_admin_auth
  ❌ test_record_detail_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:556: in test_record_detail_for_file_with_write_auth
  ❌ test_record_detail_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:578: in test_record_detail_for_file_with_read_auth
  ❌ test_record_detail_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:583: in test_record_detail_for_file_with_invalid_auth
  ❌ test_record_detail_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:587: in test_record_detail_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePublicFilePublishedMetadata
  ❌ test_record_detail_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:597: in test_record_detail_for_file_with_admin_auth
  ❌ test_record_detail_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:618: in test_record_detail_for_file_with_write_auth
  ❌ test_record_detail_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:639: in test_record_detail_for_file_with_read_auth
  ❌ test_record_detail_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:657: in test_record_detail_for_file_with_invalid_auth
  ❌ test_record_detail_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:675: in test_record_detail_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_get.TestCedarMetadataRecordDetailRetrievePublicFileDraftMetadata
  ❌ test_record_detail_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:698: in test_record_detail_for_file_with_admin_auth
  ❌ test_record_detail_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:719: in test_record_detail_for_file_with_write_auth
  ❌ test_record_detail_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:741: in test_record_detail_for_file_with_read_auth
  ❌ test_record_detail_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:746: in test_record_detail_for_file_with_invalid_auth
  ❌ test_record_detail_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_get.py:751: in test_record_detail_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_patch.TestCedarMetadataRecordDetailUpdateForProjects
  ❌ test_record_detail_update_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:17: in test_record_detail_update_for_node_with_admin_auth
  ❌ test_record_detail_update_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:35: in test_record_detail_update_for_node_with_write_auth
  ❌ test_record_detail_update_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:50: in test_record_detail_update_for_node_with_read_auth
  ❌ test_record_detail_update_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:55: in test_record_detail_update_for_node_with_invalid_auth
  ❌ test_record_detail_update_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:59: in test_record_detail_update_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_patch.TestCedarMetadataRecordDetailUpdateForRegistrations
  ❌ test_record_detail_update_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:72: in test_record_detail_update_for_registration_with_admin_auth
  ❌ test_record_detail_update_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:90: in test_record_detail_update_for_registration_with_write_auth
  ❌ test_record_detail_update_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:105: in test_record_detail_update_for_registration_with_read_auth
  ❌ test_record_detail_update_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:110: in test_record_detail_update_for_registration_with_invalid_auth
  ❌ test_record_detail_update_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:114: in test_record_detail_update_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_detail_patch.TestCedarMetadataRecordDetailUpdateForFiles
  ❌ test_record_detail_update_for_file_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:126: in test_record_detail_update_for_file_with_admin_auth
  ❌ test_record_detail_update_for_file_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:143: in test_record_detail_update_for_file_with_write_auth
  ❌ test_record_detail_update_for_file_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:157: in test_record_detail_update_for_file_with_read_auth
  ❌ test_record_detail_update_for_file_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:161: in test_record_detail_update_for_file_with_invalid_auth
  ❌ test_record_detail_update_for_file_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_detail_patch.py:165: in test_record_detail_update_for_file_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPrivateProjectPublishedMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:13: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:23: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:33: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:40: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:44: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPrivateProjectDraftMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:54: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:64: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:74: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:79: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:83: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPublicProjectPublishedMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:93: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:103: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:113: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:120: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:127: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPublicProjectDraftMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:139: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:149: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:159: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:164: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:169: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadRegistrationPublishedMetadata
  ❌ test_record_metadata_download_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:179: in test_record_metadata_download_for_registration_with_admin_auth
  ❌ test_record_metadata_download_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:189: in test_record_metadata_download_for_registration_with_write_auth
  ❌ test_record_metadata_download_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:199: in test_record_metadata_download_for_registration_with_read_auth
  ❌ test_record_metadata_download_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:206: in test_record_metadata_download_for_registration_with_invalid_auth
  ❌ test_record_metadata_download_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:213: in test_record_metadata_download_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadRegistrationDraftMetadata
  ❌ test_record_metadata_download_for_registration_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:225: in test_record_metadata_download_for_registration_with_admin_auth
  ❌ test_record_metadata_download_for_registration_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:235: in test_record_metadata_download_for_registration_with_write_auth
  ❌ test_record_metadata_download_for_registration_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:246: in test_record_metadata_download_for_registration_with_read_auth
  ❌ test_record_metadata_download_for_registration_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:251: in test_record_metadata_download_for_registration_with_invalid_auth
  ❌ test_record_metadata_download_for_registration_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:256: in test_record_metadata_download_for_registration_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPrivateFilePublishedMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:266: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:276: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:286: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:293: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:297: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPrivateFileDraftMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:307: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:317: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:327: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:332: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:336: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPublicFilePublishedMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:346: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:356: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:366: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:373: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:380: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_records.views.test_record_metadata_download_get.TestCedarMetadataRecordMetadataDownloadPublicFileDraftMetadata
  ❌ test_record_metadata_download_for_node_with_admin_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:392: in test_record_metadata_download_for_node_with_admin_auth
  ❌ test_record_metadata_download_for_node_with_write_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:402: in test_record_metadata_download_for_node_with_write_auth
  ❌ test_record_metadata_download_for_node_with_read_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:412: in test_record_metadata_download_for_node_with_read_auth
  ❌ test_record_metadata_download_for_node_with_invalid_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:417: in test_record_metadata_download_for_node_with_invalid_auth
  ❌ test_record_metadata_download_for_node_with_no_auth
	api_tests/cedar_metadata_records/views/test_record_metadata_download_get.py:422: in test_record_metadata_download_for_node_with_no_auth
api_tests.cedar_metadata_templates.serializers.test_serializers.TestCedarMetadataTemplateSerializer
  ❌ test_serializer
	api_tests/cedar_metadata_templates/serializers/test_serializers.py:33: in test_serializer
api_tests.cedar_metadata_templates.views.test_template_detail.TestCedarMetadataTemplateDetail
  ❌ test_template_detail_active
	api_tests/cedar_metadata_templates/views/test_template_detail.py:13: in test_template_detail_active
  ❌ test_template_detail_inactive
	api_tests/cedar_metadata_templates/views/test_template_detail.py:27: in test_template_detail_inactive
  ❌ test_template_detail_not_found
	api_tests/cedar_metadata_templates/views/test_template_detail.py:41: in test_template_detail_not_found
api_tests.cedar_metadata_templates.views.test_template_list.TestCedarMetadataTemplateList
  ❌ test_template_list
	api_tests/cedar_metadata_templates/views/test_template_list.py:11: in test_template_list
api_tests.chronos.views.test_chronos_journal_detail.TestChronosJournalDetail
  ❌ test_journal_detail
	api_tests/chronos/views/test_chronos_journal_detail.py:19: in res
api_tests.chronos.views.test_chronos_journal_list.TestChronosJournalList
  ❌ test_journal_list
	api_tests/chronos/views/test_chronos_journal_list.py:23: in res
api_tests.chronos.views.test_chronos_journal_list.TestChronosJournalListFilter
  ❌ test_journal_list_filter
	api_tests/chronos/views/test_chronos_journal_list.py:54: in test_journal_list_filter
api_tests.chronos.views.test_chronos_submission_detail.TestChronosSubmissionDetail
  ❌ test_update_success
	api_tests/chronos/views/test_chronos_submission_detail.py:58: in test_update_success
  ❌ test_update_failure
	api_tests/chronos/views/test_chronos_submission_detail.py:67: in test_update_failure
  ❌ test_get
	api_tests/chronos/views/test_chronos_submission_detail.py:79: in test_get
api_tests.chronos.views.test_chronos_submission_list.TestChronosSubmissionList
  ❌ test_create_success
	api_tests/chronos/views/test_chronos_submission_list.py:97: in test_create_success
  ❌ test_create_failure
	api_tests/chronos/views/test_chronos_submission_list.py:105: in test_create_failure
  ❌ test_list_submitter
	api_tests/chronos/views/test_chronos_submission_list.py:118: in test_list_submitter
  ❌ test_list_contributor
	api_tests/chronos/views/test_chronos_submission_list.py:132: in test_list_contributor
  ❌ test_list_moderator
	api_tests/chronos/views/test_chronos_submission_list.py:146: in test_list_moderator
  ❌ test_list_user
	api_tests/chronos/views/test_chronos_submission_list.py:157: in test_list_user
  ❌ test_list_no_auth
	api_tests/chronos/views/test_chronos_submission_list.py:168: in test_list_no_auth
api_tests.chronos.views.test_chronos_submission_list.TestChronosSubmissionAutomaticUpdate
  ❌ test_enqueue_is_called_with_submission_is_stale
	api_tests/chronos/views/test_chronos_submission_list.py:222: in test_enqueue_is_called_with_submission_is_stale
  ❌ test_enqueue_is_not_called_with_submission_is_fresh
	api_tests/chronos/views/test_chronos_submission_list.py:229: in test_enqueue_is_not_called_with_submission_is_fresh
  ❌ test_mix_enqueue
	api_tests/chronos/views/test_chronos_submission_list.py:237: in test_mix_enqueue
api_tests.meetings.views.test_meetings_detail.TestMeetingDetail
  ❌ test_meeting_detail
	api_tests/meetings/views/test_meetings_detail.py:45: in test_meeting_detail
api_tests.meetings.views.test_meetings_list.TestMeetingsList
  ❌ test_meeting_list
	api_tests/meetings/views/test_meetings_list.py:39: in res
api_tests.meetings.views.test_meetings_list.TestMeetingListFilter
  ❌ test_meeting_list_filter
	api_tests/meetings/views/test_meetings_list.py:116: in test_meeting_list_filter
api_tests.meetings.views.test_meetings_submissions_detail.TestMeetingSubmissionsDetail
  ❌ test_meeting_submission_detail
	api_tests/meetings/views/test_meetings_submissions_detail.py:74: in test_meeting_submission_detail
api_tests.meetings.views.test_meetings_submissions_list.TestMeetingSubmissionsList
  ❌ test_meeting_submissions_list
	api_tests/meetings/views/test_meetings_submissions_list.py:107: in test_meeting_submissions_list
  ❌ test_meeting_submissions_list_sorting_and_filtering
	api_tests/meetings/views/test_meetings_submissions_list.py:124: in test_meeting_submissions_list_sorting_and_filtering
api_tests.metrics.test_composite_query.TestElasticSearch
  ❌ test_elasticsearch_agg_query
	api_tests/metrics/test_composite_query.py:63: in test_elasticsearch_agg_query
api_tests.metrics.test_counted_usage.TestRestrictions
  ❌ test_http_method
	api_tests/metrics/test_counted_usage.py:48: in test_http_method
  ❌ test_required_attributes[attrs0]
	api_tests/metrics/test_counted_usage.py:65: in test_required_attributes
  ❌ test_required_attributes[attrs1]
	api_tests/metrics/test_counted_usage.py:65: in test_required_attributes
  ❌ test_required_attributes[attrs2]
	api_tests/metrics/test_counted_usage.py:65: in test_required_attributes
  ❌ test_required_attributes[attrs3]
	api_tests/metrics/test_counted_usage.py:65: in test_required_attributes
api_tests.metrics.test_counted_usage.TestComputedFields
  ❌ test_by_client_session_id
	api_tests/metrics/test_counted_usage.py:98: in test_by_client_session_id
  ❌ test_by_client_session_id_anon
	api_tests/metrics/test_counted_usage.py:131: in test_by_client_session_id_anon
  ❌ test_by_user_auth
	api_tests/metrics/test_counted_usage.py:165: in test_by_user_auth
  ❌ test_by_useragent_header
	api_tests/metrics/test_counted_usage.py:195: in test_by_useragent_header
api_tests.metrics.test_counted_usage.TestGuidFields
  ❌ test_preprint_file[True]
	api_tests/metrics/test_counted_usage.py:259: in test_preprint_file
  ❌ test_preprint_file[False]
	api_tests/metrics/test_counted_usage.py:259: in test_preprint_file
  ❌ test_child_registration_file[True]
	api_tests/metrics/test_counted_usage.py:297: in test_child_registration_file
  ❌ test_child_registration_file[False]
	api_tests/metrics/test_counted_usage.py:297: in test_child_registration_file
api_tests.metrics.test_preprint_metrics.TestPreprintMetrics
  ❌ test_custom_metric_malformed_query
	api_tests/metrics/test_preprint_metrics.py:115: in test_custom_metric_malformed_query
  ❌ test_agg_query
	api_tests/metrics/test_preprint_metrics.py:147: in test_agg_query
  ❌ test_post_custom_metric
	api_tests/metrics/test_preprint_metrics.py:165: in test_post_custom_metric
  ❌ test_preprint_list_with_metrics_fails[downloads]
	api_tests/metrics/test_preprint_metrics.py:178: in test_preprint_list_with_metrics_fails
  ❌ test_preprint_list_with_metrics_fails[views]
	api_tests/metrics/test_preprint_metrics.py:178: in test_preprint_list_with_metrics_fails
  ⚪ test_preprint_with_metrics_succeeds
api_tests.metrics.test_queries.TestNodeAnalyticsQuery
  ❌ test_private_node[week]
	api_tests/metrics/test_queries.py:18: in test_private_node
  ❌ test_private_node[fortnight]
	api_tests/metrics/test_queries.py:18: in test_private_node
  ❌ test_private_node[month]
	api_tests/metrics/test_queries.py:18: in test_private_node
  ❌ test_public_node[week]
	api_tests/metrics/test_queries.py:85: in test_public_node
  ❌ test_public_node[fortnight]
	api_tests/metrics/test_queries.py:85: in test_public_node
  ❌ test_public_node[month]
	api_tests/metrics/test_queries.py:85: in test_public_node
api_tests.metrics.test_raw_metrics.TestRawMetrics
  ❌ test_delete
	api_tests/metrics/test_raw_metrics.py:48: in test_delete
  ❌ test_put
	api_tests/metrics/test_raw_metrics.py:72: in test_put
  ❌ test_put_no_perms
	api_tests/metrics/test_raw_metrics.py:80: in test_put_no_perms
  ❌ test_post
	api_tests/metrics/test_raw_metrics.py:104: in test_post
  ❌ test_post_no_perms
	api_tests/metrics/test_raw_metrics.py:112: in test_post_no_perms
  ❌ test_post_and_get
	api_tests/metrics/test_raw_metrics.py:136: in test_post_and_get
api_tests.metrics.test_registries_moderation_metrics.TestRegistrationModerationMetrics
  ✅ test_record_transitions
api_tests.metrics.test_registries_moderation_metrics.TestRegistrationModerationMetricsView
  ❌ test_registries_moderation_view
	api_tests/metrics/test_registries_moderation_metrics.py:83: in test_registries_moderation_view
api_tests.metrics.test_reports.TestMetricsReports
  ❌ test_report_names
	api_tests/metrics/test_reports.py:28: in test_report_names
  ❌ test_recent_reports[user_summary]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
  ❌ test_recent_reports[node_summary]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
  ❌ test_recent_reports[osfstorage_file_count]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
  ❌ test_recent_reports[download_count]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
  ❌ test_recent_reports[preprint_summary]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
  ❌ test_recent_reports[institution_summary]
	api_tests/metrics/test_reports.py:55: in test_recent_reports
api_tests.nodes.serializers.test_serializers.TestNodeSerializer
  ❌ test_node_serializer
	api_tests/nodes/serializers/test_serializers.py:35: in test_node_serializer
api_tests.nodes.serializers.test_serializers.TestSparseNodeSerializer
  ❌ test_sparse_node_serializer
	api_tests/nodes/serializers/test_serializers.py:104: in test_sparse_node_serializer
api_tests.nodes.serializers.test_serializers.TestNodeRegistrationSerializer
  ❌ test_serialization
	api_tests/nodes/serializers/test_serializers.py:148: in test_serialization
api_tests.nodes.serializers.test_serializers.TestSparseRegistrationSerializer
  ❌ test_sparse_registration_serializer
	api_tests/nodes/serializers/test_serializers.py:206: in test_sparse_registration_serializer
api_tests.nodes.views.test_node_addons.TestNodeInvalidAddon
  ❌ test_folder_list_GET_expected_behavior
	api_tests/nodes/views/test_node_addons.py:493: in test_folder_list_GET_expected_behavior
  ❌ test_folder_list_GET_raises_error_admin_not_authorizer
	api_tests/nodes/views/test_node_addons.py:560: in test_folder_list_GET_raises_error_admin_not_authorizer
  ❌ test_folder_list_GET_raises_error_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:532: in test_folder_list_GET_raises_error_noncontrib_not_public
  ❌ test_folder_list_GET_raises_error_writecontrib_not_authorizer
	api_tests/nodes/views/test_node_addons.py:545: in test_folder_list_GET_raises_error_writecontrib_not_authorizer
  ❌ test_folder_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:524: in test_folder_list_raises_error_if_DELETE
  ❌ test_folder_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:516: in test_folder_list_raises_error_if_PATCH
  ❌ test_folder_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:508: in test_folder_list_raises_error_if_PUT
  ❌ test_settings_detail_DELETE_disables
	api_tests/nodes/views/test_node_addons.py:238: in test_settings_detail_DELETE_disables
  ❌ test_settings_detail_DELETE_success
	api_tests/nodes/views/test_node_addons.py:373: in test_settings_detail_DELETE_success
  ❌ test_settings_detail_GET_disabled
	api_tests/nodes/views/test_node_addons.py:153: in test_settings_detail_GET_disabled
  ❌ test_settings_detail_GET_enabled
	api_tests/nodes/views/test_node_addons.py:134: in test_settings_detail_GET_enabled
  ❌ test_settings_detail_PATCH_readcontrib_raises_error
	api_tests/nodes/views/test_node_addons.py:358: in test_settings_detail_PATCH_readcontrib_raises_error
  ❌ test_settings_detail_PATCH_to_add_folder_without_auth_conflict
	api_tests/nodes/views/test_node_addons.py:343: in test_settings_detail_PATCH_to_add_folder_without_auth_conflict
  ❌ test_settings_detail_PATCH_to_enable_and_add_external_account_id
	api_tests/nodes/views/test_node_addons.py:283: in test_settings_detail_PATCH_to_enable_and_add_external_account_id
  ❌ test_settings_detail_PATCH_to_remove_external_account_id
	api_tests/nodes/views/test_node_addons.py:305: in test_settings_detail_PATCH_to_remove_external_account_id
  ❌ test_settings_detail_POST_enables
	api_tests/nodes/views/test_node_addons.py:256: in test_settings_detail_POST_enables
  ❌ test_settings_detail_PUT_all_sets_settings
	api_tests/nodes/views/test_node_addons.py:178: in test_settings_detail_PUT_all_sets_settings
  ❌ test_settings_detail_PUT_none_and_disabled_deauthorizes
	api_tests/nodes/views/test_node_addons.py:216: in test_settings_detail_PUT_none_and_disabled_deauthorizes
  ❌ test_settings_detail_PUT_none_and_enabled_clears_settings
	api_tests/nodes/views/test_node_addons.py:193: in test_settings_detail_PUT_none_and_enabled_clears_settings
  ❌ test_settings_detail_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:453: in test_settings_detail_noncontrib_public_can_view
  ❌ test_settings_detail_noncontrib_public_cannot_edit
	api_tests/nodes/views/test_node_addons.py:470: in test_settings_detail_noncontrib_public_cannot_edit
  ❌ test_settings_detail_raises_error_if_DELETE_not_enabled
	api_tests/nodes/views/test_node_addons.py:388: in test_settings_detail_raises_error_if_DELETE_not_enabled
  ❌ test_settings_detail_raises_error_if_POST_already_configured
	api_tests/nodes/views/test_node_addons.py:396: in test_settings_detail_raises_error_if_POST_already_configured
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_GET
	api_tests/nodes/views/test_node_addons.py:413: in test_settings_detail_raises_error_if_noncontrib_not_public_GET
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
	api_tests/nodes/views/test_node_addons.py:436: in test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PUT
	api_tests/nodes/views/test_node_addons.py:421: in test_settings_detail_raises_error_if_noncontrib_not_public_PUT
  ❌ test_settings_list_GET_disabled
	api_tests/nodes/views/test_node_addons.py:74: in test_settings_list_GET_disabled
  ❌ test_settings_list_GET_enabled
	api_tests/nodes/views/test_node_addons.py:55: in test_settings_list_GET_enabled
  ❌ test_settings_list_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:114: in test_settings_list_noncontrib_public_can_view
  ❌ test_settings_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:97: in test_settings_list_raises_error_if_DELETE
  ❌ test_settings_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:90: in test_settings_list_raises_error_if_PATCH
  ❌ test_settings_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:82: in test_settings_list_raises_error_if_PUT
  ❌ test_settings_list_raises_error_if_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:104: in test_settings_list_raises_error_if_noncontrib_not_public
api_tests.nodes.views.test_node_addons.TestNodeOsfStorageAddon
  ❌ test_folder_list_GET_expected_behavior
	api_tests/nodes/views/test_node_addons.py:493: in test_folder_list_GET_expected_behavior
  ❌ test_folder_list_GET_raises_error_admin_not_authorizer
	api_tests/nodes/views/test_node_addons.py:560: in test_folder_list_GET_raises_error_admin_not_authorizer
  ❌ test_folder_list_GET_raises_error_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:532: in test_folder_list_GET_raises_error_noncontrib_not_public
  ❌ test_folder_list_GET_raises_error_writecontrib_not_authorizer
	api_tests/nodes/views/test_node_addons.py:545: in test_folder_list_GET_raises_error_writecontrib_not_authorizer
  ❌ test_folder_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:524: in test_folder_list_raises_error_if_DELETE
  ❌ test_folder_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:516: in test_folder_list_raises_error_if_PATCH
  ❌ test_folder_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:508: in test_folder_list_raises_error_if_PUT
  ❌ test_settings_detail_DELETE_disables
	api_tests/nodes/views/test_node_addons.py:238: in test_settings_detail_DELETE_disables
  ❌ test_settings_detail_DELETE_success
	api_tests/nodes/views/test_node_addons.py:373: in test_settings_detail_DELETE_success
  ❌ test_settings_detail_GET_disabled
	api_tests/nodes/views/test_node_addons.py:153: in test_settings_detail_GET_disabled
  ❌ test_settings_detail_GET_enabled
	api_tests/nodes/views/test_node_addons.py:134: in test_settings_detail_GET_enabled
  ❌ test_settings_detail_PATCH_readcontrib_raises_error
	api_tests/nodes/views/test_node_addons.py:358: in test_settings_detail_PATCH_readcontrib_raises_error
  ❌ test_settings_detail_PATCH_to_add_folder_without_auth_conflict
	api_tests/nodes/views/test_node_addons.py:343: in test_settings_detail_PATCH_to_add_folder_without_auth_conflict
  ❌ test_settings_detail_PATCH_to_enable_and_add_external_account_id
	api_tests/nodes/views/test_node_addons.py:283: in test_settings_detail_PATCH_to_enable_and_add_external_account_id
  ❌ test_settings_detail_PATCH_to_remove_external_account_id
	api_tests/nodes/views/test_node_addons.py:305: in test_settings_detail_PATCH_to_remove_external_account_id
  ❌ test_settings_detail_POST_enables
	api_tests/nodes/views/test_node_addons.py:256: in test_settings_detail_POST_enables
  ❌ test_settings_detail_PUT_all_sets_settings
	api_tests/nodes/views/test_node_addons.py:178: in test_settings_detail_PUT_all_sets_settings
  ❌ test_settings_detail_PUT_none_and_disabled_deauthorizes
	api_tests/nodes/views/test_node_addons.py:216: in test_settings_detail_PUT_none_and_disabled_deauthorizes
  ❌ test_settings_detail_PUT_none_and_enabled_clears_settings
	api_tests/nodes/views/test_node_addons.py:193: in test_settings_detail_PUT_none_and_enabled_clears_settings
  ❌ test_settings_detail_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:453: in test_settings_detail_noncontrib_public_can_view
  ❌ test_settings_detail_noncontrib_public_cannot_edit
	api_tests/nodes/views/test_node_addons.py:470: in test_settings_detail_noncontrib_public_cannot_edit
  ❌ test_settings_detail_raises_error_if_DELETE_not_enabled
	api_tests/nodes/views/test_node_addons.py:388: in test_settings_detail_raises_error_if_DELETE_not_enabled
  ❌ test_settings_detail_raises_error_if_POST_already_configured
	api_tests/nodes/views/test_node_addons.py:396: in test_settings_detail_raises_error_if_POST_already_configured
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_GET
	api_tests/nodes/views/test_node_addons.py:413: in test_settings_detail_raises_error_if_noncontrib_not_public_GET
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
	api_tests/nodes/views/test_node_addons.py:436: in test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PUT
	api_tests/nodes/views/test_node_addons.py:421: in test_settings_detail_raises_error_if_noncontrib_not_public_PUT
  ❌ test_settings_list_GET_disabled
	api_tests/nodes/views/test_node_addons.py:74: in test_settings_list_GET_disabled
  ❌ test_settings_list_GET_enabled
	api_tests/nodes/views/test_node_addons.py:55: in test_settings_list_GET_enabled
  ❌ test_settings_list_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:114: in test_settings_list_noncontrib_public_can_view
  ❌ test_settings_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:97: in test_settings_list_raises_error_if_DELETE
  ❌ test_settings_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:90: in test_settings_list_raises_error_if_PATCH
  ❌ test_settings_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:82: in test_settings_list_raises_error_if_PUT
  ❌ test_settings_list_raises_error_if_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:104: in test_settings_list_raises_error_if_noncontrib_not_public
api_tests.nodes.views.test_node_addons.TestNodeTwoFactorAddon
  ❌ test_folder_list_GET_expected_behavior
	api_tests/nodes/views/test_node_addons.py:493: in test_folder_list_GET_expected_behavior
  ❌ test_folder_list_GET_raises_error_admin_not_authorizer
	api_tests/nodes/views/test_node_addons.py:560: in test_folder_list_GET_raises_error_admin_not_authorizer
  ❌ test_folder_list_GET_raises_error_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:532: in test_folder_list_GET_raises_error_noncontrib_not_public
  ❌ test_folder_list_GET_raises_error_writecontrib_not_authorizer
	api_tests/nodes/views/test_node_addons.py:545: in test_folder_list_GET_raises_error_writecontrib_not_authorizer
  ❌ test_folder_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:524: in test_folder_list_raises_error_if_DELETE
  ❌ test_folder_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:516: in test_folder_list_raises_error_if_PATCH
  ❌ test_folder_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:508: in test_folder_list_raises_error_if_PUT
  ❌ test_settings_detail_DELETE_disables
	api_tests/nodes/views/test_node_addons.py:238: in test_settings_detail_DELETE_disables
  ❌ test_settings_detail_DELETE_success
	api_tests/nodes/views/test_node_addons.py:373: in test_settings_detail_DELETE_success
  ❌ test_settings_detail_GET_disabled
	api_tests/nodes/views/test_node_addons.py:153: in test_settings_detail_GET_disabled
  ❌ test_settings_detail_GET_enabled
	api_tests/nodes/views/test_node_addons.py:134: in test_settings_detail_GET_enabled
  ❌ test_settings_detail_PATCH_readcontrib_raises_error
	api_tests/nodes/views/test_node_addons.py:358: in test_settings_detail_PATCH_readcontrib_raises_error
  ❌ test_settings_detail_PATCH_to_add_folder_without_auth_conflict
	api_tests/nodes/views/test_node_addons.py:343: in test_settings_detail_PATCH_to_add_folder_without_auth_conflict
  ❌ test_settings_detail_PATCH_to_enable_and_add_external_account_id
	api_tests/nodes/views/test_node_addons.py:283: in test_settings_detail_PATCH_to_enable_and_add_external_account_id
  ❌ test_settings_detail_PATCH_to_remove_external_account_id
	api_tests/nodes/views/test_node_addons.py:305: in test_settings_detail_PATCH_to_remove_external_account_id
  ❌ test_settings_detail_POST_enables
	api_tests/nodes/views/test_node_addons.py:256: in test_settings_detail_POST_enables
  ❌ test_settings_detail_PUT_all_sets_settings
	api_tests/nodes/views/test_node_addons.py:178: in test_settings_detail_PUT_all_sets_settings
  ❌ test_settings_detail_PUT_none_and_disabled_deauthorizes
	api_tests/nodes/views/test_node_addons.py:216: in test_settings_detail_PUT_none_and_disabled_deauthorizes
  ❌ test_settings_detail_PUT_none_and_enabled_clears_settings
	api_tests/nodes/views/test_node_addons.py:193: in test_settings_detail_PUT_none_and_enabled_clears_settings
  ❌ test_settings_detail_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:453: in test_settings_detail_noncontrib_public_can_view
  ❌ test_settings_detail_noncontrib_public_cannot_edit
	api_tests/nodes/views/test_node_addons.py:470: in test_settings_detail_noncontrib_public_cannot_edit
  ❌ test_settings_detail_raises_error_if_DELETE_not_enabled
	api_tests/nodes/views/test_node_addons.py:388: in test_settings_detail_raises_error_if_DELETE_not_enabled
  ❌ test_settings_detail_raises_error_if_POST_already_configured
	api_tests/nodes/views/test_node_addons.py:396: in test_settings_detail_raises_error_if_POST_already_configured
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_GET
	api_tests/nodes/views/test_node_addons.py:413: in test_settings_detail_raises_error_if_noncontrib_not_public_GET
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
	api_tests/nodes/views/test_node_addons.py:436: in test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PUT
	api_tests/nodes/views/test_node_addons.py:421: in test_settings_detail_raises_error_if_noncontrib_not_public_PUT
  ❌ test_settings_list_GET_disabled
	api_tests/nodes/views/test_node_addons.py:74: in test_settings_list_GET_disabled
  ❌ test_settings_list_GET_enabled
	api_tests/nodes/views/test_node_addons.py:55: in test_settings_list_GET_enabled
  ❌ test_settings_list_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:114: in test_settings_list_noncontrib_public_can_view
  ❌ test_settings_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:97: in test_settings_list_raises_error_if_DELETE
  ❌ test_settings_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:90: in test_settings_list_raises_error_if_PATCH
  ❌ test_settings_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:82: in test_settings_list_raises_error_if_PUT
  ❌ test_settings_list_raises_error_if_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:104: in test_settings_list_raises_error_if_noncontrib_not_public
api_tests.nodes.views.test_node_addons.TestNodeWikiAddon
  ❌ test_folder_list_GET_expected_behavior
	api_tests/nodes/views/test_node_addons.py:493: in test_folder_list_GET_expected_behavior
  ❌ test_folder_list_GET_raises_error_admin_not_authorizer
	api_tests/nodes/views/test_node_addons.py:560: in test_folder_list_GET_raises_error_admin_not_authorizer
  ❌ test_folder_list_GET_raises_error_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:532: in test_folder_list_GET_raises_error_noncontrib_not_public
  ❌ test_folder_list_GET_raises_error_writecontrib_not_authorizer
	api_tests/nodes/views/test_node_addons.py:545: in test_folder_list_GET_raises_error_writecontrib_not_authorizer
  ❌ test_folder_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:524: in test_folder_list_raises_error_if_DELETE
  ❌ test_folder_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:516: in test_folder_list_raises_error_if_PATCH
  ❌ test_folder_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:508: in test_folder_list_raises_error_if_PUT
  ❌ test_settings_detail_DELETE_disables
	api_tests/nodes/views/test_node_addons.py:238: in test_settings_detail_DELETE_disables
  ❌ test_settings_detail_DELETE_success
	api_tests/nodes/views/test_node_addons.py:373: in test_settings_detail_DELETE_success
  ❌ test_settings_detail_GET_disabled
	api_tests/nodes/views/test_node_addons.py:153: in test_settings_detail_GET_disabled
  ❌ test_settings_detail_GET_enabled
	api_tests/nodes/views/test_node_addons.py:134: in test_settings_detail_GET_enabled
  ❌ test_settings_detail_PATCH_readcontrib_raises_error
	api_tests/nodes/views/test_node_addons.py:358: in test_settings_detail_PATCH_readcontrib_raises_error
  ❌ test_settings_detail_PATCH_to_add_folder_without_auth_conflict
	api_tests/nodes/views/test_node_addons.py:343: in test_settings_detail_PATCH_to_add_folder_without_auth_conflict
  ❌ test_settings_detail_PATCH_to_enable_and_add_external_account_id
	api_tests/nodes/views/test_node_addons.py:283: in test_settings_detail_PATCH_to_enable_and_add_external_account_id
  ❌ test_settings_detail_PATCH_to_remove_external_account_id
	api_tests/nodes/views/test_node_addons.py:305: in test_settings_detail_PATCH_to_remove_external_account_id
  ❌ test_settings_detail_POST_enables
	api_tests/nodes/views/test_node_addons.py:256: in test_settings_detail_POST_enables
  ❌ test_settings_detail_PUT_all_sets_settings
	api_tests/nodes/views/test_node_addons.py:178: in test_settings_detail_PUT_all_sets_settings
  ❌ test_settings_detail_PUT_none_and_disabled_deauthorizes
	api_tests/nodes/views/test_node_addons.py:216: in test_settings_detail_PUT_none_and_disabled_deauthorizes
  ❌ test_settings_detail_PUT_none_and_enabled_clears_settings
	api_tests/nodes/views/test_node_addons.py:193: in test_settings_detail_PUT_none_and_enabled_clears_settings
  ❌ test_settings_detail_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:453: in test_settings_detail_noncontrib_public_can_view
  ❌ test_settings_detail_noncontrib_public_cannot_edit
	api_tests/nodes/views/test_node_addons.py:470: in test_settings_detail_noncontrib_public_cannot_edit
  ❌ test_settings_detail_raises_error_if_DELETE_not_enabled
	api_tests/nodes/views/test_node_addons.py:388: in test_settings_detail_raises_error_if_DELETE_not_enabled
  ❌ test_settings_detail_raises_error_if_POST_already_configured
	api_tests/nodes/views/test_node_addons.py:396: in test_settings_detail_raises_error_if_POST_already_configured
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_GET
	api_tests/nodes/views/test_node_addons.py:413: in test_settings_detail_raises_error_if_noncontrib_not_public_GET
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
	api_tests/nodes/views/test_node_addons.py:436: in test_settings_detail_raises_error_if_noncontrib_not_public_PATCH
  ❌ test_settings_detail_raises_error_if_noncontrib_not_public_PUT
	api_tests/nodes/views/test_node_addons.py:421: in test_settings_detail_raises_error_if_noncontrib_not_public_PUT
  ❌ test_settings_list_GET_disabled
	api_tests/nodes/views/test_node_addons.py:74: in test_settings_list_GET_disabled
  ❌ test_settings_list_GET_enabled
	api_tests/nodes/views/test_node_addons.py:55: in test_settings_list_GET_enabled
  ❌ test_settings_list_noncontrib_public_can_view
	api_tests/nodes/views/test_node_addons.py:114: in test_settings_list_noncontrib_public_can_view
  ❌ test_settings_list_raises_error_if_DELETE
	api_tests/nodes/views/test_node_addons.py:97: in test_settings_list_raises_error_if_DELETE
  ❌ test_settings_list_raises_error_if_PATCH
	api_tests/nodes/views/test_node_addons.py:90: in test_settings_list_raises_error_if_PATCH
  ❌ test_settings_list_raises_error_if_PUT
	api_tests/nodes/views/test_node_addons.py:82: in test_settings_list_raises_error_if_PUT
  ❌ test_settings_list_raises_error_if_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:104: in test_settings_list_raises_error_if_noncontrib_not_public
api_tests.nodes.views.test_node_addons.TestNodeBitbucketAddon
  ❌ test_folder_list_GET_expected_behavior
	api_tests/nodes/views/test_node_addons.py:493: in test_folder_list_GET_expected_behavior
  ❌ test_folder_list_GET_raises_error_admin_not_authorizer
	api_tests/nodes/views/test_node_addons.py:560: in test_folder_list_GET_raises_error_admin_not_authorizer
  ❌ test_folder_list_GET_raises_error_noncontrib_not_public
	api_tests/nodes/views/test_node_addons.py:532: in test_folder_list_GET_raises_error_noncontrib_not_public
  ❌ test_folder_list_GET_raises_error_writecontrib_not_authorizer
	api_tests/nodes/views/test_node_addons.py:545: in test_folder_list_GET_raises_error_writecontrib_not_authorizer

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 / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsBaseSerializer ► test_serializer_when_target_is_node

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:67: in test_serializer_when_target_is_node
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:67: in test_serializer_when_target_is_node
    data = CedarMetadataRecordsBaseSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsBaseSerializer ► test_serializer_when_target_is_registration

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:95: in test_serializer_when_target_is_registration
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:95: in test_serializer_when_target_is_registration
    data = CedarMetadataRecordsBaseSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsBaseSerializer ► test_serializer_when_target_is_file

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:123: in test_serializer_when_target_is_file
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:123: in test_serializer_when_target_is_file
    data = CedarMetadataRecordsBaseSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsListSerializer ► test_serializer_when_target_is_node

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:154: in test_serializer_when_target_is_node
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:154: in test_serializer_when_target_is_node
    data = CedarMetadataRecordsCreateSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsListSerializer ► test_serializer_when_target_is_registration

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:182: in test_serializer_when_target_is_registration
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:182: in test_serializer_when_target_is_registration
    data = CedarMetadataRecordsCreateSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsListSerializer ► test_serializer_when_target_is_file

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:210: in test_serializer_when_target_is_file
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:210: in test_serializer_when_target_is_file
    data = CedarMetadataRecordsCreateSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsCreateSerializer ► test_serializer_when_target_is_node

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:241: in test_serializer_when_target_is_node
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:241: in test_serializer_when_target_is_node
    data = CedarMetadataRecordsListSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsCreateSerializer ► test_serializer_when_target_is_registration

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:269: in test_serializer_when_target_is_registration
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:269: in test_serializer_when_target_is_registration
    data = CedarMetadataRecordsListSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsCreateSerializer ► test_serializer_when_target_is_file

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:297: in test_serializer_when_target_is_file
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:297: in test_serializer_when_target_is_file
    data = CedarMetadataRecordsListSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsDetailSerializer ► test_serializer_when_target_is_node

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:328: in test_serializer_when_target_is_node
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:328: in test_serializer_when_target_is_node
    data = CedarMetadataRecordsDetailSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsDetailSerializer ► test_serializer_when_target_is_registration

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:356: in test_serializer_when_target_is_registration
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:356: in test_serializer_when_target_is_registration
    data = CedarMetadataRecordsDetailSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.serializers.test_serializers.TestCedarMetadataRecordsDetailSerializer ► test_serializer_when_target_is_file

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/serializers/test_serializers.py:384: in test_serializer_when_target_is_file
Raw output
api_tests/cedar_metadata_records/serializers/test_serializers.py:384: in test_serializer_when_target_is_file
    data = CedarMetadataRecordsDetailSerializer(cedar_record, context=context).data['data']
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:571: in data
    ret = super().data
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/serializers.py:249: in data
    self._data = self.to_representation(self.instance)
api/base/serializers.py:1551: in to_representation
    representation = field.to_representation(attribute)
api/base/serializers.py:898: in to_representation
    url = self.get_url(value, self.view_name, request, format)
api/base/serializers.py:802: in get_url
    url = drf_reverse(view, kwargs=kwargs, request=request, format=format)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:47: in reverse
    url = _reverse(viewname, args, kwargs, request, format, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/rest_framework/reverse.py:60: in _reverse
    url = django_reverse(viewname, args=args, kwargs=kwargs, **extra)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/base.py:54: in reverse
    app_list = resolver.app_dict[ns]
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:633: in app_dict
    self._populate()
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:543: in _populate
    for url_pattern in reversed(self.url_patterns):
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_with_inactive_template

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:18: in test_record_create_for_node_with_inactive_template
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:18: in test_record_create_for_node_with_inactive_template
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=user.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_conflict

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:27: in test_record_create_for_node_conflict
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:27: in test_record_create_for_node_conflict
    resp = app.post_json('/_/cedar_metadata_records/', payload, auth=user.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_with_admin_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:33: in test_record_create_for_node_with_admin_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:33: in test_record_create_for_node_with_admin_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=admin.auth)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_with_write_contributor_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:56: in test_record_create_for_node_with_write_contributor_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:56: in test_record_create_for_node_with_write_contributor_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=write.auth)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_with_read_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:79: in test_record_create_for_node_with_read_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:79: in test_record_create_for_node_with_read_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=read.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_with_invalid_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:84: in test_record_create_for_node_with_invalid_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:84: in test_record_create_for_node_with_invalid_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=user_alt.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForProjects ► test_record_create_for_node_without_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:89: in test_record_create_for_node_without_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:89: in test_record_create_for_node_without_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_node, auth=None, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_node_with_inactive_template

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:98: in test_record_create_for_node_with_inactive_template
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:98: in test_record_create_for_node_with_inactive_template
    resp = app.post_json('/_/cedar_metadata_records/', payload_registration, auth=user.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_registration_conflict

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:107: in test_record_create_for_registration_conflict
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:107: in test_record_create_for_registration_conflict
    resp = app.post_json('/_/cedar_metadata_records/', payload, auth=user.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_node_with_admin_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:113: in test_record_create_for_node_with_admin_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:113: in test_record_create_for_node_with_admin_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_registration, auth=admin.auth)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_node_with_write_contributor_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:136: in test_record_create_for_node_with_write_contributor_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:136: in test_record_create_for_node_with_write_contributor_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_registration, auth=write.auth)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_node_with_read_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:159: in test_record_create_for_node_with_read_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:159: in test_record_create_for_node_with_read_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_registration, auth=read.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?

Check failure on line 0 in report.xml

See this annotation in the file changed.

@github-actions github-actions / api2 REPORT

pytest ► api_tests.cedar_metadata_records.views.test_record_create_post.TestCedarMetadataRecordCreateForRegistrations ► test_record_create_for_node_with_invalid_auth

Failed test found in:
  report.xml
Error:
  api_tests/cedar_metadata_records/views/test_record_create_post.py:164: in test_record_create_for_node_with_invalid_auth
Raw output
api_tests/cedar_metadata_records/views/test_record_create_post.py:164: in test_record_create_for_node_with_invalid_auth
    resp = app.post_json('/_/cedar_metadata_records/', payload_registration, auth=user_alt.auth, expect_errors=True)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/webtest/utils.py:34: in wrapper
    return 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:181: in _get_response
    callback, callback_args, callback_kwargs = self.resolve_request(request)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/core/handlers/base.py:313: in resolve_request
    resolver_match = resolver.resolve(request.path_info)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:663: in resolve
    for pattern in self.url_patterns:
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:715: in url_patterns
    patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/utils/functional.py:57: in __get__
    res = instance.__dict__[self.name] = self.func(instance)
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/resolvers.py:708: in urlconf_module
    return import_module(self.urlconf_name)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/base/urls.py:27: in <module>
    re_path(r'^meetings/', include('api.meetings.urls', namespace='meetings')),
../../../.cache/pypoetry/virtualenvs/osf-io-ozdFaKNQ-py3.12/lib/python3.12/site-packages/django/urls/conf.py:38: in include
    urlconf_module = import_module(urlconf_module)
/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/importlib/__init__.py:90: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
<frozen importlib._bootstrap>:1387: in _gcd_import
    ???
<frozen importlib._bootstrap>:1360: in _find_and_load
    ???
<frozen importlib._bootstrap>:1331: in _find_and_load_unlocked
    ???
<frozen importlib._bootstrap>:935: in _load_unlocked
    ???
<frozen importlib._bootstrap_external>:995: in exec_module
    ???
<frozen importlib._bootstrap>:488: in _call_with_frames_removed
    ???
api/meetings/urls.py:3: in <module>
    from api.meetings import views
api/meetings/views.py:17: in <module>
    from api.nodes.views import NodeMixin
api/nodes/views.py:121: in <module>
    from api.osf_groups.views import OSFGroupMixin
api/osf_groups/views.py:22: in <module>
    from api.users.views import UserMixin
api/users/views.py:964: in <module>
    class UserMessageView(JSONAPIBaseView, generics.CreateAPIView):
api/users/views.py:975: in UserMessageView
    required_write_scopes = [CoreScopes.USERS_MESSAGE_WRITE]
E   AttributeError: type object 'CoreScopes' has no attribute 'USERS_MESSAGE_WRITE'. Did you mean: 'USERS_MESSAGE_WRITE_EMAIL'?