Skip to content

(PC-31944)[PRO] fix: new step to migrate e2e tests #4749

(PC-31944)[PRO] fix: new step to migrate e2e tests

(PC-31944)[PRO] fix: new step to migrate e2e tests #4749

Triggered via pull request September 19, 2024 12:35
Status Failure
Total duration 17m 21s
Artifacts 6
Tests pro  /  ...  /  Style quality check
1m 46s
Tests pro / Type check / Quality check / Style quality check
Tests pro  /  Unit tests
8m 17s
Tests pro / Unit tests
[pcapi-tests] build docker image.  /  Build pcapi-tests:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
3m 52s
[pcapi-tests] build docker image. / Build pcapi-tests:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
[pcapi] build docker image.  /  Build pcapi:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
2m 21s
[pcapi] build docker image. / Build pcapi:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
[pcapi-console] build docker image.  /  Build pcapi-console:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
3m 30s
[pcapi-console] build docker image. / Build pcapi-console:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
MyPy cop  /  MyPy cop test
35s
MyPy cop / MyPy cop test
Tests API documentation  /  Check API documentation can be built
Tests API documentation / Check API documentation can be built
[PRO] Deploy PR version for validation  /  deploy_on_firebase
1m 31s
[PRO] Deploy PR version for validation / deploy_on_firebase
Dependabot  /  dependabot
Dependabot / dependabot
Matrix: Tests api / Pytest
Tests api  /  Quality checks
3m 36s
Tests api / Quality checks
Tests api  /  Pylint
5m 42s
Tests api / Pylint
Tests api  /  Test database schema
3m 8s
Tests api / Test database schema
Tests pro E2E  /  E2E tests and notifications
12m 23s
Tests pro E2E / E2E tests and notifications
Update api client template  /  Update API Client template
2m 11s
Update api client template / Update API Client template
Tests pro E2E migrations  /  E2E tests and notifications
3m 30s
Tests pro E2E migrations / E2E tests and notifications
Push pcapi docker image to registry  /  push-docker-image
Push pcapi docker image to registry / push-docker-image
Push pcapi-console docker image to registry  /  push-docker-image
Push pcapi-console docker image to registry / push-docker-image
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 67 warnings, and 5 notices
tests/routes/pro/get_offer_test.py.test_returns_an_event_stock: tests/routes/pro/get_offer_test.py#L119
AssertionError: assert {'audioDisabilityCompliant': False, 'mentalDisabilityCompliant': True, 'motorDisabilityCompliant': False, 'visualDisabilityCompliant': False, 'activeMediation': None, 'bookingContact': None, 'bookingsCount': 0, 'bookingEmail': '[email protected]', 'dateCreated': '2020-10-15T00:00:00Z', 'publicationDate': None, 'description': 'Tatort, but slower', 'durationMinutes': 60, 'extraData': None, 'hasBookingLimitDatetimesPassed': False, 'hasStocks': True, 'isActive': True, 'isActivable': True, 'isDigital': False, 'isDuo': False, 'isEditable': True, 'isEvent': True, 'isNational': False, 'isThing': False, 'id': 248, 'lastProvider': None, 'name': 'Derrick', 'priceCategories': [{'price': 10.1, 'label': 'Au pied du mur', 'id': 102}], 'subcategoryId': 'SEANCE_CINE', 'productId': None, 'thumbUrl': None, 'externalTicketOfficeUrl': 'http://example.net', 'url': None, 'venue': {'audioDisabilityCompliant': False, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'visualDisabilityCompliant': False, 'street': '1 boulevard Poissonnière', 'bookingEmail': '[email protected]', 'city': 'Paris', 'departementCode': '75', 'id': 710, 'isVirtual': False, 'managingOfferer': {'id': 737, 'name': 'Test Offerer', 'allowedOnAdage': True}, 'name': 'La petite librairie', 'postalCode': '75000', 'publicName': 'La petite librairie'}, 'withdrawalDelay': 1800, 'withdrawalDetails': 'Veuillez chercher votre billet au guichet', 'withdrawalType': 'on_site', 'status': 'ACTIVE', 'isNonFreeOffer': None, 'address': {'id': 422, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': 'La petite librairie', 'id_oa': 672, 'isEditable': False, 'isManualEdition': False}, 'hasPendingBookings': False} == {'activeMediation': None, 'bookingContact': None, 'bookingsCount': 0, 'bookingEmail': '[email protected]', 'dateCreated': '2020-10-15T00:00:00Z', 'productId': None, 'publicationDate': None, 'description': 'Tatort, but slower', 'durationMinutes': 60, 'extraData': None, 'externalTicketOfficeUrl': 'http://example.net', 'hasBookingLimitDatetimesPassed': False, 'hasPendingBookings': False, 'hasStocks': True, 'isActive': True, 'isActivable': True, 'audioDisabilityCompliant': False, 'mentalDisabilityCompliant': True, 'motorDisabilityCompliant': False, 'visualDisabilityCompliant': False, 'isDigital': False, 'isDuo': False, 'isEditable': True, 'isEvent': True, 'isNational': False, 'isThing': False, 'lastProvider': None, 'name': 'Derrick', 'id': 248, 'status': 'ACTIVE', 'isNonFreeOffer': None, 'priceCategories': [{'label': 'Au pied du mur', 'price': 10.1, 'id': 102}], 'subcategoryId': 'SEANCE_CINE', 'thumbUrl': None, 'url': None, 'address': {'label': 'La petite librairie', 'id': 422, 'id_oa': 672, 'banId': '75102_7560_00001', 'departmentCode': '75', 'inseeCode': '75102', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière', 'isEditable': False, 'isManualEdition': False}, 'venue': {'street': '1 boulevard Poissonnière', 'audioDisabilityCompliant': False, 'bookingEmail': '[email protected]', 'city': 'Paris', 'departementCode': '75', 'id': 710, 'isVirtual': False, 'managingOfferer': {'id': 737, 'name': 'Test Offerer', 'allowedOnAdage': True}, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': 'La petite librairie', 'postalCode': '75000', 'publicName': 'La petite librairie', 'visualDisabilityCompliant': False}, 'withdrawalDetails': 'Veuillez chercher votre billet au guichet', 'withdrawalType': 'on_site', 'withdrawalDelay': 1800} Common items: {'activeMediation': None, 'audioDisabilityCompliant': False, 'bookingContact': None, 'bookingEmail': '[email protected]', 'bookingsCount': 0, 'dateCreated': '2020-10-15T00:00:00Z', 'description': 'Tatort, but slower', 'durationMinutes': 60, 'externalTicketOfficeUrl': 'http://example.net', 'extraData': None, 'hasBookingLimitDatetimesPassed': False, 'hasPendingBookings': False, 'hasStocks': True, 'id': 248, 'isActivable': True, 'isActive': True, 'isDigital': False, 'isDuo': False, 'isEditable': True, 'isEvent': True, 'isNational': False, 'isNonFreeOffer': None, 'isThing': False, 'lastProvider': None, 'mentalDisabilityCompliant': True, 'motorDisabilityCompliant': False, 'name': 'Derrick', 'priceCategories': [{'id': 102, 'label': 'Au pied du mur', 'price': 10.1}], 'productId': None, 'publicationDate': None, 'status': 'ACTIVE', 'subcategoryId': 'SEANCE_CINE', 'thumbUrl': None, 'url': None, 'venue': {'audioDisabilityCompliant': False, 'bookingEmail': '[email protected]', 'city': 'Paris', 'departementCode': '75', 'id': 710, 'isVirtual': False, 'managingOfferer': {'allowedOnAdage': True, 'id': 737, 'name': 'Test Offerer'}, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': 'La petite librairie', 'postalCode': '75000', 'publicName': 'La petite librairie', 'street': '1 boulevard Poissonnière', 'visualDisabilityCompliant': False}, 'visualDisabilityCompliant': False, 'withdrawalDelay': 1800, 'withdrawalDetails': 'Veuillez chercher votre billet au guichet', 'withdrawalType': 'on_site'} Differing items: {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': None, 'id': 422, ...}} != {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 422, ...}} Full diff: { 'activeMediation': None, 'address': { 'banId': '75102_7560_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 422, 'id_oa': 672, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'La petite librairie', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière', }, 'audioDisabilityCompliant': False, 'bookingContact': None, 'bookingEmail': '[email protected]', 'bookingsCount': 0, 'dateCreated': '2020-10-15T00:00:00Z', 'description': 'Tatort, but slower', 'durationMinutes': 60, 'externalTicketOfficeUrl': 'http://example.net', 'extraData': None, 'hasBookingLimitDatetimesPassed': False, 'hasPendingBookings': False, 'hasStocks': True, 'id': 248, 'isActivable': True, 'isActive': True, 'isDigital': False, 'isDuo': False, 'isEditable': True, 'isEvent': True, 'isNational': False, 'isNonFreeOffer': None, 'isThing': False, 'lastProvider': None, 'mentalDisabilityCompliant': True, 'motorDisabilityCompliant': False, 'name': 'Derrick', 'priceCategories': [ { 'id': 102, 'label': 'Au pied du mur', 'price': 10.1, }, ], 'productId': None, 'publicationDate': None, 'status': 'ACTIVE', 'subcategoryId': 'SEANCE_CINE', 'thumbUrl': None, 'url': None, 'venue': { 'audioDisabilityCompliant': False, 'bookingEmail': '[email protected]', 'city': 'Paris', 'departementCode': '75', 'id': 710, 'isVirtual': False, 'managingOfferer': { 'allowedOnAdage': True, 'id': 737, 'name': 'Test Offerer', }, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': 'La petite librairie', 'postalCode': '75000', 'publicName': 'La petite librairie', 'street': '1 boulevard Poissonnière', 'visualDisabilityCompliant': False, }, 'visualDisabilityCompliant': False, 'withdrawalDelay': 1800, 'withdrawalDetails': 'Veuillez chercher votre billet au guichet', 'withdrawalType': 'on_site', }
tests/routes/pro/get_offer_test.py.test_return_offer_offerer_address: tests/routes/pro/get_offer_test.py#L308
AssertionError: assert {'id': 428, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75002', 'street': '1698 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Address label 698', 'id_oa': 678, 'isEditable': True, 'isManualEdition': False} == {'label': 'Address label 698', 'id': 428, 'id_oa': 678, 'banId': '75102_7560_00001', 'departmentCode': '75', 'inseeCode': '75102', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1698 boulevard Poissonnière', 'isEditable': True, 'isManualEdition': False} Common items: {'banId': '75102_7560_00001', 'city': 'Paris', 'id': 428, 'id_oa': 678, 'inseeCode': '75102', 'isEditable': True, 'isManualEdition': False, 'label': 'Address label 698', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1698 boulevard Poissonnière'} Differing items: {'departmentCode': None} != {'departmentCode': '75'} Full diff: { 'banId': '75102_7560_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 428, 'id_oa': 678, 'inseeCode': '75102', 'isEditable': True, 'isManualEdition': False, 'label': 'Address label 698', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1698 boulevard Poissonnière', }
tests/routes/pro/get_offer_test.py.test_return_venue_offerer_address: tests/routes/pro/get_offer_test.py#L342
AssertionError: assert {'id': 429, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75002', 'street': '1699 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Address label 699', 'id_oa': 679, 'isEditable': False, 'isManualEdition': False} == {'label': 'Address label 699', 'id': 429, 'id_oa': 679, 'banId': '75102_7560_00001', 'departmentCode': '75', 'inseeCode': '75102', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1699 boulevard Poissonnière', 'isEditable': False, 'isManualEdition': False} Common items: {'banId': '75102_7560_00001', 'city': 'Paris', 'id': 429, 'id_oa': 679, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'Address label 699', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1699 boulevard Poissonnière'} Differing items: {'departmentCode': None} != {'departmentCode': '75'} Full diff: { 'banId': '75102_7560_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 429, 'id_oa': 679, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'Address label 699', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '1699 boulevard Poissonnière', }
tests/routes/pro/get_offers_test.py.should_filter_by_venue_when_user_is_admin_and_request_specific_venue_with_no_rights_on_it: tests/routes/pro/get_offers_test.py#L21
AssertionError: assert [{'hasBookingLimitDatetimesPassed': False, 'id': 290, 'isActive': True, 'isEditable': True, 'isEvent': False, 'isThing': True, 'isEducational': False, 'name': 'My Offer', 'stocks': [{'id': 242, 'hasBookingLimitDatetimePassed': False, 'remainingQuantity': 1000, 'beginningDatetime': None, 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': '123456789', 'subcategoryId': 'SUPPORT_PHYSIQUE_FILM', 'venue': {'id': 793, 'isVirtual': False, 'name': 'My Venue', 'offererName': 'My Offerer', 'publicName': 'My public name', 'departementCode': '12'}, 'status': 'ACTIVE', 'isShowcase': False, 'address': {'id': 467, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '12000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': 'My public name', 'id_oa': 722, 'isEditable': False, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': False, 'id': 290, 'isActive': True, 'isEditable': True, 'isEvent': False, 'isThing': True, 'isEducational': False, 'productIsbn': '123456789', 'name': 'My Offer', 'status': 'ACTIVE', 'stocks': [{'hasBookingLimitDatetimePassed': False, 'id': 242, 'remainingQuantity': 1000, 'beginningDatetime': None, 'bookingQuantity': 0}], 'thumbUrl': None, 'subcategoryId': 'SUPPORT_PHYSIQUE_FILM', 'venue': {'departementCode': '12', 'id': 793, 'isVirtual': False, 'name': 'My Venue', 'offererName': 'My Offerer', 'publicName': 'My public name'}, 'isShowcase': False, 'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 467, 'id_oa': 722, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'My public name', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '12000', 'street': '1 boulevard Poissonnière'}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': False, 'id': 290, 'isActive': True, 'isEditable': True, 'isEvent': False, 'isThing': True, 'isEducational': False, 'name': 'My Offer', 'stocks': [{'id': 242, 'hasBookingLimitDatetimePassed': False, 'remainingQuantity': 1000, 'beginningDatetime': None, 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': '123456789', 'subcategoryId': 'SUPPORT_PHYSIQUE_FILM', 'venue': {'id': 793, 'isVirtual': False, 'name': 'My Venue', 'offererName': 'My Offerer', 'publicName': 'My public name', 'departementCode': '12'}, 'status': 'ACTIVE', 'isShowcase': False, 'address': {'id': 467, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '12000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': 'My public name', 'id_oa': 722, 'isEditable': False, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': False, 'id': 290, 'isActive': True, 'isEditable': True, 'isEvent': False, 'isThing': True, 'isEducational': False, 'productIsbn': '123456789', 'name': 'My Offer', 'status': 'ACTIVE', 'stocks': [{'hasBookingLimitDatetimePassed': False, 'id': 242, 'remainingQuantity': 1000, 'beginningDatetime': None, 'bookingQuantity': 0}], 'thumbUrl': None, 'subcategoryId': 'SUPPORT_PHYSIQUE_FILM', 'venue': {'departementCode': '12', 'id': 793, 'isVirtual': False, 'name': 'My Venue', 'offererName': 'My Offerer', 'publicName': 'My public name'}, 'isShowcase': False, 'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 467, 'id_oa': 722, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'My public name', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '12000', 'street': '1 boulevard Poissonnière'}} Full diff: [ { 'address': { 'banId': '75102_7560_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 467, 'id_oa': 722, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'My public name', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '12000', 'street': '1 boulevard Poissonnière', }, 'hasBookingLimitDatetimesPassed': False, 'id': 290, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': False, 'isShowcase': False, 'isThing': True, 'name': 'My Offer', 'productIsbn': '123456789', 'status': 'ACTIVE', 'stocks': [ { 'beginningDatetime': None, 'bookingQuantity': 0, 'hasBookingLimitDatetimePassed': False, 'id': 242, 'remainingQuantity': 1000, }, ], 'subcategoryId': 'SUPPORT_PHYSIQUE_FILM', 'thumbUrl': None, 'venue': { 'departementCode': '12', 'id': 793, 'isVirtual': False, 'name': 'My Venue', 'offererName': 'My Offerer', 'publicName': 'My public name', }, }, ]
tests/routes/pro/get_offers_test.py.should_return_event_correctly_serialized: tests/routes/pro/get_offers_test.py#L358
AssertionError: assert [{'hasBookingLimitDatetimesPassed': True, 'id': 298, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 297', 'stocks': [{'id': 247, 'hasBookingLimitDatetimePassed': True, 'remainingQuantity': 1000, 'beginningDatetime': '2022-09-21T13:19:00Z', 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 803, 'isVirtual': False, 'name': 'Le Petit Rintintin 802', 'offererName': 'Le Petit Rintintin Management 850', 'publicName': 'Le Petit Rintintin 802', 'departementCode': '75'}, 'status': 'EXPIRED', 'isShowcase': False, 'address': {'id': 480, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 735, 'isEditable': True, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': True, 'id': 298, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 297', 'stocks': [{'id': 247, 'hasBookingLimitDatetimePassed': True, 'remainingQuantity': 1000, 'beginningDatetime': '2022-09-21T13:19:00Z', 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 803, 'isVirtual': False, 'name': 'Le Petit Rintintin 802', 'offererName': 'Le Petit Rintintin Management 850', 'publicName': 'Le Petit Rintintin 802', 'departementCode': '75'}, 'status': 'EXPIRED', 'isShowcase': False, 'address': {'banId': '75112_0877_00008', 'city': 'Paris', 'departmentCode': '75', 'id': 480, 'id_oa': 735, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy'}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': True, 'id': 298, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 297', 'stocks': [{'id': 247, 'hasBookingLimitDatetimePassed': True, 'remainingQuantity': 1000, 'beginningDatetime': '2022-09-21T13:19:00Z', 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 803, 'isVirtual': False, 'name': 'Le Petit Rintintin 802', 'offererName': 'Le Petit Rintintin Management 850', 'publicName': 'Le Petit Rintintin 802', 'departementCode': '75'}, 'status': 'EXPIRED', 'isShowcase': False, 'address': {'id': 480, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 735, 'isEditable': True, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': True, 'id': 298, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 297', 'stocks': [{'id': 247, 'hasBookingLimitDatetimePassed': True, 'remainingQuantity': 1000, 'beginningDatetime': '2022-09-21T13:19:00Z', 'bookingQuantity': 0}], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 803, 'isVirtual': False, 'name': 'Le Petit Rintintin 802', 'offererName': 'Le Petit Rintintin Management 850', 'publicName': 'Le Petit Rintintin 802', 'departementCode': '75'}, 'status': 'EXPIRED', 'isShowcase': False, 'address': {'banId': '75112_0877_00008', 'city': 'Paris', 'departmentCode': '75', 'id': 480, 'id_oa': 735, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy'}} Full diff: [ { 'address': { 'banId': '75112_0877_00008', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 480, 'id_oa': 735, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy', }, 'hasBookingLimitDatetimesPassed': True, 'id': 298, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'Offer 297', 'productIsbn': None, 'status': 'EXPIRED', 'stocks': [ { 'beginningDatetime': '2022-09-21T13:19:00Z', 'bookingQuantity': 0, 'hasBookingLimitDatetimePassed': True, 'id': 247, 'remainingQuantity': 1000, }, ], 'subcategoryId': 'SEANCE_CINE', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 803, 'isVirtual': False, 'name': 'Le Petit Rintintin 802', 'offererName': 'Le Petit Rintintin Management 850', 'publicName': 'Le Petit Rintintin 802', }, }, ]
tests/routes/pro/get_offers_test.py.should_not_return_soft_deleted_stocks: tests/routes/pro/get_offers_test.py#L429
AssertionError: assert [{'hasBookingLimitDatetimesPassed': False, 'id': 299, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 298', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 804, 'isVirtual': False, 'name': 'Le Petit Rintintin 803', 'offererName': 'Le Petit Rintintin Management 851', 'publicName': 'Le Petit Rintintin 803', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 481, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': 'Le Petit Rintintin 803', 'id_oa': 736, 'isEditable': False, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': False, 'id': 299, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 298', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 804, 'isVirtual': False, 'name': 'Le Petit Rintintin 803', 'offererName': 'Le Petit Rintintin Management 851', 'publicName': 'Le Petit Rintintin 803', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 481, 'id_oa': 736, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'Le Petit Rintintin 803', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière'}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': False, 'id': 299, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 298', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 804, 'isVirtual': False, 'name': 'Le Petit Rintintin 803', 'offererName': 'Le Petit Rintintin Management 851', 'publicName': 'Le Petit Rintintin 803', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 481, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': 'Le Petit Rintintin 803', 'id_oa': 736, 'isEditable': False, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': False, 'id': 299, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Offer 298', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'SEANCE_CINE', 'venue': {'id': 804, 'isVirtual': False, 'name': 'Le Petit Rintintin 803', 'offererName': 'Le Petit Rintintin Management 851', 'publicName': 'Le Petit Rintintin 803', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 481, 'id_oa': 736, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'Le Petit Rintintin 803', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière'}} Full diff: [ { 'address': { 'banId': '75102_7560_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 481, 'id_oa': 736, 'inseeCode': '75102', 'isEditable': False, 'isManualEdition': False, 'label': 'Le Petit Rintintin 803', 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière', }, 'hasBookingLimitDatetimesPassed': False, 'id': 299, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'Offer 298', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'SEANCE_CINE', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 804, 'isVirtual': False, 'name': 'Le Petit Rintintin 803', 'offererName': 'Le Petit Rintintin Management 851', 'publicName': 'Le Petit Rintintin 803', }, }, ]
tests/routes/pro/get_offers_test.py.should_return_offers_filtered_by_offerer_address: tests/routes/pro/get_offers_test.py#L490
AssertionError: assert [{'hasBookingLimitDatetimesPassed': False, 'id': 301, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Taylor Swift', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 483, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 738, 'isEditable': True, 'isManualEdition': False}}, {'hasBookingLimitDatetimesPassed': False, 'id': 300, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 483, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 738, 'isEditable': True, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': False, 'id': 301, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'Taylor Swift', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'address': {'id': 483, 'id_oa': 738, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'label': 'Accor Arena', 'street': '8 Boulevard de Bercy', 'postalCode': '75002', 'city': 'Paris', 'departmentCode': '75', 'isEditable': True, 'isManualEdition': False, 'latitude': 48.87055, 'longitude': 2.34765}}, {'hasBookingLimitDatetimesPassed': False, 'id': 300, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'The Weeknd', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'address': {'id': 483, 'id_oa': 738, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'label': 'Accor Arena', 'street': '8 Boulevard de Bercy', 'postalCode': '75002', 'city': 'Paris', 'departmentCode': '75', 'isEditable': True, 'isManualEdition': False, 'latitude': 48.87055, 'longitude': 2.34765}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': False, 'id': 301, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'Taylor Swift', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 483, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 738, 'isEditable': True, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': False, 'id': 301, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'Taylor Swift', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': {'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', 'departementCode': '75'}, 'address': {'id': 483, 'id_oa': 738, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'label': 'Accor Arena', 'street': '8 Boulevard de Bercy', 'postalCode': '75002', 'city': 'Paris', 'departmentCode': '75', 'isEditable': True, 'isManualEdition': False, 'latitude': 48.87055, 'longitude': 2.34765}} Full diff: [ { 'address': { 'banId': '75112_0877_00008', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 483, 'id_oa': 738, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy', }, 'hasBookingLimitDatetimesPassed': False, 'id': 301, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'Taylor Swift', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', }, }, { 'address': { 'banId': '75112_0877_00008', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 483, 'id_oa': 738, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy', }, 'hasBookingLimitDatetimesPassed': False, 'id': 300, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'The Weeknd', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 805, 'isVirtual': False, 'name': 'Le Petit Rintintin 804', 'offererName': 'Le Petit Rintintin Management 852', 'publicName': 'Le Petit Rintintin 804', }, }, ]
tests/routes/pro/get_offers_test.py.should_return_offer_with_address_of_oa: tests/routes/pro/get_offers_test.py#L611
AssertionError: assert [{'hasBookingLimitDatetimesPassed': False, 'id': 303, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 806, 'isVirtual': False, 'name': 'Le Petit Rintintin 805', 'offererName': 'Le Petit Rintintin Management 853', 'publicName': 'Le Petit Rintintin 805', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 486, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 741, 'isEditable': True, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': False, 'id': 303, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 806, 'isVirtual': False, 'name': 'Le Petit Rintintin 805', 'offererName': 'Le Petit Rintintin Management 853', 'publicName': 'Le Petit Rintintin 805', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 486, 'id_oa': 741, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'label': 'Accor Arena', 'street': '8 Boulevard de Bercy', 'postalCode': '75002', 'city': 'Paris', 'departmentCode': '75', 'isEditable': True, 'isManualEdition': False, 'latitude': 48.87055, 'longitude': 2.34765}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': False, 'id': 303, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 806, 'isVirtual': False, 'name': 'Le Petit Rintintin 805', 'offererName': 'Le Petit Rintintin Management 853', 'publicName': 'Le Petit Rintintin 805', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 486, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'postalCode': '75002', 'street': '8 Boulevard de Bercy', 'city': 'Paris', 'latitude': 48.87055, 'longitude': 2.34765, 'departmentCode': None, 'label': 'Accor Arena', 'id_oa': 741, 'isEditable': True, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': False, 'id': 303, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 806, 'isVirtual': False, 'name': 'Le Petit Rintintin 805', 'offererName': 'Le Petit Rintintin Management 853', 'publicName': 'Le Petit Rintintin 805', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 486, 'id_oa': 741, 'banId': '75112_0877_00008', 'inseeCode': '75112', 'label': 'Accor Arena', 'street': '8 Boulevard de Bercy', 'postalCode': '75002', 'city': 'Paris', 'departmentCode': '75', 'isEditable': True, 'isManualEdition': False, 'latitude': 48.87055, 'longitude': 2.34765}} Full diff: [ { 'address': { 'banId': '75112_0877_00008', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 486, 'id_oa': 741, 'inseeCode': '75112', 'isEditable': True, 'isManualEdition': False, 'label': 'Accor Arena', 'latitude': 48.87055, 'longitude': 2.34765, 'postalCode': '75002', 'street': '8 Boulevard de Bercy', }, 'hasBookingLimitDatetimesPassed': False, 'id': 303, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'The Weeknd', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 806, 'isVirtual': False, 'name': 'Le Petit Rintintin 805', 'offererName': 'Le Petit Rintintin Management 853', 'publicName': 'Le Petit Rintintin 805', }, }, ]
tests/routes/pro/get_offers_test.py.should_return_offer_with_address_of_venue: tests/routes/pro/get_offers_test.py#L675
AssertionError: assert [{'hasBookingLimitDatetimesPassed': False, 'id': 304, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 807, 'isVirtual': False, 'name': 'Best Place to be', 'offererName': 'Le Petit Rintintin Management 854', 'publicName': 'Best Place to be', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 487, 'banId': '75112_0877_00001', 'inseeCode': '75112', 'postalCode': '75001', 'street': '4 Boulevard de Bercy', 'city': 'Paris', 'latitude': 4.34765, 'longitude': 1.34765, 'departmentCode': None, 'label': 'Best Place to be', 'id_oa': 742, 'isEditable': False, 'isManualEdition': False}}] == [{'hasBookingLimitDatetimesPassed': False, 'id': 304, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 807, 'isVirtual': False, 'name': 'Best Place to be', 'offererName': 'Le Petit Rintintin Management 854', 'publicName': 'Best Place to be', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 487, 'id_oa': 742, 'banId': '75112_0877_00001', 'inseeCode': '75112', 'label': 'Best Place to be', 'street': '4 Boulevard de Bercy', 'postalCode': '75001', 'city': 'Paris', 'departmentCode': '75', 'isEditable': False, 'isManualEdition': False, 'latitude': 4.34765, 'longitude': 1.34765}}] At index 0 diff: {'hasBookingLimitDatetimesPassed': False, 'id': 304, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 807, 'isVirtual': False, 'name': 'Best Place to be', 'offererName': 'Le Petit Rintintin Management 854', 'publicName': 'Best Place to be', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 487, 'banId': '75112_0877_00001', 'inseeCode': '75112', 'postalCode': '75001', 'street': '4 Boulevard de Bercy', 'city': 'Paris', 'latitude': 4.34765, 'longitude': 1.34765, 'departmentCode': None, 'label': 'Best Place to be', 'id_oa': 742, 'isEditable': False, 'isManualEdition': False}} != {'hasBookingLimitDatetimesPassed': False, 'id': 304, 'isActive': True, 'isEditable': True, 'isEvent': True, 'isThing': False, 'isEducational': False, 'name': 'The Weeknd', 'stocks': [], 'thumbUrl': None, 'productIsbn': None, 'subcategoryId': 'CONCERT', 'venue': {'id': 807, 'isVirtual': False, 'name': 'Best Place to be', 'offererName': 'Le Petit Rintintin Management 854', 'publicName': 'Best Place to be', 'departementCode': '75'}, 'status': 'SOLD_OUT', 'isShowcase': False, 'address': {'id': 487, 'id_oa': 742, 'banId': '75112_0877_00001', 'inseeCode': '75112', 'label': 'Best Place to be', 'street': '4 Boulevard de Bercy', 'postalCode': '75001', 'city': 'Paris', 'departmentCode': '75', 'isEditable': False, 'isManualEdition': False, 'latitude': 4.34765, 'longitude': 1.34765}} Full diff: [ { 'address': { 'banId': '75112_0877_00001', 'city': 'Paris', - 'departmentCode': '75', ? ^^^^ + 'departmentCode': None, ? ^^^^ 'id': 487, 'id_oa': 742, 'inseeCode': '75112', 'isEditable': False, 'isManualEdition': False, 'label': 'Best Place to be', 'latitude': 4.34765, 'longitude': 1.34765, 'postalCode': '75001', 'street': '4 Boulevard de Bercy', }, 'hasBookingLimitDatetimesPassed': False, 'id': 304, 'isActive': True, 'isEditable': True, 'isEducational': False, 'isEvent': True, 'isShowcase': False, 'isThing': False, 'name': 'The Weeknd', 'productIsbn': None, 'status': 'SOLD_OUT', 'stocks': [], 'subcategoryId': 'CONCERT', 'thumbUrl': None, 'venue': { 'departementCode': '75', 'id': 807, 'isVirtual': False, 'name': 'Best Place to be', 'offererName': 'Le Petit Rintintin Management 854', 'publicName': 'Best Place to be', }, }, ]
tests/routes/pro/get_venue_test.py.when_user_has_rights_on_managing_offerer: tests/routes/pro/get_venue_test.py#L20
assert {'audioDisabilityCompliant': False, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'visualDisabilityCompliant': False, 'isVirtual': False, 'name': "L'encre et la plume", 'street': '1 boulevard Poissonnière', 'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png', 'contact': {'email': '[email protected]', 'website': 'https://my.website.com', 'phoneNumber': '+33102030405', 'socialMedias': {'instagram': 'http://instagram.com/@venue'}}, 'city': 'Paris', 'description': 'Support they everything black tough instead.', 'externalAccessibilityData': {'isAccessibleMotorDisability': True, 'isAccessibleAudioDisability': True, 'isAccessibleVisualDisability': True, 'isAccessibleMentalDisability': False, 'motorDisability': {'facilities': 'Sanitaire non adapté', 'exterior': 'Chemin rendu accessible (ascenseur)', 'entrance': "Accès à l'entrée par ascenseur", 'parking': 'Stationnement adapté à proximité'}, 'audioDisability': {'deafAndHardOfHearing': ['boucle à induction magnétique portative', 'sous-titrage ou transcription simultanée']}, 'visualDisability': {'soundBeacon': 'Non renseigné', 'audioDescription': ['avec équipement occasionnel selon la programmation', "avec équipement permanent nécessitant le téléchargement d'une application sur smartphone"]}, 'mentalDisability': {'trainedPersonnel': 'Personnel non formé'}}, 'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/', 'externalAccessibilityId': 'accessibility-slug', 'isPermanent': True, 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'publicName': "L'encre et la plume", 'openingHours': {'MONDAY': [{'open': '14:00', 'close': '19:30'}], 'TUESDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'WEDNESDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'THURSDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'FRIDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'SATURDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'SUNDAY': None}, 'withdrawalDetails': None, 'dateCreated': '2024-09-19T12:45:12.702984Z', 'id': 888, 'bannerMeta': {'image_credit': None, 'original_image_url': None, 'crop_params': {'x_crop_percent': 0.0, 'y_crop_percent': 0.0, 'height_crop_percent': 1.0, 'width_crop_percent': 1.0}}, 'banId': '75102_7560_00001', 'bookingEmail': '[email protected]', 'comment': None, 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'dmsToken': 'PRO-3427c61606e9', 'managingOfferer': {'city': 'Paris', 'dateCreated': '2024-09-19T12:45:12.677958Z', 'demarchesSimplifieesApplicationId': None, 'id': 939, 'isValidated': True, 'name': 'Le Petit Rintintin Management 938', 'postalCode': '75000', 'siren': '000009399', 'street': '1 boulevard Poissonnière', 'allowedOnAdage': True}, 'pricingPoint': {'id': 890, 'siret': '00000939908893', 'venueName': 'Le Repos du Comptable'}, 'reimbursementPointId': 892, 'siret': '00000939908877', 'timezone': 'Europe/Paris', 'venueLabelId': None, 'venueTypeCode': 'PERFORMING_ARTS', 'collectiveDescription': 'Description du lieu', 'collectiveStudents': [], 'collectiveWebsite': None, 'collectiveDomains': [], 'collectiveInterventionArea': ['75', '92'], 'collectiveLegalStatus': None, 'collectiveNetwork': None, 'collectiveAccessInformation': None, 'collectivePhone': None, 'collectiveEmail': None, 'collectiveSubCategoryId': None, 'collectiveDmsApplications': [{'venueId': 888, 'state': 'en_construction', 'procedure': 1, 'application': 1, 'lastChangeDate': '2024-09-19T11:42:46.229618Z', 'depositDate': '2024-09-09T12:42:46.229623Z', 'expirationDate': '2025-09-19T12:42:46.229624Z', 'buildDate': '2024-09-19T11:42:46.229618Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T12:45:12.698754Z', 'bankAccount': {'id': 200070, 'isActive': True, 'label': 'Libellé des coordonnées bancaires n°70', 'obfuscatedIban': 'XXXX XXXX XXXX 7039', 'bic': 'BDFEFRPP', 'dsApplicationId': 70, 'status': 'accepte', 'dateCreated': '2024-09-19T12:45:12.665101Z', 'dateLastStatusUpdate': None, 'linkedVenues': [{'id': 888, 'commonName': "L'encre et la plume"}]}, 'isVisibleInApp': True, 'hasOffers': False, 'address': {'id': 537, 'banId': '75102_7560_00001', 'inseeCode': '75102', 'postalCode': '75000', 'street': '1 boulevard Poissonnière', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'departmentCode': None, 'label': None, 'id_oa': 816, 'isEditable': None, 'isManualEdition': False}} == {'street': '1 boulevard Poissonnière', 'banId': '75102_7560_00001', 'audioDisabilityCompliant': False, 'bookingEmail': '[email protected]', 'city': 'Paris', 'contact': {'email': '[email protected]', 'website': 'https://my.website.com', 'phoneNumber': '+33102030405', 'socialMedias': {'instagram': 'http://instagram.com/@venue'}}, 'comment': None, 'pricingPoint': {'id': 890, 'venueName': 'Le Repos du Comptable', 'siret': '00000939908893'}, 'reimbursementPointId': 892, 'dateCreated': '2024-09-19T12:45:12.702984Z', 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'description': 'Support they everything black tough instead.', 'dmsToken': 'PRO-3427c61606e9', 'externalAccessibilityData': {'isAccessibleMotorDisability': True, 'isAccessibleAudioDisability': True, 'isAccessibleVisualDisability': True, 'isAccessibleMentalDisability': False, 'motorDisability': {'facilities': 'Sanitaire non adapté', 'exterior': 'Chemin rendu accessible (ascenseur)', 'entrance': "Accès à l'entrée par ascenseur", 'parking': 'Stationnement adapté à proximité'}, 'audioDisability': {'deafAndHardOfHearing': ['boucle à induction magnétique portative', 'sous-titrage ou transcription simultanée']}, 'visualDisability': {'soundBeacon': 'Non renseigné', 'audioDescription': ['avec équipement occasionnel selon la programmation', "avec équipement permanent nécessitant le téléchargement d'une application sur smartphone"]}, 'mentalDisability': {'trainedPersonnel': 'Personnel non formé'}}, 'externalAccessibilityId': 'accessibility-slug', 'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/', 'isPermanent': True, 'isVirtual': False, 'latitude': 48.87004, 'longitude': 2.3785, 'managingOfferer': {'city': 'Paris', 'dateCreated': '2024-09-19T12:45:12.677958Z', 'demarchesSimplifieesApplicationId': None, 'id': 939, 'isValidated': True, 'name': 'Le Petit Rintintin Management 938', 'postalCode': '75000', 'siren': '000009399', 'street': '1 boulevard Poissonnière', 'allowedOnAdage': True}, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': "L'encre et la plume", 'openingHours': {'MONDAY': [{'open': '14:00', 'close': '19:30'}], 'TUESDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'WEDNESDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'THURSDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'FRIDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'SATURDAY': [{'open': '10:00', 'close': '13:00'}, {'open': '14:00', 'close': '19:30'}], 'SUNDAY': None}, 'postalCode': '75000', 'publicName': "L'encre et la plume", 'siret': '00000939908877', 'timezone': 'Europe/Paris', 'venueLabelId': None, 'venueTypeCode': 'PERFORMING_ARTS', 'visualDisabilityCompliant': False, 'withdrawalDetails': None, 'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png', 'bannerMeta': {'crop_params': {'height_crop_percent': 1.0, 'width_crop_percent': 1.0, 'x_crop_percent': 0.0, 'y_crop_percent': 0.0}, 'image_credit': None, 'original_image_url': None}, 'id': 888, 'collectiveAccessInformation': None, 'collectiveDescription': 'Description du lieu', 'collectiveDomains': [], 'collectiveEmail': None, 'collectiveInterventionArea': ['75', '92'], 'collectiveLegalStatus': None, 'collectiveNetwork': None, 'collectivePhone': None, 'collectiveStudents': [], 'collectiveWebsite': None, 'collectiveSubCategoryId': None, 'collectiveDmsApplications': [{'venueId': 888, 'state': 'en_construction', 'procedure': 1, 'application': 1, 'lastChangeDate': '2024-09-19T11:42:46.229618Z', 'depositDate': '2024-09-09T12:42:46.229623Z', 'expirationDate': '2025-09-19T12:42:46.229624Z', 'buildDate': '2024-09-19T11:42:46.229618Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T12:45:12.698754Z', 'bankAccount': {'bic': 'BDFEFRPP', 'dateCreated': '2024-09-19T12:45:12.665101Z', 'dateLastStatusUpdate': None, 'dsApplicationId': 70, 'id': 200070, 'isActive': True, 'label': 'Libellé des coordonnées bancaires n°70', 'linkedVenues': [{'commonName': "L'encre et la plume", 'id': 888}], 'obfuscatedIban': 'XXXX XXXX XXXX 7039', 'status': 'accepte'}, 'address': {'id': 537, 'street': '1 boulevard Poissonnière', 'postalCode': '75000', 'inseeCode': '75102', 'city': 'Paris', 'latitude': 48.87004, 'longitude': 2.3785, 'banId': '75102_7560_00001', 'label': None, 'id_oa': 816, 'isEditable': None, 'isManualEdition': False}, 'isVisibleInApp': True, 'hasOffers': False} Common items: {'adageInscriptionDate': '2023-09-20T12:45:12.698754Z', 'audioDisabilityCompliant': False, 'banId': '75102_7560_00001', 'bankAccount': {'bic': 'BDFEFRPP', 'dateCreated': '2024-09-19T12:45:12.665101Z', 'dateLastStatusUpdate': None, 'dsApplicationId': 70, 'id': 200070, 'isActive': True, 'label': 'Libellé des coordonnées bancaires n°70', 'linkedVenues': [{'commonName': "L'encre et la plume", 'id': 888}], 'obfuscatedIban': 'XXXX XXXX XXXX 7039', 'status': 'accepte'}, 'bannerMeta': {'crop_params': {'height_crop_percent': 1.0, 'width_crop_percent': 1.0, 'x_crop_percent': 0.0, 'y_crop_percent': 0.0}, 'image_credit': None, 'original_image_url': None}, 'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png', 'bookingEmail': '[email protected]', 'city': 'Paris', 'collectiveAccessInformation': None, 'collectiveDescription': 'Description du lieu', 'collectiveDmsApplications': [{'application': 1, 'buildDate': '2024-09-19T11:42:46.229618Z', 'depositDate': '2024-09-09T12:42:46.229623Z', 'expirationDate': '2025-09-19T12:42:46.229624Z', 'instructionDate': None, 'lastChangeDate': '2024-09-19T11:42:46.229618Z', 'procedure': 1, 'processingDate': None, 'state': 'en_construction', 'userDeletionDate': None, 'venueId': 888}], 'collectiveDomains': [], 'collectiveEmail': None, 'collectiveInterventionArea': ['75', '92'], 'collectiveLegalStatus': None, 'collectiveNetwork': None, 'collectivePhone': None, 'collectiveStudents': [], 'collectiveSubCategoryId': None, 'collectiveWebsite': None, 'comment': None, 'contact': {'email': '[email protected]', 'phoneNumber': '+33102030405', 'socialMedias': {'instagram': 'http://instagram.com/@venue'}, 'website': 'https://my.website.com'}, 'dateCreated': '2024-09-19T12:45:12.702984Z', 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'description': 'Support they everything black tough instead.', 'dmsToken': 'PRO-3427c61606e9', 'externalAccessibilityData': {'audioDisability': {'deafAndHardOfHearing': ['boucle ' 'à ' 'induction ' 'magnétique ' 'portative', 'sous-titrage ' 'ou ' 'transcription ' 'simultanée']}, 'isAccessibleAudioDisability': True, 'isAccessibleMentalDisability': False, 'isAccessibleMotorDisability': True, 'isAccessibleVisualDisability': True, 'mentalDisability': {'trainedPersonnel': 'Personnel ' 'non ' 'formé'}, 'motorDisability': {'entrance': 'Accès à ' "l'entrée par " 'ascenseur', 'exterior': 'Chemin rendu ' 'accessible ' '(ascenseur)', 'facilities': 'Sanitaire ' 'non adapté', 'parking': 'Stationnement ' 'adapté à ' 'proximité'}, 'visualDisability': {'audioDescription': ['avec ' 'équipement ' 'occasionnel ' 'selon ' 'la ' 'programmation', 'avec ' 'équipement ' 'permanent ' 'nécessitant ' 'le ' 'téléchargement ' "d'une " 'application ' 'sur ' 'smartphone'], 'soundBeacon': 'Non ' 'renseigné'}}, 'externalAccessibilityId': 'accessibility-slug', 'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/', 'hasAdageId': True, 'hasOffers': False, 'id': 888, 'isPermanent': True, 'isVirtual': False, 'isVisibleInApp': True, 'latitude': 48.87004, 'longitude': 2.3785, 'managingOfferer': {'allowedOnAdage': True, 'city': 'Paris', 'dateCreated': '2024-09-19T12:45:12.677958Z', 'demarchesSimplifieesApplicationId': None, 'id': 939, 'isValidated': True, 'name': 'Le Petit Rintintin Management 938', 'postalCode': '75000', 'siren': '000009399', 'street': '1 boulevard Poissonnière'}, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': "L'encre et la plume", 'openingHours': {'FRIDAY': [{'close': '13:00', 'open': '10:00'}, {'close': '19:30', 'open': '14:00'}], 'MONDAY': [{'close': '19:30', 'open': '14:00'}], 'SATURDAY': [{'close': '13:00', 'open': '10:00'}, {'close': '19:30', 'open': '14:00'}], 'SUNDAY': None, 'THURSDAY': [{'close': '13:00', 'open': '10:00'}, {'close': '19:30', 'open': '14:00'}], 'TUESDAY': [{'close': '13:00', 'open': '10:00'}, {'close': '19:30', 'open': '14:00'}], 'WEDNESDAY': [{'close': '13:00', 'open': '10:00'}, {'close': '19:30', 'open': '14:00'}]}, 'postalCode': '75000', 'pricingPoint': {'id': 890, 'siret': '00000939908893', 'venueName': 'Le Repos du Comptable'}, 'publicName': "L'encre et la plume", 'reimbursementPointId': 892, 'siret': '00000939908877', 'street': '1 boulevard Poissonnière', 'timezone': 'Europe/Paris', 'venueLabelId': None, 'venueTypeCode': 'PERFORMING_ARTS', 'visualDisabilityCompliant': False, 'withdrawalDetails': None} Differing items: {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': None, 'id': 537, ...}} != {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'id': 537, 'id_oa': 816, ...}} Full diff: { 'adageInscriptionDate': '2023-09-20T12:45:12.698754Z', 'address': { 'banId': '75102_7560_00001', 'city': 'Paris', + 'departmentCode': None, 'id': 537, 'id_oa': 816, 'inseeCode': '75102', 'isEditable': None, 'isManualEdition': False, 'label': None, 'latitude': 48.87004, 'longitude': 2.3785, 'postalCode': '75000', 'street': '1 boulevard Poissonnière', }, 'audioDisabilityCompliant': False, 'banId': '75102_7560_00001', 'bankAccount': { 'bic': 'BDFEFRPP', 'dateCreated': '2024-09-19T12:45:12.665101Z', 'dateLastStatusUpdate': None, 'dsApplicationId': 70, 'id': 200070, 'isActive': True, 'label': 'Libellé des coordonnées bancaires n°70', 'linkedVenues': [ { 'commonName': "L'encre et la plume", 'id': 888, }, ], 'obfuscatedIban': 'XXXX XXXX XXXX 7039', 'status': 'accepte', }, 'bannerMeta': { 'crop_params': { 'height_crop_percent': 1.0, 'width_crop_percent': 1.0, 'x_crop_percent': 0.0, 'y_crop_percent': 0.0, }, 'image_credit': None, 'original_image_url': None, }, 'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png', 'bookingEmail': '[email protected]', 'city': 'Paris', 'collectiveAccessInformation': None, 'collectiveDescription': 'Description du lieu', 'collectiveDmsApplications': [ { 'application': 1, 'buildDate': '2024-09-19T11:42:46.229618Z', 'depositDate': '2024-09-09T12:42:46.229623Z', 'expirationDate': '2025-09-19T12:42:46.229624Z', 'instructionDate': None, 'lastChangeDate': '2024-09-19T11:42:46.229618Z', 'procedure': 1, 'processingDate': None, 'state': 'en_construction', 'userDeletionDate': None, 'venueId': 888, }, ], 'collectiveDomains': [], 'collectiveEmail': None, 'collectiveInterventionArea': [ '75', '92', ], 'collectiveLegalStatus': None, 'collectiveNetwork': None, 'collectivePhone': None, 'collectiveStudents': [], 'collectiveSubCategoryId': None, 'collectiveWebsite': None, 'comment': None, 'contact': { 'email': '[email protected]', 'phoneNumber': '+33102030405', 'socialMedias': { 'instagram': 'http://instagram.com/@venue', }, 'website': 'https://my.website.com', }, 'dateCreated': '2024-09-19T12:45:12.702984Z', 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'description': 'Support they everything black tough instead.', 'dmsToken': 'PRO-3427c61606e9', 'externalAccessibilityData': { 'audioDisability': { 'deafAndHardOfHearing': [ 'boucle à induction magnétique portative', 'sous-titrage ou transcription simultanée', ], }, 'isAccessibleAudioDisability': True, 'isAccessibleMentalDisability': False, 'isAccessibleMotorDisability': True, 'isAccessibleVisualDisability': True, 'mentalDisability': { 'trainedPersonnel': 'Personnel non formé', }, 'motorDisability': { 'entrance': "Accès à l'entrée par ascenseur", 'exterior': 'Chemin rendu accessible (ascenseur)', 'facilities': 'Sanitaire non adapté', 'parking': 'Stationnement adapté à proximité', }, 'visualDisability': { 'audioDescription': [ 'avec équipement occasionnel selon la programmation', "avec équipement permanent nécessitant le téléchargement d'une " 'application sur smartphone', ], 'soundBeacon': 'Non renseigné', }, }, 'externalAccessibilityId': 'accessibility-slug', 'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/', 'hasAdageId': True, 'hasOffers': False, 'id': 888, 'isPermanent': True, 'isVirtual': False, 'isVisibleInApp': True, 'latitude': 48.87004, 'longitude': 2.3785, 'managingOfferer': { 'allowedOnAdage': True, 'city': 'Paris', 'dateCreated': '2024-09-19T12:45:12.677958Z', 'demarchesSimplifieesApplicationId': None, 'id': 939, 'isValidated': True, 'name': 'Le Petit Rintintin Management 938', 'postalCode': '75000', 'siren': '000009399', 'street': '1 boulevard Poissonnière', }, 'mentalDisabilityCompliant': False, 'motorDisabilityCompliant': False, 'name': "L'encre et la plume", 'openingHours': { 'FRIDAY': [ { 'close': '13:00', 'open': '10:00', }, { 'close': '19:30', 'open': '14:00', }, ], 'MONDAY': [ { 'close': '19:30', 'open': '14:00', }, ], 'SATURDAY': [ { 'close': '13:00', 'open': '10:00', }, { 'close': '19:30', 'open': '14:00', }, ], 'SUNDAY': None, 'THURSDAY': [ { 'close': '13:00', 'open': '10:00', }, { 'close': '19:30', 'open': '14:00', }, ], 'TUESDAY': [ { 'close': '13:00', 'open': '10:00', }, { 'close': '19:30', 'open': '14:00', }, ], 'WEDNESDAY': [ { 'close': '13:00', 'open': '10:00', }, { 'close': '19:30', 'open': '14:00', }, ], }, 'postalCode': '75000', 'pricingPoint': { 'id': 890, 'siret': '00000939908893', 'venueName': 'Le Repos du Comptable', }, 'publicName': "L'encre et la plume", 'reimbursementPointId': 892, 'siret': '00000939908877', 'street': '1 boulevard Poissonnière', 'timezone': 'Europe/Paris', 'venueLabelId': None, 'venueTypeCode': 'PERFORMING_ARTS', 'visualDisabilityCompliant': False, 'withdrawalDetails': None, }
Tests api / Pytest (tests/routes -m 'not backoffice')
❌ Tests reported 10 failures
Tests pro / Type check / Quality check / Style quality check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@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 pro / Type check / Quality check / Style quality check: pro/src/app/App/App.tsx#L85
React Hook useEffect has a missing dependency: 'dispatch'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/useLogExtraProData.ts#L25
React Hook useEffect has missing dependencies: 'location.pathname', 'logEvent', and 'previousOfferer'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/useLogNavigation.ts#L32
React Hook useEffect has missing dependencies: 'params' and 'previousPage'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/app/App/hook/usePageTitle.ts#L16
React Hook useEffect has a missing dependency: 'location'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/Address/Address.tsx#L43
React Hook useEffect has a missing dependency: 'selectedField.value'. Either include it or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/Address/Address.tsx#L85
React Hook useEffect has missing dependencies: 'addressesMap', 'searchField', and 'setFieldValue'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/ImageUploader/ButtonImageEdit/ModalImageEdit/ModalImageEdit.tsx#L69
React Hook useEffect has missing dependencies: 'initialImageUrl', 'initialOriginalImageUrl', and 'notification'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/IndividualOfferForm/Notifications/Notifications.tsx#L36
React Hook useEffect has missing dependencies: 'bookingEmail', 'currentUser.email', 'setFieldValue', and 'venueBookingEmail'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/IndividualOfferForm/UsefulInformations/TicketWithdrawal/TicketWithdrawal.tsx#L49
React Hook useEffect has missing dependencies: 'dirty', 'getFirstWithdrawalTypeEnumValue', and 'setFieldValue'. Either include them or remove the dependency array
Tests pro / Type check / Quality check / Style quality check: pro/src/components/StocksEventList/StocksEventList.tsx#L190
React Hook useEffect has missing dependencies: 'handleStocksResponse', 'loadStocksFromCurrentFilters', 'searchParams', and 'setSearchParams'. Either include them or remove the dependency array
Update api client template / Update API Client template
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
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/setup-node@v2, 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 migrations / E2E tests and notifications
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests pro E2E migrations / 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, docker/login-action@v1, actions/setup-node@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 pro E2E migrations / E2E tests and notifications
The "process_gcloudignore" option is true, but no .gcloudignore file was found. If you do not intend to process a gcloudignore file, set "process_gcloudignore" to false.
Tests pro E2E migrations / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E migrations / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E migrations / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Test database schema
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Test database schema
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests --ignore=tests/core --ignore=tests/routes)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Quality checks
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Quality checks
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro / Unit tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@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 / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core --ignore=tests/core/bookings --ignore=tests/core/offers --ignore=tests/core/fi...
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/core/bookings tests/core/offers tests/core/finance)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pylint
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pylint
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
[PRO] Deploy PR version for validation / deploy_on_firebase
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@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 / Pytest (tests/routes -m 'not backoffice')
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/routes -m 'not backoffice')
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes -m 'not backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-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, docker/login-action@v1, actions/setup-node@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 pro E2E / E2E tests and notifications
The "process_gcloudignore" option is true, but no .gcloudignore file was found. If you do not intend to process a gcloudignore file, set "process_gcloudignore" to false.
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests pro E2E / E2E tests and notifications
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The following actions uses node12 which is deprecated and will be forced to run on node16: docker/login-action@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/login-action@v1. 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 / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Tests api / Pytest (tests/routes/backoffice -m 'backoffice')
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
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:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
Tests pro E2E migrations / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
Tests api / Quality checks
Running tests api with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi-tests:54ea8e42795e0b6ff313e8e8ac6368eee0955d98
[PRO] Deploy PR version for validation / deploy_on_firebase
Firebase deployment is available at : https://pc-pro-testing--pr14221-mageoffray-bsr-multi-cot4pwaz.web.app
Tests pro E2E / E2E tests and notifications
Running e2e-tests with europe-west1-docker.pkg.dev/passculture-infra-prod/pass-culture-artifact-registry/pcapi:54ea8e42795e0b6ff313e8e8ac6368eee0955d98

Artifacts

Produced during runtime
Name Size
pass-culture~pass-culture-main~G9XGWK.dockerbuild
77.7 KB
pass-culture~pass-culture-main~ONXLXE.dockerbuild
92.7 KB
pass-culture~pass-culture-main~YODW2D.dockerbuild
155 KB
pcapi-54ea8e42795e0b6ff313e8e8ac6368eee0955d98.tar Expired
295 MB
pcapi-console-54ea8e42795e0b6ff313e8e8ac6368eee0955d98.tar Expired
469 MB
pcapi-tests-54ea8e42795e0b6ff313e8e8ac6368eee0955d98.tar Expired
526 MB