osf.io icon indicating copy to clipboard operation
osf.io copied to clipboard

[Django Upgrade] [Reference PR] The rest of the fixes

Open Johnetordoff opened this issue 2 years ago • 0 comments

Purpose

These are the final test changes and misc fixes for the Django upgrade.

Changes

  • fix header changes to the response object.
  • remove unused/broken update_version_metadata tests
  • add DEFAULT_AUTO_FIELD to silience depreciation warnings.
  • change test_node_shows_related_count_for_linked_by_relationships to match new behavior
  • api_tests/nodes/views/test_node_draft_registration_detail.py to use real registration schema
  • fixes provider__reviews_workflow keyword agruement provide subfactory problem with PreprintFactory
  • removes 'view_node', to fix admin tests.
  • turn notification email off for tests.
  • reload referents for cached properties
  • ensure creator auth is passed in RegistrationFactory

QA Notes

Please make verification statements inspired by your code and what your code touches.

  • Verify
  • Verify

What are the areas of risk?

Any concerns/considerations/questions that development raised?

Documentation

Side Effects

Ticket

Johnetordoff avatar Aug 30 '22 23:08 Johnetordoff