(BSR) [API] Apply catch_cinema_provider_request_timeout
to cinema API client
#7649
dev_on_pull_request_workflow.yml
on: pull_request
Init job
38s
Tests pro
/
...
/
Style quality check
Tests pro
/
Unit tests
[pcapi-tests] build docker image.
/
Build pcapi-tests:08aeb965d2a66600351708c9c7ba68f744c78180
3m 42s
[pcapi] build docker image.
/
Build pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
2m 21s
[pcapi-console] build docker image.
/
Build pcapi-console:08aeb965d2a66600351708c9c7ba68f744c78180
3m 34s
MyPy cop
/
MyPy cop test
31s
Tests API documentation
/
Check API documentation can be built
[PRO] Deploy PR version for validation
/
deploy_on_firebase
Dependabot
/
dependabot
Matrix: Tests api / Pytest
Tests api
/
Quality checks
2m 40s
Tests api
/
Pylint
3m 42s
Tests api
/
Test database schema
2m 59s
Update api client template
/
Update API Client template
5m 6s
Push pcapi docker image to registry
/
push-docker-image
Push pcapi-console docker image to registry
/
push-docker-image
Annotations
2 errors, 2 warnings, and 3 notices
tests/core/external_bookings/boost/test_client.py.test_should_raise_a_timeout_error:
tests/core/external_bookings/boost/test_client.py#L118
assert {'client': 'BoostClientAPI', 'method': 'get_collection_items', 'cinema_id': 'idProvider1', 'method_params': {'resource': 'ResourceBoost.SHOWTIMES', 'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>", 'per_page': '2', 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}", 'params': "{'paymentMethod': 'external:credit:passculture', 'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}"}} == {'cinema_id': 'idProvider1', 'client': 'BoostClientAPI', 'method': 'get_collection_items', 'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>", 'params': "{'paymentMethod': 'external:credit:passculture', 'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}", 'per_page': '2', 'resource': 'ResourceBoost.SHOWTIMES'}}
Common items:
{'cinema_id': 'idProvider1',
'client': 'BoostClientAPI',
'method': 'get_collection_items'}
Differing items:
{'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>"...': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}", 'per_page': '2', ...}} != {'method_params': {'collection_class': "<class 'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>"...': 1, 'per_page': 2}", 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}", 'per_page': '2', ...}}
Full diff:
{
'cinema_id': 'idProvider1',
'client': 'BoostClientAPI',
'method': 'get_collection_items',
'method_params': {
'collection_class': '<class '
"'pcapi.connectors.serialization.boost_serializers.ShowTimeCollection'>",
'params': "{'paymentMethod': 'external:credit:passculture', "
"'hideFullReservation': 1, 'film': None, 'page': 1, 'per_page': 2}",
- 'pattern_values': "{'dateStart': '2024-11-18', 'dateEnd': '2024-11-28'}",
? ^^ ^ -
+ 'pattern_values': "{'dateStart': '2024-11-22', 'dateEnd': '2024-12-02'}",
? ^^ ^ +
'per_page': '2',
'resource': 'ResourceBoost.SHOWTIMES',
},
}
|
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
❌ Tests reported 1 failures
|
Update api client template / Update API Client template
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests pro E2E / E2E tests and notifications
The following actions use a deprecated Node.js version and will be forced to run on node20: technote-space/workflow-conclusion-action@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:08aeb965d2a66600351708c9c7ba68f744c78180
|
Update api client template / Update API Client template
Running update api client template with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
|
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:08aeb965d2a66600351708c9c7ba68f744c78180
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
pass-culture~pass-culture-main~9DIO84.dockerbuild
|
157 KB |
|
pass-culture~pass-culture-main~TUUCZZ.dockerbuild
|
81.6 KB |
|
pass-culture~pass-culture-main~Y7MNBY.dockerbuild
|
91.4 KB |
|
pcapi-08aeb965d2a66600351708c9c7ba68f744c78180.tar
|
299 MB |
|
pcapi-console-08aeb965d2a66600351708c9c7ba68f744c78180.tar
|
482 MB |
|
pcapi-tests-08aeb965d2a66600351708c9c7ba68f744c78180.tar
|
529 MB |
|