Clone
1
run 2397 TEST commit f5cefc6
ci-bot edited this page 2025-08-17 13:09:39 +00:00

Test Report

View CI Run 2397 | Commit f5cefc6

🧪 Test Report

Generated on 2025-08-17 15:09:12 CEST

🧾 General Info

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

📋 Summary

  • Passed: 5
  • Failed: 2
  • Total: 7
  • Collected: 7

🔎 Tests

Passed (5)
  • 📄 test_utils_dbusnotify.py

    Function: test_notify_create

    • Test 1

      📌 Setup phase

      duration:

      0.22722098464146256
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012901914305984974
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004783188924193382
      

      outcome:

      passed
      

    Function: test_notify_update

    • Test 2

      📌 Setup phase

      duration:

      0.006286169867962599
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011797063052654266
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002013780176639557
      

      outcome:

      passed
      

    Function: test_get_server_info

    • Test 3

      📌 Setup phase

      duration:

      0.00073288194835186
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015985663048923016
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020348792895674706
      

      outcome:

      passed
      

    Function: test_notify_invalid_value

    • Test 6

      📌 Setup phase

      duration:

      0.0008806861005723476
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001907452940940857
      

      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: 1755436149.9713445
        msecs: 971.3444709777832
        relativeCreated: 7053.879022598267
        thread: 139837799679488
        threadName: MainThread
        processName: MainProcess
        process: 1864
      

      📌 Teardown phase

      duration:

      0.00019838381558656693
      

      outcome:

      passed
      

    Function: test_convert_dbus_strings

    • Test 7

      📌 Setup phase

      duration:

      0.00017862766981124878
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018876884132623672
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000354250892996788
      

      outcome:

      passed
      
Failed (2)
  • 📄 test_utils_dbusnotify.py

    Function: test_get_capabilities

    • Test 4

      📌 Setup phase

      duration:

      0.0006978227756917477
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0019835783168673515
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_dbusnotify.py
      lineno: 104
      message: AssertionError: Capabilities should be a list.
      assert False
       +  where False = isinstance(('actions', 'body', 'icon', 'sound'), list)
      

      traceback:

      -   path: tests/test_utils_dbusnotify.py
        lineno: 104
        message: AssertionError
      

      longrepr:

      notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7f2e3114ba60>
      
          def test_get_capabilities(notifier):
              """Test l'obtention des capacités du serveur."""
              capabilities = notifier.get_capabilities()
      
      >       assert isinstance(capabilities, list), "Capabilities should be a list."
      E       AssertionError: Capabilities should be a list.
      E       assert False
      E        +  where False = isinstance(('actions', 'body', 'icon', 'sound'), list)
      
      tests/test_utils_dbusnotify.py:104: AssertionError
      

      📌 Teardown phase

      duration:

      0.0003444487228989601
      

      outcome:

      passed
      

    Function: test_notify_and_close

    • Test 5

      📌 Setup phase

      duration:

      0.0010683019645512104
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.0037006782367826
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_dbusnotify.py
      lineno: 123
      message: TypeError: '_ProxyMethod' object is not iterable
      

      traceback:

      -   path: tests/test_utils_dbusnotify.py
        lineno: 123
        message: TypeError
      

      longrepr:

      notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7f2e31142f10>
      
          def test_notify_and_close(notifier):
              """Test l'envoi d'une notification et sa fermeture."""
              notification = notifier.notify("Test Close", "This notification will be closed.")
      
              time.sleep(1)
      
              notification.close()
      
              printed_lines = notification.dbn.interface._prints
      >       assert not any(f"Notification {notification.nid} is still visible" in line for line in printed_lines), "Notification was not closed properly."
      E       TypeError: '_ProxyMethod' object is not iterable
      
      tests/test_utils_dbusnotify.py:123: TypeError
      

      📌 Teardown phase

      duration:

      0.0002769017592072487
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_dbusnotify.py
      type: Module
    
tests (3 tests)
  • tests/test_utils_dbusnotify.py
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_dbusnotify.py::DBusTestCase
      type: UnitTestCase
    -   nodeid: tests/test_utils_dbusnotify.py::_DBusEnv
      type: UnitTestCase
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_create
      type: Function
      lineno: 68
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_update
      type: Function
      lineno: 78
    -   nodeid: tests/test_utils_dbusnotify.py::test_get_server_info
      type: Function
      lineno: 89
    -   nodeid: tests/test_utils_dbusnotify.py::test_get_capabilities
      type: Function
      lineno: 99
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_and_close
      type: Function
      lineno: 113
    -   nodeid: tests/test_utils_dbusnotify.py::test_notify_invalid_value
      type: Function
      lineno: 124
    -   nodeid: tests/test_utils_dbusnotify.py::test_convert_dbus_strings
      type: Function
      lineno: 128
    
    • tests/test_utils_dbusnotify.py::DBusTestCase
      • Outcome: passed
      • result:
      []
      
    • tests/test_utils_dbusnotify.py::_DBusEnv
      • Outcome: passed
      • result:
      []
      

⚠️ 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