Clone
1
run 2416 TEST commit 274c04b
ci-bot edited this page 2025-08-18 14:10:36 +00:00

Test Report

View CI Run 2416 | Commit 274c04b

🧪 Test Report

Generated on 2025-08-18 16:10:09 CEST

🧾 General Info

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

📋 Summary

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

🔎 Tests

Passed (6)
  • 📄 test_utils_dbusnotify.py

    Function: test_notify_create

    • Test 1

      📌 Setup phase

      duration:

      4.5293040201067924
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.007664920762181282
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00028381915763020515
      

      outcome:

      passed
      

    Function: test_notify_update

    • Test 2

      📌 Setup phase

      duration:

      0.00020020129159092903
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.018191589042544365
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020121969282627106
      

      outcome:

      passed
      

    Function: test_get_server_info

    • Test 3

      📌 Setup phase

      duration:

      0.00016793003305792809
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0026738299056887627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015498511493206024
      

      outcome:

      passed
      

    Function: test_get_capabilities

    • Test 4

      📌 Setup phase

      duration:

      0.00015963008627295494
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006148400716483593
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011694524437189102
      

      outcome:

      passed
      

    Function: test_notify_invalid_value

    • Test 6

      📌 Setup phase

      duration:

      0.0001647532917559147
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006091948598623276
      

      outcome:

      passed
      

      log:

      -   name: dbus.connection
        msg: Unable to set arguments ('', 0, '', 'Invalid Test', 1234, (), {}, 0) according to signature 'susssasa{sv}i': <class 'TypeError'>: Expected a string or unicode object
        args: None
        levelname: ERROR
        levelno: 40
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py
        filename: connection.py
        module: connection
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 628
        funcName: call_blocking
        created: 1755526207.1990192
        msecs: 199.019193649292
        relativeCreated: 6659.2652797698975
        thread: 140315933353472
        threadName: MainThread
        processName: MainProcess
        process: 2926
      

      📌 Teardown phase

      duration:

      0.00013153767213225365
      

      outcome:

      passed
      

    Function: test_convert_dbus_strings

    • Test 7

      📌 Setup phase

      duration:

      0.00011922093108296394
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016436586156487465
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015786895528435707
      

      outcome:

      passed
      
Failed (1)
  • 📄 test_utils_dbusnotify.py

    Function: test_notify_and_close

    • Test 5

      📌 Setup phase

      duration:

      0.00015250314027071
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20476177940145135
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_dbusnotify.py
      lineno: 79
      message: AttributeError: 'Notification' object has no attribute 'id'
      

      traceback:

      -   path: tests/test_utils_dbusnotify.py
        lineno: 79
        message: AttributeError
      

      longrepr:

      notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7f9d7e96c1c0>
      
          def test_notify_and_close(notifier):
              """Test envoi + fermeture d'une notification."""
              notification = notifier.notify("Test Close", "This notification will be closed.")
              time.sleep(0.2)  # petite marge
              notification.close()
      
              # On ne peut pas lire stdout de dunst ici → on vérifie juste que ça ne crashe pas
      >       assert notification.id is not None
      E       AttributeError: 'Notification' object has no attribute 'id'
      
      tests/test_utils_dbusnotify.py:79: AttributeError
      

      📌 Teardown phase

      duration:

      0.00022023078054189682
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_dbusnotify.py
      type: Module
    
tests (2 tests)
  • tests/test_utils_dbusnotify.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_dbusnotify.py::DBusTestCase
      type: UnitTestCase
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_create
      type: Function
      lineno: 26
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_update
      type: Function
      lineno: 36
    -   nodeid: tests/test_utils_dbusnotify.py::test_get_server_info
      type: Function
      lineno: 45
    -   nodeid: tests/test_utils_dbusnotify.py::test_get_capabilities
      type: Function
      lineno: 56
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_and_close
      type: Function
      lineno: 71
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_invalid_value
      type: Function
      lineno: 81
    -   nodeid: tests/test_utils_dbusnotify.py::test_convert_dbus_strings
      type: Function
      lineno: 87
    
    • tests/test_utils_dbusnotify.py::DBusTestCase
      • Outcome: passed
      • result:
      []
      

⚠️ Warnings

Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: runtest
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: runtest
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/scipy/fft/__init__.py
lineno: 97