1 line
5.1 KiB
JSON
1 line
5.1 KiB
JSON
{"created": 1755591690.605104, "duration": 6.532339096069336, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 5, "failed": 1, "total": 6, "collected": 6}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_duo.py", "type": "Module"}]}, {"nodeid": "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}]}, {"nodeid": "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}]}, {"nodeid": "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": [{"nodeid": "tests/test_utils_duo.py::TestPickledDictReal::test_set_get", "lineno": 16, "outcome": "passed", "keywords": ["test_set_get", "TestPickledDictReal", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.00046348804607987404, "outcome": "passed"}, "call": {"duration": 0.009409487713128328, "outcome": "passed"}, "teardown": {"duration": 0.00031893327832221985, "outcome": "passed"}}, {"nodeid": "tests/test_utils_duo.py::TestPickledDictReal::test_load", "lineno": 50, "outcome": "passed", "keywords": ["test_load", "TestPickledDictReal", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.00015559326857328415, "outcome": "passed"}, "call": {"duration": 0.0013215052895247936, "outcome": "passed"}, "teardown": {"duration": 0.00016188016161322594, "outcome": "passed"}}, {"nodeid": "tests/test_utils_duo.py::TestSecrets::test_secret_workflow", "lineno": 94, "outcome": "passed", "keywords": ["test_secret_workflow", "TestSecrets", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.0009511490352451801, "outcome": "passed"}, "call": {"duration": 0.0022433381527662277, "outcome": "passed"}, "teardown": {"duration": 0.000419864896684885, "outcome": "passed"}}, {"nodeid": "tests/test_utils_duo.py::TestSecrets::test_multiple_secrets", "lineno": 111, "outcome": "passed", "keywords": ["test_multiple_secrets", "TestSecrets", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.0006647054105997086, "outcome": "passed"}, "call": {"duration": 0.001728104893118143, "outcome": "passed"}, "teardown": {"duration": 0.0003946302458643913, "outcome": "passed"}}, {"nodeid": "tests/test_utils_duo.py::TestSecrets::test_keyboard_interrupt", "lineno": 123, "outcome": "passed", "keywords": ["test_keyboard_interrupt", "TestSecrets", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.0006458028219640255, "outcome": "passed"}, "call": {"duration": 0.0010310611687600613, "outcome": "passed"}, "teardown": {"duration": 0.0003735753707587719, "outcome": "passed"}}, {"nodeid": "tests/test_utils_duo.py::test_list_pgroups", "lineno": 136, "outcome": "failed", "keywords": ["test_list_pgroups", "test_utils_duo.py", "tests", "slic", ""], "setup": {"duration": 0.00013453513383865356, "outcome": "passed"}, "call": {"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():\n \"\"\"Return the list of available pgroups (IDs and names).\"\"\"\n KEY = \"fried-BRAN-gorgon-togo-fledge-mummify-dustbin-advert\"\n headers = {\"x-api-secret\": KEY}\n \n resp = requests.get(URL, headers=headers)\n resp.raise_for_status()\n \n data = resp.json()\n \n # Les structures d\u2019API peuvent varier, tu adaptes selon la vraie r\u00e9ponse\n groups = []\n for g in data:\n> group_id = g.get(\"id\") or g.get(\"pgroup\") or \"unknown\"\nE AttributeError: 'str' object has no attribute 'get'\n\ntests/test_utils_duo.py:150: AttributeError"}, "teardown": {"duration": 0.00030455831438302994, "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}]} |