Skip to content
Snippets Groups Projects

Fix a bunch of deprecation warnings spotted when running tests

Merged Antoine Lambert requested to merge anlambert/swh-storage:deprecation-warning-fixes into master

I took some time to remove the numerous deprecation warnings that were cluttering the pytest output.

This notably removes all the warnings related to comparing a ModelObjectType enum with a string literal.

As a consequence ModelObjectType enums are used as dict keys instead of literal strings.

Edited by Antoine Lambert

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