Clone
1
run 2419 TEST commit 7be305c
ci-bot edited this page 2025-08-19 08:21:59 +00:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Test Report

View CI Run 2419 | Commit 7be305c

🧪 Test Report

Generated on 2025-08-19 10:21:32 CEST

🧾 General Info

  • duration: 6.532339096069336
  • root: /workspace/tligui_y/slic
  • environment: {}

📋 Summary

  • Passed: 5
  • Failed: 1
  • Total: 6
  • Collected: 6

🔎 Tests

Passed (5)
  • 📄 test_utils_duo.py

    Function: TestPickledDictReal

    • Test 1

      📌 Setup phase

      duration:

      0.00046348804607987404
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.009409487713128328
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00031893327832221985
      

      outcome:

      passed
      
    • Test 2

      📌 Setup phase

      duration:

      0.00015559326857328415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013215052895247936
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016188016161322594
      

      outcome:

      passed
      

    Function: TestSecrets

    • Test 3

      📌 Setup phase

      duration:

      0.0009511490352451801
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0022433381527662277
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000419864896684885
      

      outcome:

      passed
      
    • Test 4

      📌 Setup phase

      duration:

      0.0006647054105997086
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001728104893118143
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003946302458643913
      

      outcome:

      passed
      
    • Test 5

      📌 Setup phase

      duration:

      0.0006458028219640255
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010310611687600613
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0003735753707587719
      

      outcome:

      passed
      
Failed (1)
  • 📄 test_utils_duo.py

    Function: test_list_pgroups

    • Test 6

      📌 Setup phase

      duration:

      0.00013453513383865356
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.11597850499674678
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_duo.py
      lineno: 150
      message: AttributeError: 'str' object has no attribute 'get'
      

      traceback:

      -   path: tests/test_utils_duo.py
        lineno: 150
        message: AttributeError
      

      longrepr:

      def test_list_pgroups():
              """Return the list of available pgroups (IDs and names)."""
              KEY = "fried-BRAN-gorgon-togo-fledge-mummify-dustbin-advert"
              headers = {"x-api-secret": KEY}
      
              resp = requests.get(URL, headers=headers)
              resp.raise_for_status()
      
              data = resp.json()
      
              # Les structures dAPI peuvent varier, tu adaptes selon la vraie réponse
              groups = []
              for g in data:
      >           group_id = g.get("id") or g.get("pgroup") or "unknown"
      E           AttributeError: 'str' object has no attribute 'get'
      
      tests/test_utils_duo.py:150: AttributeError
      

      📌 Teardown phase

      duration:

      0.00030455831438302994
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_duo.py
      type: Module
    
tests (3 tests)
  • tests/test_utils_duo.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_duo.py::TestPickledDictReal
      type: Class
    -   nodeid: tests/test_utils_duo.py::TestSecrets
      type: Class
    -   nodeid: tests/test_utils_duo.py::test_list_pgroups
      type: Function
      lineno: 136
    
    • tests/test_utils_duo.py::TestPickledDictReal
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_duo.py::TestPickledDictReal::test_set_get
        type: Function
        lineno: 16
      -   nodeid: tests/test_utils_duo.py::TestPickledDictReal::test_load
        type: Function
        lineno: 50
      
    • tests/test_utils_duo.py::TestSecrets
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_secret_workflow
        type: Function
        lineno: 94
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_multiple_secrets
        type: Function
        lineno: 111
      -   nodeid: tests/test_utils_duo.py::TestSecrets::test_keyboard_interrupt
        type: Function
        lineno: 123
      

⚠️ Warnings

Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsread/h5.py
lineno: 207
Warnings nº2
message: The module numpy.dual is deprecated.  Instead of using dual, use the functions directly from numpy or scipy.
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/scipy/fft/__init__.py
lineno: 97