Skip to content
Snippets Groups Projects

swh_model_data: Use ModelObjectType enum values as TEST_OBJECTS keys

Instead of using plain ModelObjectType enums as TEST_OBJECT keys, prefer to use their string values.

It allows to remove a lof of deprecation warnings related to comparing ModelObjectType enum with a string literal when running tests of other swh packages like swh-storage.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading