private/deposit_checks: Ensure checks is done on filename
If done on the full path, the conditional technically fails the check for the wrong reason. This also adds tests on this case. Refs. swh/infra/sysadm-environment#5129
parent
524918c5
No related branches found
No related tags found
Showing
- swh/deposit/api/private/deposit_check.py 3 additions, 2 deletionsswh/deposit/api/private/deposit_check.py
- swh/deposit/tests/api/test_deposit_private_check.py 39 additions, 3 deletionsswh/deposit/tests/api/test_deposit_private_check.py
- swh/deposit/tests/common.py 20 additions, 10 deletionsswh/deposit/tests/common.py
Loading
Please register or sign in to comment