tests: fix session domain #2434
Annotations
10 errors and 10 warnings
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L391
test_request_expire
KeyError: 'hits'
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L302
test_decline_a_request
assert 403 == 200
+ where 403 = <WrapperTestResponse streamed [403 FORBIDDEN]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L217
test_accept_a_request
assert 403 == 200
+ where 403 = <WrapperTestResponse streamed [403 FORBIDDEN]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L174
test_accept_a_request_no_legacy_records
assert 403 == 200
+ where 403 = <WrapperTestResponse streamed [403 FORBIDDEN]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L150
test_decline_a_request_no_legacy_records
assert 403 == 200
+ where 403 = <WrapperTestResponse streamed [403 FORBIDDEN]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/requests/test_community_manage_record_request.py#L122
test_decline_a_request_no_communities
assert 403 == 200
+ where 403 = <WrapperTestResponse streamed [403 FORBIDDEN]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/legacy/deposits/test_rest_api_simpleflow.py#L412
test_delete_deposits_anonymous
AssertionError: None
assert 204 == 403
+ where 204 = <WrapperTestResponse streamed [204 NO CONTENT]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/legacy/deposits/test_rest_api_simpleflow.py#L299
test_update_deposit_anonymous
assert 200 == 403
+ where 200 = <WrapperTestResponse streamed [200 OK]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/legacy/deposits/test_rest_api_simpleflow.py#L190
test_read_deposit_users
AssertionError: {'conceptrecid': '5', 'created': '2025-03-14T20:13:10.967392+00:00', 'doi': '10.1234/foo.bar', 'doi_url': 'https://doi.org/10.1234/foo.bar', ...}
assert 200 == 403
+ where 200 = <WrapperTestResponse streamed [200 OK]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
site/tests/legacy/deposits/test_rest_api_simpleflow.py#L101
test_simple_rest_flow
AssertionError: [{'checksum': '43abea5031433c2561e8cfa53e8856a6', 'filename': 'test-0', 'filesize': 10.0, 'id': '09fcf781-f2c6-40be-b6...ae36bf0f37ea22dc9fb9ce9a1', 'filename': 'test-2', 'filesize': 10.0, 'id': '590b7df5-9741-4107-88c5-53147639bb23', ...}]
assert 200 == 404
+ where 200 = <WrapperTestResponse 969 bytes [200 OK]>.status_code
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/flask_resources/serializers/base.py#L55
The `context` parameter is deprecated and will be removed in marshmallow 4.0. Use `contextvars.ContextVar` to pass context instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_communities/communities/resources/ui_schema.py#L16
Implicit imports (e.g., 'import idutils; idutils.function;') might be removed in the next major version. Please use explicit imports (e.g., 'from idutils import function;') instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/invenio_requests/services/schemas.py#L42
The 'default' argument to fields is deprecated. Use 'dump_default' instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L1218
The 'default' argument to fields is deprecated. Use 'dump_default' instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow/fields.py#L582
The 'default' argument to fields is deprecated. Use 'dump_default' instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/pkg_resources/__init__.py#L2559
Deprecated call to `pkg_resources.declare_namespace('fs')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/fs/opener/__init__.py#L6
Deprecated call to `pkg_resources.declare_namespace('fs.opener')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/fs/__init__.py#L4
Deprecated call to `pkg_resources.declare_namespace('fs')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
|
Python (site, 3.9, postgresql14, opensearch2):
/opt/hostedtoolcache/Python/3.9.21/x64/lib/python3.9/site-packages/marshmallow_utils/fields/generated.py#L12
The '__version_info__' attribute is deprecated and will be removed in in a future version. Use feature detection or 'packaging.Version(importlib.metadata.version("marshmallow")).release' instead.
|