Skip to content
Snippets Groups Projects

auth.pytest_plugin: Adjust error type according to reality

Prior to this commit, this raised a basic error message instead of a json dict bytes encoded [1]

This commit fixes it.

The reality of tests trying to fix the deposit authentication handling which is awkward for now.

Related to swh-deposit#2858 (closed) Related to swh-deposit!226 (closed)

  • [1] Related to swh/meta$978

Test Plan

tox


Migrated from D5304 (view on Phabricator)

Merge request reports

Approved by
Ready to merge by members who can write to the target branch.

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