Skip to content

Pc 34252 closed offerer in brevo #11011

Pc 34252 closed offerer in brevo

Pc 34252 closed offerer in brevo #11011

GitHub Actions / Pytest Report failed Feb 5, 2025 in 0s

3007 tests run, 2999 passed, 1 skipped, 7 failed.

Annotations

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

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_create_virtual_venue

assert 500 == 201
 +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
Raw output
tests/routes/pro/post_offerer_test.py:42: in test_create_virtual_venue
    assert response.status_code == 201
E   assert 500 == 201
E    +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code

Check failure on line 49 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_returned_data

AssertionError: assert {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']} == {'id': 1577, 'siren': '418166096', 'name': 'MINISTERE DE LA CULTURE'}
  
  Left contains 1 more item:
  {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça '
              'au plus vite.']}
  Right contains 3 more items:
  {'id': 1577, 'name': 'MINISTERE DE LA CULTURE', 'siren': '418166096'}
  
  Full diff:
    {
  -     'id': 1577,
  -     'name': 'MINISTERE DE LA CULTURE',
  -     'siren': '418166096',
  +     'global': [
  +         'Il semble que nous ayons des problèmes techniques :( On répare ça au '
  +         'plus vite.',
  +     ],
    }
Raw output
tests/routes/pro/post_offerer_test.py:67: in test_returned_data
    assert response.json == {
E   AssertionError: assert {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']} == {'id': 1577, 'siren': '418166096', 'name': 'MINISTERE DE LA CULTURE'}
E     
E     Left contains 1 more item:
E     {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça '
E                 'au plus vite.']}
E     Right contains 3 more items:
E     {'id': 1577, 'name': 'MINISTERE DE LA CULTURE', 'siren': '418166096'}
E     
E     Full diff:
E       {
E     -     'id': 1577,
E     -     'name': 'MINISTERE DE LA CULTURE',
E     -     'siren': '418166096',
E     +     'global': [
E     +         'Il semble que nous ayons des problèmes techniques :( On répare ça au '
E     +         'plus vite.',
E     +     ],
E       }

Check failure on line 73 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_user_cant_create_same_offerer_twice

AssertionError: assert {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']} == {'id': 1578, 'siren': '418166096', 'name': 'MINISTERE DE LA CULTURE'}
  
  Left contains 1 more item:
  {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça '
              'au plus vite.']}
  Right contains 3 more items:
  {'id': 1578, 'name': 'MINISTERE DE LA CULTURE', 'siren': '418166096'}
  
  Full diff:
    {
  -     'id': 1578,
  -     'name': 'MINISTERE DE LA CULTURE',
  -     'siren': '418166096',
  +     'global': [
  +         'Il semble que nous ayons des problèmes techniques :( On répare ça au '
  +         'plus vite.',
  +     ],
    }
Raw output
tests/routes/pro/post_offerer_test.py:91: in test_user_cant_create_same_offerer_twice
    assert first_response.json == {
E   AssertionError: assert {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça au plus vite.']} == {'id': 1578, 'siren': '418166096', 'name': 'MINISTERE DE LA CULTURE'}
E     
E     Left contains 1 more item:
E     {'global': ['Il semble que nous ayons des problèmes techniques :( On répare ça '
E                 'au plus vite.']}
E     Right contains 3 more items:
E     {'id': 1578, 'name': 'MINISTERE DE LA CULTURE', 'siren': '418166096'}
E     
E     Full diff:
E       {
E     -     'id': 1578,
E     -     'name': 'MINISTERE DE LA CULTURE',
E     -     'siren': '418166096',
E     +     'global': [
E     +         'Il semble que nous ayons des problèmes techniques :( On répare ça au '
E     +         'plus vite.',
E     +     ],
E       }

Check failure on line 102 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_when_no_address_is_provided

assert 500 == 201
 +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
Raw output
tests/routes/pro/post_offerer_test.py:122: in test_when_no_address_is_provided
    assert response.status_code == 201
E   assert 500 == 201
E    +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code

Check failure on line 127 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_use_offerer_name_retrieved_from_sirene_api

assert 500 == 201
 +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
Raw output
tests/routes/pro/post_offerer_test.py:143: in test_use_offerer_name_retrieved_from_sirene_api
    assert response.status_code == 201
E   assert 500 == 201
E    +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code

Check failure on line 147 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_current_user_has_access_to_created_offerer

assert 500 == 201
 +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
Raw output
tests/routes/pro/post_offerer_test.py:166: in test_current_user_has_access_to_created_offerer
    assert response.status_code == 201
E   assert 500 == 201
E    +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code

Check failure on line 253 in tests/routes/pro/post_offerer_test.py

See this annotation in the file changed.

@github-actions github-actions / Pytest Report

tests/routes/pro/post_offerer_test.py.test_saint_martin_offerer_creation_without_postal_code_is_successfull

assert 500 == 201
 +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code
Raw output
tests/routes/pro/post_offerer_test.py:282: in test_saint_martin_offerer_creation_without_postal_code_is_successfull
    assert response.status_code == 201
E   assert 500 == 201
E    +  where 500 = <WrapperTestResponse streamed [500 INTERNAL SERVER ERROR]>.status_code