Table of Contents
Test Report
View CI Run 2396 | Commit 0a7b5a2
🧪 Test Report
Generated on 2025-08-17 14:23:19 CEST
🧾 General Info
- duration: 6.23044228553772
- root: /workspace/tligui_y/slic
- environment: {}
📋 Summary
- Failed: 3
- Passed: 4
- Total: 7
- Collected: 7
🔎 Tests
❌ Failed (3)
-
📄 test_utils_dbusnotify.py
↳ Function: test_notify_create
-
❌ Test 1
📌 Setup phase
duration:
0.32390714809298515outcome:
passed📌 Call phase
duration:
0.0012553180567920208outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_dbusnotify.py lineno: 74 message: NameError: name 'Notification' is not definedtraceback:
- path: tests/test_utils_dbusnotify.py lineno: 74 message: NameErrorlongrepr:
notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7ff89ecd7c40> def test_notify_create(notifier): """Test la création d'une notification.""" notification = notifier.notify("Test Notification", "This is a test notification.") # Vérifie que l'objet Notification est bien créé > assert isinstance(notification, Notification) E NameError: name 'Notification' is not defined tests/test_utils_dbusnotify.py:74: NameError📌 Teardown phase
duration:
0.0004023588262498379outcome:
passed
↳ Function: test_get_capabilities
-
❌ Test 4
📌 Setup phase
duration:
0.0007760412991046906outcome:
passed📌 Call phase
duration:
0.0017377841286361217outcome:
failedcrash:
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: AssertionErrorlongrepr:
notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7ff89e719d60> 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.0001840568147599697outcome:
passed
↳ Function: test_notify_and_close
-
❌ Test 5
📌 Setup phase
duration:
0.0006620087660849094outcome:
passed📌 Call phase
duration:
1.003385219257325outcome:
failedcrash:
path: /workspace/tligui_y/slic/tests/test_utils_dbusnotify.py lineno: 123 message: TypeError: '_ProxyMethod' object is not iterabletraceback:
- path: tests/test_utils_dbusnotify.py lineno: 123 message: TypeErrorlongrepr:
notifier = <slic.utils.dbusnotify.DBusNotify object at 0x7ff89ece0a30> 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.0002553989179432392outcome:
passed
-
✅ Passed (4)
-
📄 test_utils_dbusnotify.py
↳ Function: test_notify_update
-
✅ Test 2
📌 Setup phase
duration:
0.0009252699092030525outcome:
passed📌 Call phase
duration:
0.002178632188588381outcome:
passed📌 Teardown phase
duration:
0.0001850607804954052outcome:
passed
↳ Function: test_get_server_info
-
✅ Test 3
📌 Setup phase
duration:
0.0006676251068711281outcome:
passed📌 Call phase
duration:
0.0017243321053683758outcome:
passed📌 Teardown phase
duration:
0.0001673959195613861outcome:
passed
↳ Function: test_notify_invalid_value
-
✅ Test 6
📌 Setup phase
duration:
0.0008480860851705074outcome:
passed📌 Call phase
duration:
0.001996041741222143outcome:
passedlog:
- 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: 1755433396.4591799 msecs: 459.1798782348633 relativeCreated: 6833.262205123901 thread: 140707219023360 threadName: MainThread processName: MainProcess process: 1855📌 Teardown phase
duration:
0.0001882254146039486outcome:
passed
↳ Function: test_convert_dbus_strings
-
✅ Test 7
📌 Setup phase
duration:
0.0001665889285504818outcome:
passed📌 Call phase
duration:
0.0001570708118379116outcome:
passed📌 Teardown phase
duration:
0.00024965545162558556outcome:
passed
-
📚 Collected files
✅ (1 tests)
-
✅
- Outcome:
passed - result:
- nodeid: tests/test_utils_dbusnotify.py type: Module - Outcome:
✅ 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:
[] - Outcome:
-
✅ tests/test_utils_dbusnotify.py::_DBusEnv
- Outcome:
passed - result:
[] - Outcome:
- Outcome:
⚠️ 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