Skip to content
Snippets Groups Projects

tests: Fix mocking of sleep calls with tenacity 8.4.2

Merged Antoine Lambert requested to merge anlambert/swh-lister:fix-tenacity-sleep-mocks into master

Latest tenacity release adds some internal changes that broke the mocking of sleep calls in tests.

Fix it by directly mocking time.sleep (was not working previously).

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
Please register or sign in to reply
Loading