fix: add 422 Error class and status_code to DataCiteError #218
Annotations
10 errors
Run tests:
tests/test_doi_get.py#L128
test_doi_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_doi_post.py#L120
test_doi_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_media_get.py#L100
test_media_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_media_post.py#L107
test_media_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_metadata_delete.py#L96
test_metadata_delete_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_metadata_get.py#L114
test_metadata_get_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_metadata_post.py#L100
test_metadata_post_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
tests/test_rest.py#L323
test_get_doi_500
TypeError: <lambda>() missing 1 required positional argument: 'status_code'
|
Run tests:
datacite/errors.py#L1
pydocstyle-check
/home/runner/work/datacite/datacite/datacite/errors.py:1 at module level:
D100: Missing docstring in public module
/home/runner/work/datacite/datacite/datacite/errors.py:111 in public class `DataCiteErrorFactory`:
D400: First line should end with a period (not 'e')
|
Run tests
Process completed with exit code 1.
|
Loading