1 line
33 KiB
JSON
1 line
33 KiB
JSON
{"created": 1755432462.0036187, "duration": 5.485975503921509, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"error": 7, "total": 7, "collected": 7}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_dbusnotify.py", "type": "Module"}]}, {"nodeid": "tests/test_utils_dbusnotify.py::DBusTestCase", "outcome": "passed", "result": []}, {"nodeid": "tests/test_utils_dbusnotify.py::_DBusEnv", "outcome": "passed", "result": []}, {"nodeid": "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": 62}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_update", "type": "Function", "lineno": 72}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_server_info", "type": "Function", "lineno": 83}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_capabilities", "type": "Function", "lineno": 93}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_and_close", "type": "Function", "lineno": 107}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_invalid_value", "type": "Function", "lineno": 118}, {"nodeid": "tests/test_utils_dbusnotify.py::test_convert_dbus_strings", "type": "Function", "lineno": 122}]}], "tests": [{"nodeid": "tests/test_utils_dbusnotify.py::test_notify_create", "lineno": 62, "outcome": "error", "keywords": ["test_notify_create", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.32618488697335124, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "log": [{"name": "dbus.connection", "msg": "Unable to set arguments ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2']) according to signature 'sssss': <class 'TypeError'>: Expected a string or unicode object", "args": null, "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": null, "exc_text": null, "stack_info": null, "lineno": 628, "funcName": "call_blocking", "created": 1755432460.680214, "msecs": 680.2139282226562, "relativeCreated": 5732.745170593262, "thread": 140548551276032, "threadName": "MainThread", "processName": "MainProcess", "process": 1873}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.0003587440587580204, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_update", "lineno": 72, "outcome": "error", "keywords": ["test_notify_update", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0002937549725174904, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.00018486706539988518, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_server_info", "lineno": 83, "outcome": "error", "keywords": ["test_get_server_info", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0001906082034111023, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.00019226083531975746, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_get_capabilities", "lineno": 93, "outcome": "error", "keywords": ["test_get_capabilities", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.0001827985979616642, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.0002311919815838337, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_and_close", "lineno": 107, "outcome": "error", "keywords": ["test_notify_and_close", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00020575104281306267, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.0002227979712188244, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_notify_invalid_value", "lineno": 118, "outcome": "error", "keywords": ["test_notify_invalid_value", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00019211787730455399, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.0002233288250863552, "outcome": "passed"}}, {"nodeid": "tests/test_utils_dbusnotify.py::test_convert_dbus_strings", "lineno": 122, "outcome": "error", "keywords": ["test_convert_dbus_strings", "test_utils_dbusnotify.py", "tests", "slic", ""], "setup": {"duration": 0.00022784899920225143, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError: Expected a string or unicode object"}, "traceback": [{"path": "tests/test_utils_dbusnotify.py", "lineno": 44, "message": ""}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 72, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py", "lineno": 141, "message": "in __call__"}, {"path": ".pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py", "lineno": 625, "message": "TypeError"}], "longrepr": "@pytest.fixture(scope=\"session\", autouse=True)\n def _dbus_session_notifications():\n # 1) lancer un bus de session\n _DBusEnv.start_session_bus()\n \n # 2) d\u00e9marrer le service Notifications (ARGUMENTS POSITIONNELS)\n p_mock = _DBusEnv.spawn_server(\n 'org.freedesktop.Notifications',\n '/org/freedesktop/Notifications',\n 'org.freedesktop.Notifications',\n False, # system_bus\n None # stdout\n )\n \n # 3) r\u00e9cup\u00e9rer l'objet via le bus\n bus = _DBusEnv.get_dbus(False) # False => session bus\n obj = bus.get_object('org.freedesktop.Notifications',\n '/org/freedesktop/Notifications')\n mock = dbus.Interface(obj, MOCK_IFACE)\n \n # 4) d\u00e9finir les m\u00e9thodes minimales\n> mock.AddMethod('org.freedesktop.Notifications', 'GetServerInformation',\n '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\n\ntests/test_utils_dbusnotify.py:44: \n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:72: in __call__\n return self._proxy_method(*args, **keywords)\n.pixi/envs/default/lib/python3.8/site-packages/dbus/proxies.py:141: in __call__\n return self._connection.call_blocking(self._named_service,\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \n\nself = <dbus.bus.BusConnection object at 0x7fd3ad2ad680>\nbus_name = dbus.String(':1.2'), object_path = '/org/freedesktop/Notifications'\ndbus_interface = 'org.freedesktop.DBus.Mock', method = 'AddMethod'\nsignature = 'sssss'\nargs = ('org.freedesktop.Notifications', 'GetServerInformation', '', 'ssss', ['pytest-notify', 'pytest-vendor', '1.0', '1.2'])\ntimeout = -1.0, byte_arrays = False, kwargs = {}\nget_args_opts = {'byte_arrays': False}\nmessage = <dbus.lowlevel.MethodCallMessage path: n/a, iface: n/a, member: n/a dest: n/a>\n\n def call_blocking(self, bus_name, object_path, dbus_interface, method,\n signature, args, timeout=-1.0,\n byte_arrays=False, **kwargs):\n \"\"\"Call the given method, synchronously.\n :Since: 0.81.0\n \"\"\"\n if object_path == LOCAL_PATH:\n raise DBusException('Methods may not be called on the reserved '\n 'path %s' % LOCAL_PATH)\n if dbus_interface == LOCAL_IFACE:\n raise DBusException('Methods may not be called on the reserved '\n 'interface %s' % LOCAL_IFACE)\n # no need to validate other args - MethodCallMessage ctor will do\n \n get_args_opts = dict(byte_arrays=byte_arrays)\n if 'utf8_strings' in kwargs:\n raise TypeError(\"unexpected keyword argument 'utf8_strings'\")\n \n message = MethodCallMessage(destination=bus_name,\n path=object_path,\n interface=dbus_interface,\n method=method)\n # Add the arguments to the function\n try:\n> message.append(signature=signature, *args)\nE TypeError: Expected a string or unicode object\n\n.pixi/envs/default/lib/python3.8/site-packages/dbus/connection.py:625: TypeError"}, "teardown": {"duration": 0.0002737129107117653, "outcome": "passed"}}], "warnings": [{"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}, {"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}]} |