Skip to content

PC-30384-Ajouts de OFFER_ADDRESS dans certains mails #4785

PC-30384-Ajouts de OFFER_ADDRESS dans certains mails

PC-30384-Ajouts de OFFER_ADDRESS dans certains mails #4785

GitHub Actions / Pytest Report failed Sep 19, 2024 in 0s

2521 tests run, 2510 passed, 1 skipped, 10 failed.

Annotations

Check failure on line 119 in tests/routes/pro/get_offer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offer_test.py.test_returns_an_event_stock

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',
    }
Raw output
tests/routes/pro/get_offer_test.py:168: in test_returns_an_event_stock
    assert response.json == {
E   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}
E     
E     Common items:
E     {'activeMediation': None,
E      'audioDisabilityCompliant': False,
E      'bookingContact': None,
E      'bookingEmail': '[email protected]',
E      'bookingsCount': 0,
E      'dateCreated': '2020-10-15T00:00:00Z',
E      'description': 'Tatort, but slower',
E      'durationMinutes': 60,
E      'externalTicketOfficeUrl': 'http://example.net',
E      'extraData': None,
E      'hasBookingLimitDatetimesPassed': False,
E      'hasPendingBookings': False,
E      'hasStocks': True,
E      'id': 248,
E      'isActivable': True,
E      'isActive': True,
E      'isDigital': False,
E      'isDuo': False,
E      'isEditable': True,
E      'isEvent': True,
E      'isNational': False,
E      'isNonFreeOffer': None,
E      'isThing': False,
E      'lastProvider': None,
E      'mentalDisabilityCompliant': True,
E      'motorDisabilityCompliant': False,
E      'name': 'Derrick',
E      'priceCategories': [{'id': 102, 'label': 'Au pied du mur', 'price': 10.1}],
E      'productId': None,
E      'publicationDate': None,
E      'status': 'ACTIVE',
E      'subcategoryId': 'SEANCE_CINE',
E      'thumbUrl': None,
E      'url': None,
E      'venue': {'audioDisabilityCompliant': False,
E                'bookingEmail': '[email protected]',
E                'city': 'Paris',
E                'departementCode': '75',
E                'id': 710,
E                'isVirtual': False,
E                'managingOfferer': {'allowedOnAdage': True,
E                                    'id': 737,
E                                    'name': 'Test Offerer'},
E                'mentalDisabilityCompliant': False,
E                'motorDisabilityCompliant': False,
E                'name': 'La petite librairie',
E                'postalCode': '75000',
E                'publicName': 'La petite librairie',
E                'street': '1 boulevard Poissonnière',
E                'visualDisabilityCompliant': False},
E      'visualDisabilityCompliant': False,
E      'withdrawalDelay': 1800,
E      'withdrawalDetails': 'Veuillez chercher votre billet au guichet',
E      'withdrawalType': 'on_site'}
E     Differing items:
E     {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': None, 'id': 422, ...}} != {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': '75', 'id': 422, ...}}
E     
E     Full diff:
E       {
E           'activeMediation': None,
E           'address': {
E               'banId': '75102_7560_00001',
E               'city': 'Paris',
E     -         'departmentCode': '75',
E     ?                           ^^^^
E     +         'departmentCode': None,
E     ?                           ^^^^
E               'id': 422,
E               'id_oa': 672,
E               'inseeCode': '75102',
E               'isEditable': False,
E               'isManualEdition': False,
E               'label': 'La petite librairie',
E               'latitude': 48.87004,
E               'longitude': 2.3785,
E               'postalCode': '75000',
E               'street': '1 boulevard Poissonnière',
E           },
E           'audioDisabilityCompliant': False,
E           'bookingContact': None,
E           'bookingEmail': '[email protected]',
E           'bookingsCount': 0,
E           'dateCreated': '2020-10-15T00:00:00Z',
E           'description': 'Tatort, but slower',
E           'durationMinutes': 60,
E           'externalTicketOfficeUrl': 'http://example.net',
E           'extraData': None,
E           'hasBookingLimitDatetimesPassed': False,
E           'hasPendingBookings': False,
E           'hasStocks': True,
E           'id': 248,
E           'isActivable': True,
E           'isActive': True,
E           'isDigital': False,
E           'isDuo': False,
E           'isEditable': True,
E           'isEvent': True,
E           'isNational': False,
E           'isNonFreeOffer': None,
E           'isThing': False,
E           'lastProvider': None,
E           'mentalDisabilityCompliant': True,
E           'motorDisabilityCompliant': False,
E           'name': 'Derrick',
E           'priceCategories': [
E               {
E                   'id': 102,
E                   'label': 'Au pied du mur',
E                   'price': 10.1,
E               },
E           ],
E           'productId': None,
E           'publicationDate': None,
E           'status': 'ACTIVE',
E           'subcategoryId': 'SEANCE_CINE',
E           'thumbUrl': None,
E           'url': None,
E           'venue': {
E               'audioDisabilityCompliant': False,
E               'bookingEmail': '[email protected]',
E               'city': 'Paris',
E               'departementCode': '75',
E               'id': 710,
E               'isVirtual': False,
E               'managingOfferer': {
E                   'allowedOnAdage': True,
E                   'id': 737,
E                   'name': 'Test Offerer',
E               },
E               'mentalDisabilityCompliant': False,
E               'motorDisabilityCompliant': False,
E               'name': 'La petite librairie',
E               'postalCode': '75000',
E               'publicName': 'La petite librairie',
E               'street': '1 boulevard Poissonnière',
E               'visualDisabilityCompliant': False,
E           },
E           'visualDisabilityCompliant': False,
E           'withdrawalDelay': 1800,
E           'withdrawalDetails': 'Veuillez chercher votre billet au guichet',
E           'withdrawalType': 'on_site',
E       }

Check failure on line 308 in tests/routes/pro/get_offer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offer_test.py.test_return_offer_offerer_address

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',
    }
Raw output
tests/routes/pro/get_offer_test.py:327: in test_return_offer_offerer_address
    assert response.json["address"] == {
E   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}
E     
E     Common items:
E     {'banId': '75102_7560_00001',
E      'city': 'Paris',
E      'id': 428,
E      'id_oa': 678,
E      'inseeCode': '75102',
E      'isEditable': True,
E      'isManualEdition': False,
E      'label': 'Address label 698',
E      'latitude': 48.87055,
E      'longitude': 2.34765,
E      'postalCode': '75002',
E      'street': '1698 boulevard Poissonnière'}
E     Differing items:
E     {'departmentCode': None} != {'departmentCode': '75'}
E     
E     Full diff:
E       {
E           'banId': '75102_7560_00001',
E           'city': 'Paris',
E     -     'departmentCode': '75',
E     ?                       ^^^^
E     +     'departmentCode': None,
E     ?                       ^^^^
E           'id': 428,
E           'id_oa': 678,
E           'inseeCode': '75102',
E           'isEditable': True,
E           'isManualEdition': False,
E           'label': 'Address label 698',
E           'latitude': 48.87055,
E           'longitude': 2.34765,
E           'postalCode': '75002',
E           'street': '1698 boulevard Poissonnière',
E       }

Check failure on line 342 in tests/routes/pro/get_offer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offer_test.py.test_return_venue_offerer_address

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',
    }
Raw output
tests/routes/pro/get_offer_test.py:359: in test_return_venue_offerer_address
    assert response.json["address"] == {
E   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}
E     
E     Common items:
E     {'banId': '75102_7560_00001',
E      'city': 'Paris',
E      'id': 429,
E      'id_oa': 679,
E      'inseeCode': '75102',
E      'isEditable': False,
E      'isManualEdition': False,
E      'label': 'Address label 699',
E      'latitude': 48.87055,
E      'longitude': 2.34765,
E      'postalCode': '75002',
E      'street': '1699 boulevard Poissonnière'}
E     Differing items:
E     {'departmentCode': None} != {'departmentCode': '75'}
E     
E     Full diff:
E       {
E           'banId': '75102_7560_00001',
E           'city': 'Paris',
E     -     'departmentCode': '75',
E     ?                       ^^^^
E     +     'departmentCode': None,
E     ?                       ^^^^
E           'id': 429,
E           'id_oa': 679,
E           'inseeCode': '75102',
E           'isEditable': False,
E           'isManualEdition': False,
E           'label': 'Address label 699',
E           'latitude': 48.87055,
E           'longitude': 2.34765,
E           'postalCode': '75002',
E           'street': '1699 boulevard Poissonnière',
E       }

Check failure on line 21 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_filter_by_venue_when_user_is_admin_and_request_specific_venue_with_no_rights_on_it

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:49: in should_filter_by_venue_when_user_is_admin_and_request_specific_venue_with_no_rights_on_it
    assert response.json == [
E   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'}}]
E     
E     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'}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75102_7560_00001',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 467,
E                   'id_oa': 722,
E                   'inseeCode': '75102',
E                   'isEditable': False,
E                   'isManualEdition': False,
E                   'label': 'My public name',
E                   'latitude': 48.87004,
E                   'longitude': 2.3785,
E                   'postalCode': '12000',
E                   'street': '1 boulevard Poissonnière',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 290,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': False,
E               'isShowcase': False,
E               'isThing': True,
E               'name': 'My Offer',
E               'productIsbn': '123456789',
E               'status': 'ACTIVE',
E               'stocks': [
E                   {
E                       'beginningDatetime': None,
E                       'bookingQuantity': 0,
E                       'hasBookingLimitDatetimePassed': False,
E                       'id': 242,
E                       'remainingQuantity': 1000,
E                   },
E               ],
E               'subcategoryId': 'SUPPORT_PHYSIQUE_FILM',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '12',
E                   'id': 793,
E                   'isVirtual': False,
E                   'name': 'My Venue',
E                   'offererName': 'My Offerer',
E                   'publicName': 'My public name',
E               },
E           },
E       ]

Check failure on line 358 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_return_event_correctly_serialized

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:380: in should_return_event_correctly_serialized
    assert response.json == [
E   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'}}]
E     
E     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'}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75112_0877_00008',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 480,
E                   'id_oa': 735,
E                   'inseeCode': '75112',
E                   'isEditable': True,
E                   'isManualEdition': False,
E                   'label': 'Accor Arena',
E                   'latitude': 48.87055,
E                   'longitude': 2.34765,
E                   'postalCode': '75002',
E                   'street': '8 Boulevard de Bercy',
E               },
E               'hasBookingLimitDatetimesPassed': True,
E               'id': 298,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'Offer 297',
E               'productIsbn': None,
E               'status': 'EXPIRED',
E               'stocks': [
E                   {
E                       'beginningDatetime': '2022-09-21T13:19:00Z',
E                       'bookingQuantity': 0,
E                       'hasBookingLimitDatetimePassed': True,
E                       'id': 247,
E                       'remainingQuantity': 1000,
E                   },
E               ],
E               'subcategoryId': 'SEANCE_CINE',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 803,
E                   'isVirtual': False,
E                   'name': 'Le Petit Rintintin 802',
E                   'offererName': 'Le Petit Rintintin Management 850',
E                   'publicName': 'Le Petit Rintintin 802',
E               },
E           },
E       ]

Check failure on line 429 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_not_return_soft_deleted_stocks

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:449: in should_not_return_soft_deleted_stocks
    assert response.json == [
E   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'}}]
E     
E     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'}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75102_7560_00001',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 481,
E                   'id_oa': 736,
E                   'inseeCode': '75102',
E                   'isEditable': False,
E                   'isManualEdition': False,
E                   'label': 'Le Petit Rintintin 803',
E                   'latitude': 48.87004,
E                   'longitude': 2.3785,
E                   'postalCode': '75000',
E                   'street': '1 boulevard Poissonnière',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 299,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'Offer 298',
E               'productIsbn': None,
E               'status': 'SOLD_OUT',
E               'stocks': [],
E               'subcategoryId': 'SEANCE_CINE',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 804,
E                   'isVirtual': False,
E                   'name': 'Le Petit Rintintin 803',
E                   'offererName': 'Le Petit Rintintin Management 851',
E                   'publicName': 'Le Petit Rintintin 803',
E               },
E           },
E       ]

Check failure on line 490 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_return_offers_filtered_by_offerer_address

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:531: in should_return_offers_filtered_by_offerer_address
    assert response.json == [
E   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}}]
E     
E     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}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75112_0877_00008',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 483,
E                   'id_oa': 738,
E                   'inseeCode': '75112',
E                   'isEditable': True,
E                   'isManualEdition': False,
E                   'label': 'Accor Arena',
E                   'latitude': 48.87055,
E                   'longitude': 2.34765,
E                   'postalCode': '75002',
E                   'street': '8 Boulevard de Bercy',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 301,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'Taylor Swift',
E               'productIsbn': None,
E               'status': 'SOLD_OUT',
E               'stocks': [],
E               'subcategoryId': 'CONCERT',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 805,
E                   'isVirtual': False,
E                   'name': 'Le Petit Rintintin 804',
E                   'offererName': 'Le Petit Rintintin Management 852',
E                   'publicName': 'Le Petit Rintintin 804',
E               },
E           },
E           {
E               'address': {
E                   'banId': '75112_0877_00008',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 483,
E                   'id_oa': 738,
E                   'inseeCode': '75112',
E                   'isEditable': True,
E                   'isManualEdition': False,
E                   'label': 'Accor Arena',
E                   'latitude': 48.87055,
E                   'longitude': 2.34765,
E                   'postalCode': '75002',
E                   'street': '8 Boulevard de Bercy',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 300,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'The Weeknd',
E               'productIsbn': None,
E               'status': 'SOLD_OUT',
E               'stocks': [],
E               'subcategoryId': 'CONCERT',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 805,
E                   'isVirtual': False,
E                   'name': 'Le Petit Rintintin 804',
E                   'offererName': 'Le Petit Rintintin Management 852',
E                   'publicName': 'Le Petit Rintintin 804',
E               },
E           },
E       ]

Check failure on line 611 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_return_offer_with_address_of_oa

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:634: in should_return_offer_with_address_of_oa
    assert response.json == [
E   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}}]
E     
E     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}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75112_0877_00008',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 486,
E                   'id_oa': 741,
E                   'inseeCode': '75112',
E                   'isEditable': True,
E                   'isManualEdition': False,
E                   'label': 'Accor Arena',
E                   'latitude': 48.87055,
E                   'longitude': 2.34765,
E                   'postalCode': '75002',
E                   'street': '8 Boulevard de Bercy',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 303,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'The Weeknd',
E               'productIsbn': None,
E               'status': 'SOLD_OUT',
E               'stocks': [],
E               'subcategoryId': 'CONCERT',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 806,
E                   'isVirtual': False,
E                   'name': 'Le Petit Rintintin 805',
E                   'offererName': 'Le Petit Rintintin Management 853',
E                   'publicName': 'Le Petit Rintintin 805',
E               },
E           },
E       ]

Check failure on line 675 in tests/routes/pro/get_offers_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_offers_test.py.should_return_offer_with_address_of_venue

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',
            },
        },
    ]
Raw output
tests/routes/pro/get_offers_test.py:700: in should_return_offer_with_address_of_venue
    assert response.json == [
E   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}}]
E     
E     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}}
E     
E     Full diff:
E       [
E           {
E               'address': {
E                   'banId': '75112_0877_00001',
E                   'city': 'Paris',
E     -             'departmentCode': '75',
E     ?                               ^^^^
E     +             'departmentCode': None,
E     ?                               ^^^^
E                   'id': 487,
E                   'id_oa': 742,
E                   'inseeCode': '75112',
E                   'isEditable': False,
E                   'isManualEdition': False,
E                   'label': 'Best Place to be',
E                   'latitude': 4.34765,
E                   'longitude': 1.34765,
E                   'postalCode': '75001',
E                   'street': '4 Boulevard de Bercy',
E               },
E               'hasBookingLimitDatetimesPassed': False,
E               'id': 304,
E               'isActive': True,
E               'isEditable': True,
E               'isEducational': False,
E               'isEvent': True,
E               'isShowcase': False,
E               'isThing': False,
E               'name': 'The Weeknd',
E               'productIsbn': None,
E               'status': 'SOLD_OUT',
E               'stocks': [],
E               'subcategoryId': 'CONCERT',
E               'thumbUrl': None,
E               'venue': {
E                   'departementCode': '75',
E                   'id': 807,
E                   'isVirtual': False,
E                   'name': 'Best Place to be',
E                   'offererName': 'Le Petit Rintintin Management 854',
E                   'publicName': 'Best Place to be',
E               },
E           },
E       ]

Check failure on line 20 in tests/routes/pro/get_venue_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/get_venue_test.py.when_user_has_rights_on_managing_offerer

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': 'Will future skill statement report education mention.', '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-19T17:57:31.471338Z', '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-21e9c028a0a1', 'managingOfferer': {'city': 'Paris', 'dateCreated': '2024-09-19T17:57:31.447152Z', '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-19T16:54:55.408881Z', 'depositDate': '2024-09-09T17:54:55.408886Z', 'expirationDate': '2025-09-19T17:54:55.408887Z', 'buildDate': '2024-09-19T16:54:55.408881Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T17:57:31.467274Z', '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-19T17:57:31.434692Z', '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-19T17:57:31.471338Z', 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'description': 'Will future skill statement report education mention.', 'dmsToken': 'PRO-21e9c028a0a1', '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-19T17:57:31.447152Z', '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-19T16:54:55.408881Z', 'depositDate': '2024-09-09T17:54:55.408886Z', 'expirationDate': '2025-09-19T17:54:55.408887Z', 'buildDate': '2024-09-19T16:54:55.408881Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T17:57:31.467274Z', 'bankAccount': {'bic': 'BDFEFRPP', 'dateCreated': '2024-09-19T17:57:31.434692Z', '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-20T17:57:31.467274Z',
   'audioDisabilityCompliant': False,
   'banId': '75102_7560_00001',
   'bankAccount': {'bic': 'BDFEFRPP',
                   'dateCreated': '2024-09-19T17:57:31.434692Z',
                   '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-19T16:54:55.408881Z',
                                  'depositDate': '2024-09-09T17:54:55.408886Z',
                                  'expirationDate': '2025-09-19T17:54:55.408887Z',
                                  'instructionDate': None,
                                  'lastChangeDate': '2024-09-19T16:54:55.408881Z',
                                  '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-19T17:57:31.471338Z',
   'demarchesSimplifieesApplicationId': None,
   'departementCode': '75',
   'description': 'Will future skill statement report education mention.',
   'dmsToken': 'PRO-21e9c028a0a1',
   '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-19T17:57:31.447152Z',
                       '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-20T17:57:31.467274Z',
        '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-19T17:57:31.434692Z',
            '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-19T16:54:55.408881Z',
                'depositDate': '2024-09-09T17:54:55.408886Z',
                'expirationDate': '2025-09-19T17:54:55.408887Z',
                'instructionDate': None,
                'lastChangeDate': '2024-09-19T16:54:55.408881Z',
                '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-19T17:57:31.471338Z',
        'demarchesSimplifieesApplicationId': None,
        'departementCode': '75',
        'description': 'Will future skill statement report education mention.',
        'dmsToken': 'PRO-21e9c028a0a1',
        '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-19T17:57:31.447152Z',
            '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,
    }
Raw output
tests/routes/pro/get_venue_test.py:251: in when_user_has_rights_on_managing_offerer
    assert response.json == expected_serialized_venue
E   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': 'Will future skill statement report education mention.', '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-19T17:57:31.471338Z', '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-21e9c028a0a1', 'managingOfferer': {'city': 'Paris', 'dateCreated': '2024-09-19T17:57:31.447152Z', '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-19T16:54:55.408881Z', 'depositDate': '2024-09-09T17:54:55.408886Z', 'expirationDate': '2025-09-19T17:54:55.408887Z', 'buildDate': '2024-09-19T16:54:55.408881Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T17:57:31.467274Z', '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-19T17:57:31.434692Z', '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-19T17:57:31.471338Z', 'demarchesSimplifieesApplicationId': None, 'departementCode': '75', 'description': 'Will future skill statement report education mention.', 'dmsToken': 'PRO-21e9c028a0a1', '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-19T17:57:31.447152Z', '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-19T16:54:55.408881Z', 'depositDate': '2024-09-09T17:54:55.408886Z', 'expirationDate': '2025-09-19T17:54:55.408887Z', 'buildDate': '2024-09-19T16:54:55.408881Z', 'instructionDate': None, 'processingDate': None, 'userDeletionDate': None}], 'hasAdageId': True, 'adageInscriptionDate': '2023-09-20T17:57:31.467274Z', 'bankAccount': {'bic': 'BDFEFRPP', 'dateCreated': '2024-09-19T17:57:31.434692Z', '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}
E     
E     Common items:
E     {'adageInscriptionDate': '2023-09-20T17:57:31.467274Z',
E      'audioDisabilityCompliant': False,
E      'banId': '75102_7560_00001',
E      'bankAccount': {'bic': 'BDFEFRPP',
E                      'dateCreated': '2024-09-19T17:57:31.434692Z',
E                      'dateLastStatusUpdate': None,
E                      'dsApplicationId': 70,
E                      'id': 200070,
E                      'isActive': True,
E                      'label': 'Libellé des coordonnées bancaires n°70',
E                      'linkedVenues': [{'commonName': "L'encre et la plume",
E                                        'id': 888}],
E                      'obfuscatedIban': 'XXXX XXXX XXXX 7039',
E                      'status': 'accepte'},
E      'bannerMeta': {'crop_params': {'height_crop_percent': 1.0,
E                                     'width_crop_percent': 1.0,
E                                     'x_crop_percent': 0.0,
E                                     'y_crop_percent': 0.0},
E                     'image_credit': None,
E                     'original_image_url': None},
E      'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png',
E      'bookingEmail': '[email protected]',
E      'city': 'Paris',
E      'collectiveAccessInformation': None,
E      'collectiveDescription': 'Description du lieu',
E      'collectiveDmsApplications': [{'application': 1,
E                                     'buildDate': '2024-09-19T16:54:55.408881Z',
E                                     'depositDate': '2024-09-09T17:54:55.408886Z',
E                                     'expirationDate': '2025-09-19T17:54:55.408887Z',
E                                     'instructionDate': None,
E                                     'lastChangeDate': '2024-09-19T16:54:55.408881Z',
E                                     'procedure': 1,
E                                     'processingDate': None,
E                                     'state': 'en_construction',
E                                     'userDeletionDate': None,
E                                     'venueId': 888}],
E      'collectiveDomains': [],
E      'collectiveEmail': None,
E      'collectiveInterventionArea': ['75', '92'],
E      'collectiveLegalStatus': None,
E      'collectiveNetwork': None,
E      'collectivePhone': None,
E      'collectiveStudents': [],
E      'collectiveSubCategoryId': None,
E      'collectiveWebsite': None,
E      'comment': None,
E      'contact': {'email': '[email protected]',
E                  'phoneNumber': '+33102030405',
E                  'socialMedias': {'instagram': 'http://instagram.com/@venue'},
E                  'website': 'https://my.website.com'},
E      'dateCreated': '2024-09-19T17:57:31.471338Z',
E      'demarchesSimplifieesApplicationId': None,
E      'departementCode': '75',
E      'description': 'Will future skill statement report education mention.',
E      'dmsToken': 'PRO-21e9c028a0a1',
E      'externalAccessibilityData': {'audioDisability': {'deafAndHardOfHearing': ['boucle '
E                                                                                 'à '
E                                                                                 'induction '
E                                                                                 'magnétique '
E                                                                                 'portative',
E                                                                                 'sous-titrage '
E                                                                                 'ou '
E                                                                                 'transcription '
E                                                                                 'simultanée']},
E                                    'isAccessibleAudioDisability': True,
E                                    'isAccessibleMentalDisability': False,
E                                    'isAccessibleMotorDisability': True,
E                                    'isAccessibleVisualDisability': True,
E                                    'mentalDisability': {'trainedPersonnel': 'Personnel '
E                                                                             'non '
E                                                                             'formé'},
E                                    'motorDisability': {'entrance': 'Accès à '
E                                                                    "l'entrée par "
E                                                                    'ascenseur',
E                                                        'exterior': 'Chemin rendu '
E                                                                    'accessible '
E                                                                    '(ascenseur)',
E                                                        'facilities': 'Sanitaire '
E                                                                      'non adapté',
E                                                        'parking': 'Stationnement '
E                                                                   'adapté à '
E                                                                   'proximité'},
E                                    'visualDisability': {'audioDescription': ['avec '
E                                                                              'équipement '
E                                                                              'occasionnel '
E                                                                              'selon '
E                                                                              'la '
E                                                                              'programmation',
E                                                                              'avec '
E                                                                              'équipement '
E                                                                              'permanent '
E                                                                              'nécessitant '
E                                                                              'le '
E                                                                              'téléchargement '
E                                                                              "d'une "
E                                                                              'application '
E                                                                              'sur '
E                                                                              'smartphone'],
E                                                         'soundBeacon': 'Non '
E                                                                        'renseigné'}},
E      'externalAccessibilityId': 'accessibility-slug',
E      'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/',
E      'hasAdageId': True,
E      'hasOffers': False,
E      'id': 888,
E      'isPermanent': True,
E      'isVirtual': False,
E      'isVisibleInApp': True,
E      'latitude': 48.87004,
E      'longitude': 2.3785,
E      'managingOfferer': {'allowedOnAdage': True,
E                          'city': 'Paris',
E                          'dateCreated': '2024-09-19T17:57:31.447152Z',
E                          'demarchesSimplifieesApplicationId': None,
E                          'id': 939,
E                          'isValidated': True,
E                          'name': 'Le Petit Rintintin Management 938',
E                          'postalCode': '75000',
E                          'siren': '000009399',
E                          'street': '1 boulevard Poissonnière'},
E      'mentalDisabilityCompliant': False,
E      'motorDisabilityCompliant': False,
E      'name': "L'encre et la plume",
E      'openingHours': {'FRIDAY': [{'close': '13:00', 'open': '10:00'},
E                                  {'close': '19:30', 'open': '14:00'}],
E                       'MONDAY': [{'close': '19:30', 'open': '14:00'}],
E                       'SATURDAY': [{'close': '13:00', 'open': '10:00'},
E                                    {'close': '19:30', 'open': '14:00'}],
E                       'SUNDAY': None,
E                       'THURSDAY': [{'close': '13:00', 'open': '10:00'},
E                                    {'close': '19:30', 'open': '14:00'}],
E                       'TUESDAY': [{'close': '13:00', 'open': '10:00'},
E                                   {'close': '19:30', 'open': '14:00'}],
E                       'WEDNESDAY': [{'close': '13:00', 'open': '10:00'},
E                                     {'close': '19:30', 'open': '14:00'}]},
E      'postalCode': '75000',
E      'pricingPoint': {'id': 890,
E                       'siret': '00000939908893',
E                       'venueName': 'Le Repos du Comptable'},
E      'publicName': "L'encre et la plume",
E      'reimbursementPointId': 892,
E      'siret': '00000939908877',
E      'street': '1 boulevard Poissonnière',
E      'timezone': 'Europe/Paris',
E      'venueLabelId': None,
E      'venueTypeCode': 'PERFORMING_ARTS',
E      'visualDisabilityCompliant': False,
E      'withdrawalDetails': None}
E     Differing items:
E     {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'departmentCode': None, 'id': 537, ...}} != {'address': {'banId': '75102_7560_00001', 'city': 'Paris', 'id': 537, 'id_oa': 816, ...}}
E     
E     Full diff:
E       {
E           'adageInscriptionDate': '2023-09-20T17:57:31.467274Z',
E           'address': {
E               'banId': '75102_7560_00001',
E               'city': 'Paris',
E     +         'departmentCode': None,
E               'id': 537,
E               'id_oa': 816,
E               'inseeCode': '75102',
E               'isEditable': None,
E               'isManualEdition': False,
E               'label': None,
E               'latitude': 48.87004,
E               'longitude': 2.3785,
E               'postalCode': '75000',
E               'street': '1 boulevard Poissonnière',
E           },
E           'audioDisabilityCompliant': False,
E           'banId': '75102_7560_00001',
E           'bankAccount': {
E               'bic': 'BDFEFRPP',
E               'dateCreated': '2024-09-19T17:57:31.434692Z',
E               'dateLastStatusUpdate': None,
E               'dsApplicationId': 70,
E               'id': 200070,
E               'isActive': True,
E               'label': 'Libellé des coordonnées bancaires n°70',
E               'linkedVenues': [
E                   {
E                       'commonName': "L'encre et la plume",
E                       'id': 888,
E                   },
E               ],
E               'obfuscatedIban': 'XXXX XXXX XXXX 7039',
E               'status': 'accepte',
E           },
E           'bannerMeta': {
E               'crop_params': {
E                   'height_crop_percent': 1.0,
E                   'width_crop_percent': 1.0,
E                   'x_crop_percent': 0.0,
E                   'y_crop_percent': 0.0,
E               },
E               'image_credit': None,
E               'original_image_url': None,
E           },
E           'bannerUrl': 'http://localhost/storage/assets/venue_default_images/erik-mclean-PFfA3xlHFbQ-unsplash_(1).png',
E           'bookingEmail': '[email protected]',
E           'city': 'Paris',
E           'collectiveAccessInformation': None,
E           'collectiveDescription': 'Description du lieu',
E           'collectiveDmsApplications': [
E               {
E                   'application': 1,
E                   'buildDate': '2024-09-19T16:54:55.408881Z',
E                   'depositDate': '2024-09-09T17:54:55.408886Z',
E                   'expirationDate': '2025-09-19T17:54:55.408887Z',
E                   'instructionDate': None,
E                   'lastChangeDate': '2024-09-19T16:54:55.408881Z',
E                   'procedure': 1,
E                   'processingDate': None,
E                   'state': 'en_construction',
E                   'userDeletionDate': None,
E                   'venueId': 888,
E               },
E           ],
E           'collectiveDomains': [],
E           'collectiveEmail': None,
E           'collectiveInterventionArea': [
E               '75',
E               '92',
E           ],
E           'collectiveLegalStatus': None,
E           'collectiveNetwork': None,
E           'collectivePhone': None,
E           'collectiveStudents': [],
E           'collectiveSubCategoryId': None,
E           'collectiveWebsite': None,
E           'comment': None,
E           'contact': {
E               'email': '[email protected]',
E               'phoneNumber': '+33102030405',
E               'socialMedias': {
E                   'instagram': 'http://instagram.com/@venue',
E               },
E               'website': 'https://my.website.com',
E           },
E           'dateCreated': '2024-09-19T17:57:31.471338Z',
E           'demarchesSimplifieesApplicationId': None,
E           'departementCode': '75',
E           'description': 'Will future skill statement report education mention.',
E           'dmsToken': 'PRO-21e9c028a0a1',
E           'externalAccessibilityData': {
E               'audioDisability': {
E                   'deafAndHardOfHearing': [
E                       'boucle à induction magnétique portative',
E                       'sous-titrage ou transcription simultanée',
E                   ],
E               },
E               'isAccessibleAudioDisability': True,
E               'isAccessibleMentalDisability': False,
E               'isAccessibleMotorDisability': True,
E               'isAccessibleVisualDisability': True,
E               'mentalDisability': {
E                   'trainedPersonnel': 'Personnel non formé',
E               },
E               'motorDisability': {
E                   'entrance': "Accès à l'entrée par ascenseur",
E                   'exterior': 'Chemin rendu accessible (ascenseur)',
E                   'facilities': 'Sanitaire non adapté',
E                   'parking': 'Stationnement adapté à proximité',
E               },
E               'visualDisability': {
E                   'audioDescription': [
E                       'avec équipement occasionnel selon la programmation',
E                       "avec équipement permanent nécessitant le téléchargement d'une "
E                       'application sur smartphone',
E                   ],
E                   'soundBeacon': 'Non renseigné',
E               },
E           },
E           'externalAccessibilityId': 'accessibility-slug',
E           'externalAccessibilityUrl': 'https://site-d-accessibilite.com/erps/accessibility-slug/',
E           'hasAdageId': True,
E           'hasOffers': False,
E           'id': 888,
E           'isPermanent': True,
E           'isVirtual': False,
E           'isVisibleInApp': True,
E           'latitude': 48.87004,
E           'longitude': 2.3785,
E           'managingOfferer': {
E               'allowedOnAdage': True,
E               'city': 'Paris',
E               'dateCreated': '2024-09-19T17:57:31.447152Z',
E               'demarchesSimplifieesApplicationId': None,
E               'id': 939,
E               'isValidated': True,
E               'name': 'Le Petit Rintintin Management 938',
E               'postalCode': '75000',
E               'siren': '000009399',
E               'street': '1 boulevard Poissonnière',
E           },
E           'mentalDisabilityCompliant': False,
E           'motorDisabilityCompliant': False,
E           'name': "L'encre et la plume",
E           'openingHours': {
E               'FRIDAY': [
E                   {
E                       'close': '13:00',
E                       'open': '10:00',
E                   },
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E               'MONDAY': [
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E               'SATURDAY': [
E                   {
E                       'close': '13:00',
E                       'open': '10:00',
E                   },
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E               'SUNDAY': None,
E               'THURSDAY': [
E                   {
E                       'close': '13:00',
E                       'open': '10:00',
E                   },
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E               'TUESDAY': [
E                   {
E                       'close': '13:00',
E                       'open': '10:00',
E                   },
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E               'WEDNESDAY': [
E                   {
E                       'close': '13:00',
E                       'open': '10:00',
E                   },
E                   {
E                       'close': '19:30',
E                       'open': '14:00',
E                   },
E               ],
E           },
E           'postalCode': '75000',
E           'pricingPoint': {
E               'id': 890,
E               'siret': '00000939908893',
E               'venueName': 'Le Repos du Comptable',
E           },
E           'publicName': "L'encre et la plume",
E           'reimbursementPointId': 892,
E           'siret': '00000939908877',
E           'street': '1 boulevard Poissonnière',
E           'timezone': 'Europe/Paris',
E           'venueLabelId': None,
E           'venueTypeCode': 'PERFORMING_ARTS',
E           'visualDisabilityCompliant': False,
E           'withdrawalDetails': None,
E       }