diff --git a/ci-reports/markdown/TEST-REPORT.md b/ci-reports/markdown/TEST-REPORT.md index 1b290a4f9..02b7117fb 100644 --- a/ci-reports/markdown/TEST-REPORT.md +++ b/ci-reports/markdown/TEST-REPORT.md @@ -11,7 +11,7 @@ FAILED tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ] - assert False == True FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ] - assert False == True FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ] - assert False == True -=================== 4 failed, 28 passed, 4 warnings in 7.60s =================== +=================== 4 failed, 28 passed, 4 warnings in 7.36s =================== ``` @@ -19,13 +19,13 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu πŸͺ΅ Full raw pytest log ```python -[E 250722 11:56:39 tools:40] cannot assign endstation to IP 172.18.0.3 (cab99edb8621) -[W 250722 11:56:40 alarm:13] could not set up DBusNotify: No module named 'dbus' +[E 250722 12:10:39 tools:40] cannot assign endstation to IP 172.18.0.3 (291f2f3f888d) +[W 250722 12:10:40 alarm:13] could not set up DBusNotify: No module named 'dbus' ============================= test session starts ============================== platform linux -- Python 3.8.20, pytest-8.3.4, pluggy-1.5.0 rootdir: /workspace/tligui_y/slic -plugins: allure-pytest-2.13.5, cov-5.0.0, html-4.1.1, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 -]0;⊚slic[W 250722 11:56:41 pvpreload:38] PV preload file not loaded due to: FileNotFoundError: [Errno 2] No such file or directory: '/root/.slic/pvpreload' +plugins: cov-5.0.0, html-4.1.1, allure-pytest-2.13.5, metadata-3.1.1, json-report-1.5.0, md-report-0.6.2 +]0;⊚slic[W 250722 12:10:41 pvpreload:38] PV preload file not loaded due to: FileNotFoundError: [Errno 2] No such file or directory: '/root/.slic/pvpreload' collected 32 items tests/test_bis.py ..F.......... @@ -216,21 +216,17 @@ FAILED tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ] - assert False == True FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ] - assert False == True FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ] - assert False == True -=================== 4 failed, 28 passed, 4 warnings in 7.60s =================== -/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/workspace/tligui_y/slic/test-ci/conftest.py': No source for code: '/workspace/tligui_y/slic/test-ci/conftest.py'. (couldnt-parse) - coverage._warn(msg, slug="couldnt-parse") -/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/workspace/tligui_y/slic/test-ci/conftest.py': No source for code: '/workspace/tligui_y/slic/test-ci/conftest.py'. (couldnt-parse) - coverage._warn(msg, slug="couldnt-parse") +=================== 4 failed, 28 passed, 4 warnings in 7.36s =================== ]0;Terminal``` --- # πŸ§ͺ Test Report -*Generated on 2025-07-22 13:56:46 CEST* +*Generated on 2025-07-22 14:10:46 CEST* ## 🧾 General Info -- **duration**: 7.606374025344849 +- **duration**: 7.359919309616089 - **root**: /workspace/tligui_y/slic - **environment**: {} @@ -250,14 +246,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ↳ Function: test_ask_yes_no_with_defaults -
- βœ… Test 1 + βœ… Test 1
(params: default=None, user_input=y, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: y + expected_output: True + expected_prompt: Question? [y/n] + id: None-y-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0006665640976279974 + 0.0006609160918742418 ``` **outcome:** @@ -271,7 +278,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0007005028892308474 + 0.0006735671777278185 ``` **outcome:** @@ -285,7 +292,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00028226408176124096 + 0.0004555040504783392 ``` **outcome:** @@ -295,14 +302,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 2 + βœ… Test 2
(params: default=None, user_input=yes, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: yes + expected_output: True + expected_prompt: Question? [y/n] + id: None-yes-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0003137232270091772 + 0.00036447495222091675 ``` **outcome:** @@ -316,7 +334,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0006471839733421803 + 0.0005084399599581957 ``` **outcome:** @@ -330,7 +348,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001756269484758377 + 0.0001921551302075386 ``` **outcome:** @@ -340,14 +358,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 4 + βœ… Test 4
(params: default=None, user_input=no, expected_output=False, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: no + expected_output: False + expected_prompt: Question? [y/n] + id: None-no-False-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0003857079427689314 + 0.0003977769520133734 ``` **outcome:** @@ -361,7 +390,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0006651089061051607 + 0.0006507581565529108 ``` **outcome:** @@ -375,7 +404,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00017299200408160686 + 0.0002005249261856079 ``` **outcome:** @@ -385,14 +414,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 5 + βœ… Test 5
(params: default=None, user_input=[maybe, y], expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - maybe + - y + expected_output: True + expected_prompt: Question? [y/n] + id: None-user_input4-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00031888997182250023 + 0.0003416868858039379 ``` **outcome:** @@ -406,7 +448,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005320070777088404 + 0.0005657358560711145 ``` **outcome:** @@ -420,7 +462,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00017235102131962776 + 0.00018950412049889565 ``` **outcome:** @@ -430,14 +472,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 6 + βœ… Test 6
(params: default=None, user_input=[, no], expected_output=False, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - (vide) + - no + expected_output: False + expected_prompt: Question? [y/n] + id: None-user_input5-False-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00030244607478380203 + 0.0003185721579939127 ``` **outcome:** @@ -451,7 +506,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005300689954310656 + 0.000516833970323205 ``` **outcome:** @@ -465,7 +520,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016311602666974068 + 0.00018588919192552567 ``` **outcome:** @@ -475,14 +530,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 7 + βœ… Test 7
(params: default=None, user_input=[invalid, yes], expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - invalid + - yes + expected_output: True + expected_prompt: Question? [y/n] + id: None-user_input6-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0003076731227338314 + 0.0003334609791636467 ``` **outcome:** @@ -496,7 +564,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.000589634058997035 + 0.000600120984017849 ``` **outcome:** @@ -510,7 +578,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00017368304543197155 + 0.00018696114420890808 ``` **outcome:** @@ -520,14 +588,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 8 + βœ… Test 8
(params: default=y, user_input=y, expected_output=True, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: y + expected_output: True + expected_prompt: Question? [Y/n] + id: y-y-True-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002939992118626833 + 0.00032755895517766476 ``` **outcome:** @@ -541,7 +620,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004879571497440338 + 0.0004959399811923504 ``` **outcome:** @@ -555,7 +634,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016390602104365826 + 0.0001809119712561369 ``` **outcome:** @@ -565,14 +644,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 9 + βœ… Test 9
(params: default=y, user_input=n, expected_output=False, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: n + expected_output: False + expected_prompt: Question? [Y/n] + id: y-n-False-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00030472781509160995 + 0.0003249580040574074 ``` **outcome:** @@ -586,7 +676,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00047870795242488384 + 0.0005066359881311655 ``` **outcome:** @@ -600,7 +690,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001700089778751135 + 0.000188496895134449 ``` **outcome:** @@ -610,14 +700,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 10 + βœ… Test 10
(params: default=y, user_input=, expected_output=True, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: None + expected_output: True + expected_prompt: Question? [Y/n] + id: y--True-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002933910582214594 + 0.0003236790653318167 ``` **outcome:** @@ -631,7 +732,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004817349836230278 + 0.0004874730948358774 ``` **outcome:** @@ -645,7 +746,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001614780630916357 + 0.00018818979151546955 ``` **outcome:** @@ -655,14 +756,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 11 + βœ… Test 11
(params: default=n, user_input=y, expected_output=True, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: y + expected_output: True + expected_prompt: Question? [y/N] + id: n-y-True-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00030470406636595726 + 0.0003155141603201628 ``` **outcome:** @@ -676,7 +788,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.000582149950787425 + 0.0015102841425687075 ``` **outcome:** @@ -690,7 +802,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001746760681271553 + 0.00019782502204179764 ``` **outcome:** @@ -700,14 +812,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 12 + βœ… Test 12
(params: default=n, user_input=n, expected_output=False, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: n + expected_output: False + expected_prompt: Question? [y/N] + id: n-n-False-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00029239896684885025 + 0.0003225679975003004 ``` **outcome:** @@ -721,7 +844,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00048049516044557095 + 0.0005023051053285599 ``` **outcome:** @@ -735,7 +858,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001632370986044407 + 0.00019968906417489052 ``` **outcome:** @@ -745,14 +868,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 13 + βœ… Test 13
(params: default=n, user_input=, expected_output=False, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: None + expected_output: False + expected_prompt: Question? [y/N] + id: n--False-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00031317584216594696 + 0.0003323471173644066 ``` **outcome:** @@ -766,7 +900,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00047427299432456493 + 0.0004904109518975019 ``` **outcome:** @@ -780,7 +914,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00015159393660724163 + 0.0001887320540845394 ``` **outcome:** @@ -798,7 +932,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001088420394808054 + 0.00011860812082886696 ``` **outcome:** @@ -812,7 +946,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00048737996257841587 + 0.0004985879641026258 ``` **outcome:** @@ -826,7 +960,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00010850699618458748 + 0.00012192199937999249 ``` **outcome:** @@ -837,14 +971,23 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu
↳ Function: test_ask_yes_no_ctrl_d -
- βœ… Test 15 + βœ… Test 15
(params: ctrl_d=n, expected_result=False)
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + ctrl_d: n + expected_result: False + id: n-False + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00021557696163654327 + 0.0002443131525069475 ``` **outcome:** @@ -858,7 +1001,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005672948900610209 + 0.000595359830185771 ``` **outcome:** @@ -872,7 +1015,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00014477991499006748 + 0.00015733507461845875 ``` **outcome:** @@ -882,14 +1025,23 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 16 + βœ… Test 16
(params: ctrl_d=y, expected_result=True)
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + ctrl_d: y + expected_result: True + id: y-True + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00022029713727533817 + 0.00022997800260782242 ``` **outcome:** @@ -903,7 +1055,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00046584196388721466 + 0.0005136060062795877 ``` **outcome:** @@ -917,7 +1069,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00014809099957346916 + 0.00015586591325700283 ``` **outcome:** @@ -933,14 +1085,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ↳ Function: test_ask_yes_no_with_defaults -
- βœ… Test 17 + βœ… Test 17
(params: default=None, user_input=y, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: y + expected_output: True + expected_prompt: Question? [y/n] + id: None-y-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00031222193501889706 + 0.00032760994508862495 ``` **outcome:** @@ -954,7 +1117,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004954668693244457 + 0.0005072259809821844 ``` **outcome:** @@ -968,7 +1131,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016412604600191116 + 0.00018193782307207584 ``` **outcome:** @@ -978,14 +1141,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 18 + βœ… Test 18
(params: default=None, user_input=yes, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: yes + expected_output: True + expected_prompt: Question? [y/n] + id: None-yes-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002974029630422592 + 0.00032937200739979744 ``` **outcome:** @@ -999,7 +1173,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005067619495093822 + 0.00057938601821661 ``` **outcome:** @@ -1013,7 +1187,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016528600826859474 + 0.0001797419972717762 ``` **outcome:** @@ -1023,14 +1197,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 20 + βœ… Test 20
(params: default=None, user_input=no, expected_output=False, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: no + expected_output: False + expected_prompt: Question? [y/n] + id: None-no-False-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00032146601006388664 + 0.00034245196729898453 ``` **outcome:** @@ -1044,7 +1229,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005179429426789284 + 0.0004996000789105892 ``` **outcome:** @@ -1058,7 +1243,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00017545092850923538 + 0.00020011188462376595 ``` **outcome:** @@ -1068,14 +1253,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 21 + βœ… Test 21
(params: default=None, user_input=[maybe, y], expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - maybe + - y + expected_output: True + expected_prompt: Question? [y/n] + id: None-user_input4-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.000298843951895833 + 0.0003290281165391207 ``` **outcome:** @@ -1089,7 +1287,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005100679118186235 + 0.0005175340920686722 ``` **outcome:** @@ -1103,7 +1301,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016331602819263935 + 0.0001877231989055872 ``` **outcome:** @@ -1113,14 +1311,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 22 + βœ… Test 22
(params: default=None, user_input=[, no], expected_output=False, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - (vide) + - no + expected_output: False + expected_prompt: Question? [y/n] + id: None-user_input5-False-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0003074479755014181 + 0.00031687505543231964 ``` **outcome:** @@ -1134,7 +1345,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005018080119043589 + 0.0005247639492154121 ``` **outcome:** @@ -1148,7 +1359,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00018232199363410473 + 0.00019484106451272964 ``` **outcome:** @@ -1158,14 +1369,27 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 23 + βœ… Test 23
(params: default=None, user_input=[invalid, yes], expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: + - invalid + - yes + expected_output: True + expected_prompt: Question? [y/n] + id: None-user_input6-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002985019236803055 + 0.00032937596552073956 ``` **outcome:** @@ -1179,7 +1403,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0006132191047072411 + 0.0006298399530351162 ``` **outcome:** @@ -1193,7 +1417,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016417820006608963 + 0.0001835778821259737 ``` **outcome:** @@ -1203,14 +1427,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 24 + βœ… Test 24
(params: default=y, user_input=y, expected_output=True, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: y + expected_output: True + expected_prompt: Question? [Y/n] + id: y-y-True-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0003162659704685211 + 0.0003186140675097704 ``` **outcome:** @@ -1224,7 +1459,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004776997957378626 + 0.0004822749178856611 ``` **outcome:** @@ -1238,7 +1473,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016502104699611664 + 0.00017571914941072464 ``` **outcome:** @@ -1248,14 +1483,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 26 + βœ… Test 26
(params: default=y, user_input=, expected_output=True, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: None + expected_output: True + expected_prompt: Question? [Y/n] + id: y--True-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00030801608227193356 + 0.00033637508749961853 ``` **outcome:** @@ -1269,7 +1515,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005082229617983103 + 0.0005188200157135725 ``` **outcome:** @@ -1283,7 +1529,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0001612221822142601 + 0.0001931600272655487 ``` **outcome:** @@ -1293,14 +1539,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 27 + βœ… Test 27
(params: default=n, user_input=y, expected_output=True, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: y + expected_output: True + expected_prompt: Question? [y/N] + id: n-y-True-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00030491407960653305 + 0.00033035106025636196 ``` **outcome:** @@ -1314,7 +1571,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004800199531018734 + 0.0004995460622012615 ``` **outcome:** @@ -1328,7 +1585,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016599404625594616 + 0.00018156110309064388 ``` **outcome:** @@ -1338,14 +1595,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 29 + βœ… Test 29
(params: default=n, user_input=, expected_output=False, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: None + expected_output: False + expected_prompt: Question? [y/N] + id: n--False-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00031479401513934135 + 0.00033717392943799496 ``` **outcome:** @@ -1359,7 +1627,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0005120988935232162 + 0.0005116418469697237 ``` **outcome:** @@ -1373,7 +1641,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00016082311049103737 + 0.00018932088278234005 ``` **outcome:** @@ -1391,7 +1659,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00011098594404757023 + 0.00011703209020197392 ``` **outcome:** @@ -1405,7 +1673,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004827110096812248 + 0.0004869811236858368 ``` **outcome:** @@ -1419,7 +1687,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00011503510177135468 + 0.00012708292342722416 ``` **outcome:** @@ -1430,14 +1698,23 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu
↳ Function: test_ask_yes_no_ctrl_d -
- βœ… Test 31 + βœ… Test 31
(params: ctrl_d=n, expected_result=False)
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + ctrl_d: n + expected_result: False + id: n-False + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00022256094962358475 + 0.0002455790527164936 ``` **outcome:** @@ -1451,7 +1728,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0004673681687563658 + 0.0005011670291423798 ``` **outcome:** @@ -1465,7 +1742,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00013598008081316948 + 0.00015226402319967747 ``` **outcome:** @@ -1475,14 +1752,23 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- βœ… Test 32 + βœ… Test 32
(params: ctrl_d=y, expected_result=True)
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + ctrl_d: y + expected_result: True + id: y-True + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00022283988073468208 + 0.00024452595971524715 ``` **outcome:** @@ -1496,7 +1782,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.000582491047680378 + 0.0005928180180490017 ``` **outcome:** @@ -1510,7 +1796,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00014060013927519321 + 0.0001644650474190712 ``` **outcome:** @@ -1531,14 +1817,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ↳ Function: test_ask_yes_no_with_defaults -
- ❌ Test 3 + ❌ Test 3
(params: default=None, user_input=n, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: n + expected_output: True + expected_prompt: Question? [y/n] + id: None-n-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002935549709945917 + 0.0003137520980089903 ``` **outcome:** @@ -1552,7 +1849,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0008268728852272034 + 0.0008842169772833586 ``` **outcome:** @@ -1622,7 +1919,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.000324747059494257 + 0.0003306618891656399 ``` **outcome:** @@ -1638,14 +1935,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ↳ Function: test_ask_yes_no_with_defaults -
- ❌ Test 19 + ❌ Test 19
(params: default=None, user_input=n, expected_output=True, expected_prompt=Question? [y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: None + user_input: n + expected_output: True + expected_prompt: Question? [y/n] + id: None-n-True-Question? [y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002971088979393244 + 0.00030957814306020737 ``` **outcome:** @@ -1659,7 +1967,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0015243291854858398 + 0.0006500249728560448 ``` **outcome:** @@ -1729,7 +2037,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00020265812054276466 + 0.0002101778518408537 ``` **outcome:** @@ -1739,14 +2047,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- ❌ Test 25 + ❌ Test 25
(params: default=y, user_input=n, expected_output=True, expected_prompt=Question? [Y/n] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: y + user_input: n + expected_output: True + expected_prompt: Question? [Y/n] + id: y-n-True-Question? [Y/n] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.0002929649781435728 + 0.00031067105010151863 ``` **outcome:** @@ -1760,7 +2079,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0006422048900276423 + 0.0006272669415920973 ``` **outcome:** @@ -1830,7 +2149,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00020531285554170609 + 0.0002070581540465355 ``` **outcome:** @@ -1840,14 +2159,25 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu ```
-
- ❌ Test 28 + ❌ Test 28
(params: default=n, user_input=n, expected_output=True, expected_prompt=Question? [y/N] )
+ **_*πŸ“Œ Runtime Parameters*_** + + ```python + params: + default: n + user_input: n + expected_output: True + expected_prompt: Question? [y/N] + id: n-n-True-Question? [y/N] + ``` + **_*πŸ“Œ Setup phase*_** **duration:** ```python - 0.00029406393878161907 + 0.0003250411245971918 ``` **outcome:** @@ -1861,7 +2191,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.0006175499875098467 + 0.0006117261946201324 ``` **outcome:** @@ -1931,7 +2261,7 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu **duration:** ```python - 0.00018847407773137093 + 0.00021915812976658344 ``` **outcome:** @@ -2524,6 +2854,21 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu
+
+βœ… temp-ci (1 tests) + + -
+ βœ… temp-ci + + - **Outcome:** `passed` + - **result:** + + ```python + [] + ``` +
+
+
βœ… tests (3 tests) @@ -2672,6 +3017,8 @@ FAILED tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Qu type: Dir - nodeid: slic type: Package + - nodeid: temp-ci + type: Dir - nodeid: tests type: Dir ``` diff --git a/ci-reports/markdown/coverage-summary.md b/ci-reports/markdown/coverage-summary.md index 18938d1e4..86116f460 100644 --- a/ci-reports/markdown/coverage-summary.md +++ b/ci-reports/markdown/coverage-summary.md @@ -1 +1,225 @@ -No source for code: '/workspace/tligui_y/slic/test-ci/conftest.py'. +| Name | Stmts | Miss | Cover | +|----------------------------------------------- | -------: | -------: | ------: | +| slic/\_\_init\_\_.py | 20 | 2 | 90% | +| slic/core/\_\_init\_\_.py | 5 | 0 | 100% | +| slic/core/acquisition/\_\_init\_\_.py | 7 | 0 | 100% | +| slic/core/acquisition/acquisition.py | 56 | 42 | 25% | +| slic/core/acquisition/baseacquisition.py | 5 | 1 | 80% | +| slic/core/acquisition/broker/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/core/acquisition/broker/brokerclient.py | 104 | 80 | 23% | +| slic/core/acquisition/broker/brokerconfig.py | 102 | 87 | 15% | +| slic/core/acquisition/broker/pedestal.py | 68 | 59 | 13% | +| slic/core/acquisition/broker/pids.py | 17 | 12 | 29% | +| slic/core/acquisition/broker/post\_retrieve.py | 120 | 120 | 0% | +| slic/core/acquisition/broker/requeststatus.py | 77 | 73 | 5% | +| slic/core/acquisition/broker/restapi.py | 147 | 107 | 27% | +| slic/core/acquisition/broker/tools.py | 52 | 18 | 65% | +| slic/core/acquisition/bsacquisition.py | 10 | 3 | 70% | +| slic/core/acquisition/bschannels.py | 30 | 19 | 37% | +| slic/core/acquisition/channels.py | 51 | 30 | 41% | +| slic/core/acquisition/dbacquisition.py | 19 | 12 | 37% | +| slic/core/acquisition/detcfg.py | 82 | 35 | 57% | +| slic/core/acquisition/diaacquisition.py | 113 | 113 | 0% | +| slic/core/acquisition/diaconfig.py | 36 | 36 | 0% | +| slic/core/acquisition/dummyacquisition.py | 12 | 12 | 0% | +| slic/core/acquisition/fakeacquisition.py | 76 | 53 | 30% | +| slic/core/acquisition/pedestals.py | 69 | 69 | 0% | +| slic/core/acquisition/pvacquisition.py | 60 | 47 | 22% | +| slic/core/acquisition/pvchannels.py | 13 | 7 | 46% | +| slic/core/acquisition/sfacquisition.py | 159 | 129 | 19% | +| slic/core/acquisition/sfpaths.py | 23 | 19 | 17% | +| slic/core/acquisition/spreadsheet.py | 45 | 45 | 0% | +| slic/core/adjustable/\_\_init\_\_.py | 11 | 0 | 100% | +| slic/core/adjustable/adjustable.py | 50 | 30 | 40% | +| slic/core/adjustable/baseadjustable.py | 28 | 18 | 36% | +| slic/core/adjustable/collection.py | 22 | 14 | 36% | +| slic/core/adjustable/combined.py | 15 | 8 | 47% | +| slic/core/adjustable/convenience.py | 35 | 20 | 43% | +| slic/core/adjustable/converted.py | 16 | 10 | 38% | +| slic/core/adjustable/dummyadjustable.py | 41 | 30 | 27% | +| slic/core/adjustable/error.py | 2 | 0 | 100% | +| slic/core/adjustable/genericadjustable.py | 32 | 24 | 25% | +| slic/core/adjustable/limited.py | 29 | 18 | 38% | +| slic/core/adjustable/linked.py | 22 | 15 | 32% | +| slic/core/adjustable/pvadjustable.py | 119 | 91 | 24% | +| slic/core/adjustable/pvchangemon.py | 77 | 56 | 27% | +| slic/core/adjustable/pvenumadjustable.py | 38 | 22 | 42% | +| slic/core/adjustable/scaler.py | 22 | 16 | 27% | +| slic/core/condition/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/core/condition/basecondition.py | 8 | 2 | 75% | +| slic/core/condition/condition.py | 109 | 81 | 26% | +| slic/core/condition/pvcondition.py | 21 | 12 | 43% | +| slic/core/condition/valuecondition.py | 22 | 15 | 32% | +| slic/core/device/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/core/device/auto.py | 12 | 12 | 0% | +| slic/core/device/basedevice.py | 2 | 0 | 100% | +| slic/core/device/device.py | 46 | 35 | 24% | +| slic/core/device/filtered.py | 23 | 23 | 0% | +| slic/core/device/simpledevice.py | 6 | 2 | 67% | +| slic/core/scanner/\_\_init\_\_.py | 1 | 0 | 100% | +| slic/core/scanner/runname.py | 36 | 23 | 36% | +| slic/core/scanner/scanbackend.py | 232 | 197 | 15% | +| slic/core/scanner/scaninfo.py | 45 | 35 | 22% | +| slic/core/scanner/scanner.py | 136 | 89 | 35% | +| slic/core/sensor/\_\_init\_\_.py | 8 | 0 | 100% | +| slic/core/sensor/basesensor.py | 12 | 3 | 75% | +| slic/core/sensor/bscombined.py | 9 | 5 | 44% | +| slic/core/sensor/bsmonitor.py | 101 | 72 | 29% | +| slic/core/sensor/bsnorm.py | 12 | 7 | 42% | +| slic/core/sensor/bssensor.py | 6 | 2 | 67% | +| slic/core/sensor/combined.py | 31 | 20 | 35% | +| slic/core/sensor/monitor.py | 62 | 51 | 18% | +| slic/core/sensor/norm.py | 9 | 5 | 44% | +| slic/core/sensor/pvsensor.py | 32 | 20 | 38% | +| slic/core/sensor/remoteplot.py | 15 | 10 | 33% | +| slic/core/sensor/sensor.py | 60 | 42 | 30% | +| slic/core/task/\_\_init\_\_.py | 4 | 0 | 100% | +| slic/core/task/basetask.py | 11 | 3 | 73% | +| slic/core/task/daqtask.py | 23 | 16 | 30% | +| slic/core/task/loop.py | 57 | 40 | 30% | +| slic/core/task/producer.py | 25 | 18 | 28% | +| slic/core/task/task.py | 62 | 46 | 26% | +| slic/devices/\_\_init\_\_.py | 7 | 0 | 100% | +| slic/devices/cameras/\_\_init\_\_.py | 4 | 0 | 100% | +| slic/devices/cameras/basler.py | 8 | 4 | 50% | +| slic/devices/cameras/camera\_bs.py | 13 | 8 | 38% | +| slic/devices/cameras/camera\_ca.py | 34 | 19 | 44% | +| slic/devices/cameras/camerabase.py | 17 | 12 | 29% | +| slic/devices/cameras/screenpanel.py | 31 | 21 | 32% | +| slic/devices/endstations/\_\_init\_\_.py | 3 | 0 | 100% | +| slic/devices/endstations/alvra\_flex.py | 10 | 5 | 50% | +| slic/devices/endstations/alvra\_huber.py | 8 | 4 | 50% | +| slic/devices/endstations/alvra\_prime.py | 48 | 34 | 29% | +| slic/devices/endstations/alvra\_xtg.py | 8 | 8 | 0% | +| slic/devices/endstations/bernina\_cameras.py | 33 | 33 | 0% | +| slic/devices/endstations/bernina\_platform.py | 46 | 46 | 0% | +| slic/devices/general/\_\_init\_\_.py | 4 | 0 | 100% | +| slic/devices/general/delay\_compensation.py | 13 | 13 | 0% | +| slic/devices/general/delay\_stage.py | 57 | 30 | 47% | +| slic/devices/general/detectors/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/devices/general/detectors/buffer.py | 66 | 35 | 47% | +| slic/devices/general/detectors/digitizer.py | 13 | 7 | 46% | +| slic/devices/general/detectors/pvdatastream.py | 33 | 24 | 27% | +| slic/devices/general/detectors/timer.py | 15 | 9 | 40% | +| slic/devices/general/micosstage.py | 7 | 7 | 0% | +| slic/devices/general/motor.py | 128 | 88 | 31% | +| slic/devices/general/shutter.py | 22 | 12 | 45% | +| slic/devices/general/shutterctx.py | 18 | 7 | 61% | +| slic/devices/general/smaract.py | 169 | 125 | 26% | +| slic/devices/loptics/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/devices/loptics/alvra\_explaser.py | 29 | 21 | 28% | +| slic/devices/loptics/bernina\_explaser.py | 28 | 28 | 0% | +| slic/devices/loptics/lasershutter.py | 22 | 14 | 36% | +| slic/devices/timing/\_\_init\_\_.py | 0 | 0 | 100% | +| slic/devices/timing/events/\_\_init\_\_.py | 3 | 3 | 0% | +| slic/devices/timing/events/codes.py | 5 | 5 | 0% | +| slic/devices/timing/events/ctaseq.py | 190 | 190 | 0% | +| slic/devices/timing/events/evr.py | 37 | 37 | 0% | +| slic/devices/timing/events/tma.py | 40 | 40 | 0% | +| slic/devices/timing/lasertiming.py | 253 | 184 | 27% | +| slic/devices/xdiagnostics/\_\_init\_\_.py | 2 | 0 | 100% | +| slic/devices/xdiagnostics/intensitymonitor.py | 124 | 92 | 26% | +| slic/devices/xdiagnostics/profilemonitor.py | 19 | 9 | 53% | +| slic/devices/xdiagnostics/timetools.py | 48 | 48 | 0% | +| slic/devices/xoptics/\_\_init\_\_.py | 7 | 0 | 100% | +| slic/devices/xoptics/aramis\_attenuator.py | 96 | 66 | 31% | +| slic/devices/xoptics/aramis\_reflaser.py | 23 | 15 | 35% | +| slic/devices/xoptics/dcm.py | 211 | 162 | 23% | +| slic/devices/xoptics/kb.py | 30 | 18 | 40% | +| slic/devices/xoptics/offsetmirrors.py | 9 | 5 | 44% | +| slic/devices/xoptics/pulsepicker.py | 56 | 34 | 39% | +| slic/devices/xoptics/slits/\_\_init\_\_.py | 5 | 0 | 100% | +| slic/devices/xoptics/slits/slitblades.py | 66 | 48 | 27% | +| slic/devices/xoptics/slits/slittwinunit.py | 12 | 6 | 50% | +| slic/devices/xoptics/slits/slitunit.py | 14 | 8 | 43% | +| slic/devices/xoptics/slits/slitunitcw.py | 7 | 3 | 57% | +| slic/devices/xoptics/slits/slitunitjj.py | 8 | 5 | 38% | +| slic/gui/\_\_init\_\_.py | 1 | 0 | 100% | +| slic/gui/daqframe.py | 75 | 54 | 28% | +| slic/gui/daqpanels/\_\_init\_\_.py | 6 | 0 | 100% | +| slic/gui/daqpanels/config.py | 98 | 80 | 18% | +| slic/gui/daqpanels/goto.py | 92 | 76 | 17% | +| slic/gui/daqpanels/run.py | 56 | 46 | 18% | +| slic/gui/daqpanels/scan2d.py | 77 | 66 | 14% | +| slic/gui/daqpanels/scan.py | 63 | 54 | 14% | +| slic/gui/daqpanels/sfx.py | 77 | 60 | 22% | +| slic/gui/daqpanels/special.py | 63 | 54 | 14% | +| slic/gui/daqpanels/static.py | 46 | 37 | 20% | +| slic/gui/daqpanels/tools.py | 140 | 114 | 19% | +| slic/gui/daqpanels/tweak.py | 149 | 127 | 15% | +| slic/gui/gui.py | 16 | 10 | 38% | +| slic/gui/icon.py | 8 | 4 | 50% | +| slic/gui/persist.py | 68 | 48 | 29% | +| slic/gui/widgets/\_\_init\_\_.py | 11 | 0 | 100% | +| slic/gui/widgets/alarm.py | 21 | 11 | 48% | +| slic/gui/widgets/alternative.py | 51 | 40 | 22% | +| slic/gui/widgets/boxes.py | 33 | 26 | 21% | +| slic/gui/widgets/checkbox.py | 8 | 4 | 50% | +| slic/gui/widgets/completers.py | 27 | 19 | 30% | +| slic/gui/widgets/dyncombo.py | 49 | 49 | 0% | +| slic/gui/widgets/entries.py | 253 | 195 | 23% | +| slic/gui/widgets/exc2warn.py | 15 | 13 | 13% | +| slic/gui/widgets/fname.py | 60 | 47 | 22% | +| slic/gui/widgets/jfcfg.py | 290 | 230 | 21% | +| slic/gui/widgets/jfmodcoords.py | 88 | 70 | 20% | +| slic/gui/widgets/labeled.py | 19 | 7 | 63% | +| slic/gui/widgets/lists.py | 96 | 73 | 24% | +| slic/gui/widgets/mods.py | 25 | 17 | 32% | +| slic/gui/widgets/nope.py | 26 | 19 | 27% | +| slic/gui/widgets/plotting.py | 68 | 47 | 31% | +| slic/gui/widgets/tools.py | 11 | 7 | 36% | +| slic/gui/widgets/twobuttons.py | 43 | 30 | 30% | +| slic/gui/wxdebug.py | 15 | 7 | 53% | +| slic/utils/\_\_init\_\_.py | 24 | 0 | 100% | +| slic/utils/argfwd.py | 52 | 13 | 75% | +| slic/utils/ask\_yes\_no.py | 27 | 4 | 85% | +| slic/utils/channels.py | 17 | 12 | 29% | +| slic/utils/config.py | 5 | 2 | 60% | +| slic/utils/cprint.py | 41 | 16 | 61% | +| slic/utils/dbusnotify.py | 40 | 39 | 2% | +| slic/utils/debug.py | 16 | 12 | 25% | +| slic/utils/dictext.py | 30 | 19 | 37% | +| slic/utils/dotdir.py | 10 | 1 | 90% | +| slic/utils/duo.py | 77 | 45 | 42% | +| slic/utils/elog.py | 30 | 21 | 30% | +| slic/utils/eval.py | 49 | 37 | 24% | +| slic/utils/exceptions.py | 22 | 14 | 36% | +| slic/utils/get\_adj.py | 17 | 11 | 35% | +| slic/utils/hastyepics.py | 26 | 14 | 46% | +| slic/utils/ioc/\_\_init\_\_.py | 1 | 1 | 0% | +| slic/utils/ioc/adjdrv.py | 31 | 31 | 0% | +| slic/utils/ioc/ioc.py | 63 | 63 | 0% | +| slic/utils/ipy.py | 22 | 15 | 32% | +| slic/utils/jsonext.py | 24 | 16 | 33% | +| slic/utils/lazypv.py | 12 | 12 | 0% | +| slic/utils/logcfg.py | 52 | 2 | 96% | +| slic/utils/logign.py | 22 | 14 | 36% | +| slic/utils/marker.py | 48 | 31 | 35% | +| slic/utils/metaclasses.py | 8 | 0 | 100% | +| slic/utils/namespace.py | 5 | 1 | 80% | +| slic/utils/npy.py | 71 | 56 | 21% | +| slic/utils/opmsg.py | 122 | 122 | 0% | +| slic/utils/path.py | 32 | 24 | 25% | +| slic/utils/picklio.py | 7 | 3 | 57% | +| slic/utils/printing.py | 77 | 61 | 21% | +| slic/utils/pv.py | 30 | 20 | 33% | +| slic/utils/pvpreload.py | 50 | 19 | 62% | +| slic/utils/pyepics.py | 64 | 39 | 39% | +| slic/utils/rangebar.py | 92 | 61 | 34% | +| slic/utils/readable.py | 12 | 9 | 25% | +| slic/utils/registry.py | 33 | 19 | 42% | +| slic/utils/reprate.py | 46 | 33 | 28% | +| slic/utils/richcfg.py | 21 | 11 | 48% | +| slic/utils/run\_later.py | 88 | 88 | 0% | +| slic/utils/screenshot.py | 30 | 21 | 30% | +| slic/utils/sendmail.py | 49 | 49 | 0% | +| slic/utils/sendsms.py | 5 | 5 | 0% | +| slic/utils/shortcut.py | 38 | 20 | 47% | +| slic/utils/snapshot.py | 6 | 3 | 50% | +| slic/utils/termtitle.py | 3 | 0 | 100% | +| slic/utils/tqdm\_mod.py | 28 | 18 | 36% | +| slic/utils/trinary.py | 4 | 2 | 50% | +| slic/utils/typecast.py | 60 | 60 | 0% | +| slic/utils/utils.py | 17 | 8 | 53% | +| slic/utils/xrange.py | 33 | 30 | 9% | +| **TOTAL** | **9577** | **7048** | **26%** | diff --git a/ci-reports/markdown/json-tree-view.txt b/ci-reports/markdown/json-tree-view.txt index c18ffaf7d..edb075cf3 100644 --- a/ci-reports/markdown/json-tree-view.txt +++ b/ci-reports/markdown/json-tree-view.txt @@ -1,6 +1,6 @@ πŸ“ ci-reports/markdown/pytest-report.json -β”œβ”€β”€ created: 1753185405.3162174 -β”œβ”€β”€ duration: 7.606374025344849 +β”œβ”€β”€ created: 1753186245.2189486 +β”œβ”€β”€ duration: 7.359919309616089 β”œβ”€β”€ exitcode: 1 β”œβ”€β”€ root: /workspace/tligui_y/slic β”œβ”€β”€ environment @@ -320,6 +320,10 @@ β”‚ β”‚ β”œβ”€β”€ nodeid: slic/utils β”‚ β”‚ └── type: Package β”‚ β”œβ”€β”€ - +β”‚ β”‚ β”œβ”€β”€ nodeid: temp-ci +β”‚ β”‚ β”œβ”€β”€ outcome: passed +β”‚ β”‚ └── result +β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_bis.py β”‚ β”‚ β”œβ”€β”€ outcome: passed β”‚ β”‚ └── result @@ -530,6 +534,9 @@ β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: slic β”‚ β”‚ └── type: Package +β”‚ β”œβ”€β”€ - +β”‚ β”‚ β”œβ”€β”€ nodeid: temp-ci +β”‚ β”‚ └── type: Dir β”‚ └── - β”‚ β”œβ”€β”€ nodeid: tests β”‚ └── type: Dir @@ -550,13 +557,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006665640976279974 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006609160918742418 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0007005028892308474 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006735671777278185 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00028226408176124096 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0004555040504783392 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -574,13 +581,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003137232270091772 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00036447495222091675 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006471839733421803 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005084399599581957 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001756269484758377 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001921551302075386 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -598,10 +605,10 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002935549709945917 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003137520980089903 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0008268728852272034 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0008842169772833586 β”‚ β”‚ β”‚ β”œβ”€β”€ outcome: failed β”‚ β”‚ β”‚ β”œβ”€β”€ crash β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ path: /workspace/tligui_y/slic/tests/test_bis.py @@ -652,7 +659,7 @@ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ tests/test_bis.py:39: AssertionError β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.000324747059494257 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0003306618891656399 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -670,13 +677,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003857079427689314 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003977769520133734 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006651089061051607 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006507581565529108 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00017299200408160686 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0002005249261856079 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -694,13 +701,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031888997182250023 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003416868858039379 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005320070777088404 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005657358560711145 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00017235102131962776 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018950412049889565 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -719,13 +726,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030244607478380203 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003185721579939127 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005300689954310656 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000516833970323205 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016311602666974068 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018588919192552567 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -743,13 +750,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003076731227338314 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003334609791636467 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000589634058997035 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000600120984017849 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00017368304543197155 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018696114420890808 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -767,13 +774,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002939992118626833 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00032755895517766476 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004879571497440338 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004959399811923504 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016390602104365826 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001809119712561369 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -791,13 +798,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030472781509160995 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003249580040574074 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00047870795242488384 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005066359881311655 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001700089778751135 +β”‚ β”‚ β”œβ”€β”€ duration: 0.000188496895134449 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -815,13 +822,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002933910582214594 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003236790653318167 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004817349836230278 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004874730948358774 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001614780630916357 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018818979151546955 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -839,13 +846,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030470406636595726 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003155141603201628 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000582149950787425 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0015102841425687075 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001746760681271553 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00019782502204179764 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -863,13 +870,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00029239896684885025 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003225679975003004 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00048049516044557095 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005023051053285599 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001632370986044407 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00019968906417489052 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -887,13 +894,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031317584216594696 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003323471173644066 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00047427299432456493 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004904109518975019 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00015159393660724163 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001887320540845394 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_bis.py::test_ask_yes_no_ctrl_c @@ -906,13 +913,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0001088420394808054 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00011860812082886696 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00048737996257841587 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004985879641026258 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00010850699618458748 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00012192199937999249 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_bis.py::test_ask_yes_no_ctrl_d @@ -928,13 +935,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00021557696163654327 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002443131525069475 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005672948900610209 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000595359830185771 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00014477991499006748 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00015733507461845875 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_bis.py::test_ask_yes_no_ctrl_d @@ -950,13 +957,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00022029713727533817 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00022997800260782242 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00046584196388721466 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005136060062795877 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00014809099957346916 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00015586591325700283 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -974,13 +981,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031222193501889706 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00032760994508862495 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004954668693244457 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005072259809821844 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016412604600191116 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018193782307207584 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -998,13 +1005,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002974029630422592 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00032937200739979744 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005067619495093822 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00057938601821661 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016528600826859474 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001797419972717762 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1022,10 +1029,10 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002971088979393244 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030957814306020737 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0015243291854858398 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006500249728560448 β”‚ β”‚ β”‚ β”œβ”€β”€ outcome: failed β”‚ β”‚ β”‚ β”œβ”€β”€ crash β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ path: @@ -1077,7 +1084,7 @@ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ tests/test_utils_ask_yes_no.py:39: AssertionError β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00020265812054276466 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0002101778518408537 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1095,13 +1102,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00032146601006388664 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00034245196729898453 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005179429426789284 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004996000789105892 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00017545092850923538 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00020011188462376595 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1119,13 +1126,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.000298843951895833 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003290281165391207 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005100679118186235 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005175340920686722 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016331602819263935 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001877231989055872 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1144,13 +1151,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003074479755014181 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031687505543231964 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005018080119043589 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005247639492154121 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00018232199363410473 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00019484106451272964 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1168,13 +1175,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002985019236803055 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00032937596552073956 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006132191047072411 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006298399530351162 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016417820006608963 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001835778821259737 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1192,13 +1199,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003162659704685211 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003186140675097704 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004776997957378626 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004822749178856611 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016502104699611664 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00017571914941072464 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1216,10 +1223,10 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002929649781435728 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031067105010151863 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006422048900276423 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006272669415920973 β”‚ β”‚ β”‚ β”œβ”€β”€ outcome: failed β”‚ β”‚ β”‚ β”œβ”€β”€ crash β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ path: @@ -1271,7 +1278,7 @@ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ tests/test_utils_ask_yes_no.py:39: AssertionError β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00020531285554170609 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0002070581540465355 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1289,13 +1296,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030801608227193356 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00033637508749961853 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005082229617983103 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005188200157135725 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.0001612221822142601 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0001931600272655487 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1313,13 +1320,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00030491407960653305 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00033035106025636196 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004800199531018734 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004995460622012615 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016599404625594616 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018156110309064388 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1337,10 +1344,10 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00029406393878161907 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0003250411245971918 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006175499875098467 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0006117261946201324 β”‚ β”‚ β”‚ β”œβ”€β”€ outcome: failed β”‚ β”‚ β”‚ β”œβ”€β”€ crash β”‚ β”‚ β”‚ β”‚ β”œβ”€β”€ path: @@ -1392,7 +1399,7 @@ β”‚ β”‚ β”‚ β”‚ β”‚ β”‚ tests/test_utils_ask_yes_no.py:39: AssertionError β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00018847407773137093 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00021915812976658344 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: @@ -1410,13 +1417,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00031479401513934135 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00033717392943799496 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005120988935232162 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005116418469697237 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00016082311049103737 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00018932088278234005 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c @@ -1429,13 +1436,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00011098594404757023 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00011703209020197392 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004827110096812248 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004869811236858368 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00011503510177135468 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00012708292342722416 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ - β”‚ β”‚ β”œβ”€β”€ nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d @@ -1451,13 +1458,13 @@ β”‚ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ β”‚ └── β”‚ β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.00022256094962358475 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0002455790527164936 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0004673681687563658 +β”‚ β”‚ β”‚ β”œβ”€β”€ duration: 0.0005011670291423798 β”‚ β”‚ β”‚ └── outcome: passed β”‚ β”‚ └── teardown -β”‚ β”‚ β”œβ”€β”€ duration: 0.00013598008081316948 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00015226402319967747 β”‚ β”‚ └── outcome: passed β”‚ └── - β”‚ β”œβ”€β”€ nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d @@ -1473,13 +1480,13 @@ β”‚ β”‚ β”œβ”€β”€ slic β”‚ β”‚ └── β”‚ β”œβ”€β”€ setup -β”‚ β”‚ β”œβ”€β”€ duration: 0.00022283988073468208 +β”‚ β”‚ β”œβ”€β”€ duration: 0.00024452595971524715 β”‚ β”‚ └── outcome: passed β”‚ β”œβ”€β”€ call -β”‚ β”‚ β”œβ”€β”€ duration: 0.000582491047680378 +β”‚ β”‚ β”œβ”€β”€ duration: 0.0005928180180490017 β”‚ β”‚ └── outcome: passed β”‚ └── teardown -β”‚ β”œβ”€β”€ duration: 0.00014060013927519321 +β”‚ β”œβ”€β”€ duration: 0.0001644650474190712 β”‚ └── outcome: passed └── warnings β”œβ”€β”€ - diff --git a/ci-reports/markdown/pytest-report.json b/ci-reports/markdown/pytest-report.json index 750d3b8e5..6684954b0 100644 --- a/ci-reports/markdown/pytest-report.json +++ b/ci-reports/markdown/pytest-report.json @@ -1 +1 @@ -{"created": 1753185405.3162174, "duration": 7.606374025344849, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 28, "failed": 4, "total": 32, "collected": 32}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data/test-cases", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data/test-cases", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/junit", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/junit", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "slic/core/acquisition/broker", "outcome": "passed", "result": []}, {"nodeid": "slic/core/acquisition", "outcome": "passed", "result": [{"nodeid": "slic/core/acquisition/broker", "type": "Package"}]}, {"nodeid": "slic/core/adjustable", "outcome": "passed", "result": []}, {"nodeid": "slic/core/condition", "outcome": "passed", "result": []}, {"nodeid": "slic/core/device", "outcome": "passed", "result": []}, {"nodeid": "slic/core/scanner", "outcome": "passed", "result": []}, {"nodeid": "slic/core/sensor", "outcome": "passed", "result": []}, {"nodeid": "slic/core/task", "outcome": "passed", "result": []}, {"nodeid": "slic/core", "outcome": "passed", "result": [{"nodeid": "slic/core/acquisition", "type": "Package"}, {"nodeid": "slic/core/adjustable", "type": "Package"}, {"nodeid": "slic/core/condition", "type": "Package"}, {"nodeid": "slic/core/device", "type": "Package"}, {"nodeid": "slic/core/scanner", "type": "Package"}, {"nodeid": "slic/core/sensor", "type": "Package"}, {"nodeid": "slic/core/task", "type": "Package"}]}, {"nodeid": "slic/devices/cameras", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/endstations", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general/detectors", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general/unused", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general", "outcome": "passed", "result": [{"nodeid": "slic/devices/general/detectors", "type": "Package"}, {"nodeid": "slic/devices/general/unused", "type": "Dir"}]}, {"nodeid": "slic/devices/loptics", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/timing/events", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/timing", "outcome": "passed", "result": [{"nodeid": "slic/devices/timing/events", "type": "Package"}]}, {"nodeid": "slic/devices/xdiagnostics", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics/slits", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics/unused", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics", "outcome": "passed", "result": [{"nodeid": "slic/devices/xoptics/slits", "type": "Package"}, {"nodeid": "slic/devices/xoptics/unused", "type": "Dir"}]}, {"nodeid": "slic/devices", "outcome": "passed", "result": [{"nodeid": "slic/devices/cameras", "type": "Package"}, {"nodeid": "slic/devices/endstations", "type": "Package"}, {"nodeid": "slic/devices/general", "type": "Package"}, {"nodeid": "slic/devices/loptics", "type": "Package"}, {"nodeid": "slic/devices/timing", "type": "Package"}, {"nodeid": "slic/devices/xdiagnostics", "type": "Package"}, {"nodeid": "slic/devices/xoptics", "type": "Package"}]}, {"nodeid": "slic/gui/daqpanels", "outcome": "passed", "result": []}, {"nodeid": "slic/gui/widgets", "outcome": "passed", "result": []}, {"nodeid": "slic/gui", "outcome": "passed", "result": [{"nodeid": "slic/gui/daqpanels", "type": "Package"}, {"nodeid": "slic/gui/widgets", "type": "Package"}]}, {"nodeid": "slic/utils/ioc", "outcome": "passed", "result": []}, {"nodeid": "slic/utils/unused/xsim", "outcome": "passed", "result": []}, {"nodeid": "slic/utils/unused", "outcome": "passed", "result": [{"nodeid": "slic/utils/unused/xsim", "type": "Package"}]}, {"nodeid": "slic/utils", "outcome": "passed", "result": [{"nodeid": "slic/utils/ioc", "type": "Package"}, {"nodeid": "slic/utils/unused", "type": "Dir"}]}, {"nodeid": "slic", "outcome": "passed", "result": [{"nodeid": "slic/core", "type": "Package"}, {"nodeid": "slic/devices", "type": "Package"}, {"nodeid": "slic/gui", "type": "Package"}, {"nodeid": "slic/utils", "type": "Package"}]}, {"nodeid": "tests/test_bis.py", "outcome": "passed", "result": [{"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_c", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[n-False]", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[y-True]", "type": "Function", "lineno": 49}]}, {"nodeid": "tests/test_utils_ask_yes_no.py", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-False]", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-True]", "type": "Function", "lineno": 49}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_bis.py", "type": "Module"}, {"nodeid": "tests/test_utils_ask_yes_no.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "slic", "type": "Package"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-y-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0006665640976279974, "outcome": "passed"}, "call": {"duration": 0.0007005028892308474, "outcome": "passed"}, "teardown": {"duration": 0.00028226408176124096, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-yes-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003137232270091772, "outcome": "passed"}, "call": {"duration": 0.0006471839733421803, "outcome": "passed"}, "teardown": {"duration": 0.0001756269484758377, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-n-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0002935549709945917, "outcome": "passed"}, "call": {"duration": 0.0008268728852272034, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_bis.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_bis.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = None, user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', False, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', False, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_bis.py:39: AssertionError"}, "teardown": {"duration": 0.000324747059494257, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-no-False-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003857079427689314, "outcome": "passed"}, "call": {"duration": 0.0006651089061051607, "outcome": "passed"}, "teardown": {"duration": 0.00017299200408160686, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input4-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00031888997182250023, "outcome": "passed"}, "call": {"duration": 0.0005320070777088404, "outcome": "passed"}, "teardown": {"duration": 0.00017235102131962776, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input5-False-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00030244607478380203, "outcome": "passed"}, "call": {"duration": 0.0005300689954310656, "outcome": "passed"}, "teardown": {"duration": 0.00016311602666974068, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input6-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003076731227338314, "outcome": "passed"}, "call": {"duration": 0.000589634058997035, "outcome": "passed"}, "teardown": {"duration": 0.00017368304543197155, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-y-True-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0002939992118626833, "outcome": "passed"}, "call": {"duration": 0.0004879571497440338, "outcome": "passed"}, "teardown": {"duration": 0.00016390602104365826, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "parametrize", "pytestmark", "y-n-False-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00030472781509160995, "outcome": "passed"}, "call": {"duration": 0.00047870795242488384, "outcome": "passed"}, "teardown": {"duration": 0.0001700089778751135, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "parametrize", "pytestmark", "y--True-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0002933910582214594, "outcome": "passed"}, "call": {"duration": 0.0004817349836230278, "outcome": "passed"}, "teardown": {"duration": 0.0001614780630916357, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-y-True-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00030470406636595726, "outcome": "passed"}, "call": {"duration": 0.000582149950787425, "outcome": "passed"}, "teardown": {"duration": 0.0001746760681271553, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "parametrize", "pytestmark", "n-n-False-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00029239896684885025, "outcome": "passed"}, "call": {"duration": 0.00048049516044557095, "outcome": "passed"}, "teardown": {"duration": 0.0001632370986044407, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "parametrize", "pytestmark", "n--False-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00031317584216594696, "outcome": "passed"}, "call": {"duration": 0.00047427299432456493, "outcome": "passed"}, "teardown": {"duration": 0.00015159393660724163, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_c", "lineno": 44, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_c", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0001088420394808054, "outcome": "passed"}, "call": {"duration": 0.00048737996257841587, "outcome": "passed"}, "teardown": {"duration": 0.00010850699618458748, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[n-False]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[n-False]", "parametrize", "pytestmark", "n-False", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00021557696163654327, "outcome": "passed"}, "call": {"duration": 0.0005672948900610209, "outcome": "passed"}, "teardown": {"duration": 0.00014477991499006748, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[y-True]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[y-True]", "parametrize", "pytestmark", "y-True", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00022029713727533817, "outcome": "passed"}, "call": {"duration": 0.00046584196388721466, "outcome": "passed"}, "teardown": {"duration": 0.00014809099957346916, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-y-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00031222193501889706, "outcome": "passed"}, "call": {"duration": 0.0004954668693244457, "outcome": "passed"}, "teardown": {"duration": 0.00016412604600191116, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-yes-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0002974029630422592, "outcome": "passed"}, "call": {"duration": 0.0005067619495093822, "outcome": "passed"}, "teardown": {"duration": 0.00016528600826859474, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-n-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0002971088979393244, "outcome": "passed"}, "call": {"duration": 0.0015243291854858398, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = None, user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.00020265812054276466, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-no-False-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00032146601006388664, "outcome": "passed"}, "call": {"duration": 0.0005179429426789284, "outcome": "passed"}, "teardown": {"duration": 0.00017545092850923538, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input4-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.000298843951895833, "outcome": "passed"}, "call": {"duration": 0.0005100679118186235, "outcome": "passed"}, "teardown": {"duration": 0.00016331602819263935, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input5-False-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0003074479755014181, "outcome": "passed"}, "call": {"duration": 0.0005018080119043589, "outcome": "passed"}, "teardown": {"duration": 0.00018232199363410473, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input6-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0002985019236803055, "outcome": "passed"}, "call": {"duration": 0.0006132191047072411, "outcome": "passed"}, "teardown": {"duration": 0.00016417820006608963, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-y-True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0003162659704685211, "outcome": "passed"}, "call": {"duration": 0.0004776997957378626, "outcome": "passed"}, "teardown": {"duration": 0.00016502104699611664, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-n-True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0002929649781435728, "outcome": "passed"}, "call": {"duration": 0.0006422048900276423, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = 'y', user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [Y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.00020531285554170609, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "parametrize", "pytestmark", "y--True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00030801608227193356, "outcome": "passed"}, "call": {"duration": 0.0005082229617983103, "outcome": "passed"}, "teardown": {"duration": 0.0001612221822142601, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-y-True-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00030491407960653305, "outcome": "passed"}, "call": {"duration": 0.0004800199531018734, "outcome": "passed"}, "teardown": {"duration": 0.00016599404625594616, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-n-True-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00029406393878161907, "outcome": "passed"}, "call": {"duration": 0.0006175499875098467, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = 'n', user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/N] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.00018847407773137093, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "parametrize", "pytestmark", "n--False-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00031479401513934135, "outcome": "passed"}, "call": {"duration": 0.0005120988935232162, "outcome": "passed"}, "teardown": {"duration": 0.00016082311049103737, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c", "lineno": 44, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_c", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00011098594404757023, "outcome": "passed"}, "call": {"duration": 0.0004827110096812248, "outcome": "passed"}, "teardown": {"duration": 0.00011503510177135468, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-False]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[n-False]", "parametrize", "pytestmark", "n-False", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00022256094962358475, "outcome": "passed"}, "call": {"duration": 0.0004673681687563658, "outcome": "passed"}, "teardown": {"duration": 0.00013598008081316948, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-True]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[y-True]", "parametrize", "pytestmark", "y-True", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00022283988073468208, "outcome": "passed"}, "call": {"duration": 0.000582491047680378, "outcome": "passed"}, "teardown": {"duration": 0.00014060013927519321, "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": "pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/ca.py", "lineno": 28}, {"message": "Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.\nImplementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pkg_resources/__init__.py", "lineno": 3154}, {"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}]} \ No newline at end of file +{"created": 1753186245.2189486, "duration": 7.359919309616089, "exitcode": 1, "root": "/workspace/tligui_y/slic", "environment": {}, "summary": {"passed": 28, "failed": 4, "total": 32, "collected": 32}, "collectors": [{"nodeid": "", "outcome": "passed", "result": [{"nodeid": ".", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/data/test-cases", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/data", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data/test-cases", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/export", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/history", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/behaviors", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/packages", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure/plugin", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/plugin/behaviors", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/packages", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin/screen-diff", "type": "Dir"}]}, {"nodeid": "ci-reports/allure/widgets", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/allure", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure/data", "type": "Dir"}, {"nodeid": "ci-reports/allure/export", "type": "Dir"}, {"nodeid": "ci-reports/allure/history", "type": "Dir"}, {"nodeid": "ci-reports/allure/plugin", "type": "Dir"}, {"nodeid": "ci-reports/allure/widgets", "type": "Dir"}]}, {"nodeid": "ci-reports/coverage", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/junit", "outcome": "passed", "result": []}, {"nodeid": "ci-reports/markdown", "outcome": "passed", "result": []}, {"nodeid": "ci-reports", "outcome": "passed", "result": [{"nodeid": "ci-reports/allure", "type": "Dir"}, {"nodeid": "ci-reports/coverage", "type": "Dir"}, {"nodeid": "ci-reports/junit", "type": "Dir"}, {"nodeid": "ci-reports/markdown", "type": "Dir"}]}, {"nodeid": "slic/core/acquisition/broker", "outcome": "passed", "result": []}, {"nodeid": "slic/core/acquisition", "outcome": "passed", "result": [{"nodeid": "slic/core/acquisition/broker", "type": "Package"}]}, {"nodeid": "slic/core/adjustable", "outcome": "passed", "result": []}, {"nodeid": "slic/core/condition", "outcome": "passed", "result": []}, {"nodeid": "slic/core/device", "outcome": "passed", "result": []}, {"nodeid": "slic/core/scanner", "outcome": "passed", "result": []}, {"nodeid": "slic/core/sensor", "outcome": "passed", "result": []}, {"nodeid": "slic/core/task", "outcome": "passed", "result": []}, {"nodeid": "slic/core", "outcome": "passed", "result": [{"nodeid": "slic/core/acquisition", "type": "Package"}, {"nodeid": "slic/core/adjustable", "type": "Package"}, {"nodeid": "slic/core/condition", "type": "Package"}, {"nodeid": "slic/core/device", "type": "Package"}, {"nodeid": "slic/core/scanner", "type": "Package"}, {"nodeid": "slic/core/sensor", "type": "Package"}, {"nodeid": "slic/core/task", "type": "Package"}]}, {"nodeid": "slic/devices/cameras", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/endstations", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general/detectors", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general/unused", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/general", "outcome": "passed", "result": [{"nodeid": "slic/devices/general/detectors", "type": "Package"}, {"nodeid": "slic/devices/general/unused", "type": "Dir"}]}, {"nodeid": "slic/devices/loptics", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/timing/events", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/timing", "outcome": "passed", "result": [{"nodeid": "slic/devices/timing/events", "type": "Package"}]}, {"nodeid": "slic/devices/xdiagnostics", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics/slits", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics/unused", "outcome": "passed", "result": []}, {"nodeid": "slic/devices/xoptics", "outcome": "passed", "result": [{"nodeid": "slic/devices/xoptics/slits", "type": "Package"}, {"nodeid": "slic/devices/xoptics/unused", "type": "Dir"}]}, {"nodeid": "slic/devices", "outcome": "passed", "result": [{"nodeid": "slic/devices/cameras", "type": "Package"}, {"nodeid": "slic/devices/endstations", "type": "Package"}, {"nodeid": "slic/devices/general", "type": "Package"}, {"nodeid": "slic/devices/loptics", "type": "Package"}, {"nodeid": "slic/devices/timing", "type": "Package"}, {"nodeid": "slic/devices/xdiagnostics", "type": "Package"}, {"nodeid": "slic/devices/xoptics", "type": "Package"}]}, {"nodeid": "slic/gui/daqpanels", "outcome": "passed", "result": []}, {"nodeid": "slic/gui/widgets", "outcome": "passed", "result": []}, {"nodeid": "slic/gui", "outcome": "passed", "result": [{"nodeid": "slic/gui/daqpanels", "type": "Package"}, {"nodeid": "slic/gui/widgets", "type": "Package"}]}, {"nodeid": "slic/utils/ioc", "outcome": "passed", "result": []}, {"nodeid": "slic/utils/unused/xsim", "outcome": "passed", "result": []}, {"nodeid": "slic/utils/unused", "outcome": "passed", "result": [{"nodeid": "slic/utils/unused/xsim", "type": "Package"}]}, {"nodeid": "slic/utils", "outcome": "passed", "result": [{"nodeid": "slic/utils/ioc", "type": "Package"}, {"nodeid": "slic/utils/unused", "type": "Dir"}]}, {"nodeid": "slic", "outcome": "passed", "result": [{"nodeid": "slic/core", "type": "Package"}, {"nodeid": "slic/devices", "type": "Package"}, {"nodeid": "slic/gui", "type": "Package"}, {"nodeid": "slic/utils", "type": "Package"}]}, {"nodeid": "temp-ci", "outcome": "passed", "result": []}, {"nodeid": "tests/test_bis.py", "outcome": "passed", "result": [{"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_c", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[n-False]", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[y-True]", "type": "Function", "lineno": 49}]}, {"nodeid": "tests/test_utils_ask_yes_no.py", "outcome": "passed", "result": [{"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "type": "Function", "lineno": 10}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c", "type": "Function", "lineno": 44}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-False]", "type": "Function", "lineno": 49}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-True]", "type": "Function", "lineno": 49}]}, {"nodeid": "tests", "outcome": "passed", "result": [{"nodeid": "tests/test_bis.py", "type": "Module"}, {"nodeid": "tests/test_utils_ask_yes_no.py", "type": "Module"}]}, {"nodeid": ".", "outcome": "passed", "result": [{"nodeid": "ci-reports", "type": "Dir"}, {"nodeid": "slic", "type": "Package"}, {"nodeid": "temp-ci", "type": "Dir"}, {"nodeid": "tests", "type": "Dir"}]}], "tests": [{"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-y-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0006609160918742418, "outcome": "passed"}, "call": {"duration": 0.0006735671777278185, "outcome": "passed"}, "teardown": {"duration": 0.0004555040504783392, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-yes-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00036447495222091675, "outcome": "passed"}, "call": {"duration": 0.0005084399599581957, "outcome": "passed"}, "teardown": {"duration": 0.0001921551302075386, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-n-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003137520980089903, "outcome": "passed"}, "call": {"duration": 0.0008842169772833586, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_bis.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_bis.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = None, user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', False, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', False, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_bis.py:39: AssertionError"}, "teardown": {"duration": 0.0003306618891656399, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-no-False-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003977769520133734, "outcome": "passed"}, "call": {"duration": 0.0006507581565529108, "outcome": "passed"}, "teardown": {"duration": 0.0002005249261856079, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input4-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003416868858039379, "outcome": "passed"}, "call": {"duration": 0.0005657358560711145, "outcome": "passed"}, "teardown": {"duration": 0.00018950412049889565, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input5-False-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003185721579939127, "outcome": "passed"}, "call": {"duration": 0.000516833970323205, "outcome": "passed"}, "teardown": {"duration": 0.00018588919192552567, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input6-True-Question? [y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003334609791636467, "outcome": "passed"}, "call": {"duration": 0.000600120984017849, "outcome": "passed"}, "teardown": {"duration": 0.00018696114420890808, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-y-True-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00032755895517766476, "outcome": "passed"}, "call": {"duration": 0.0004959399811923504, "outcome": "passed"}, "teardown": {"duration": 0.0001809119712561369, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", "parametrize", "pytestmark", "y-n-False-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003249580040574074, "outcome": "passed"}, "call": {"duration": 0.0005066359881311655, "outcome": "passed"}, "teardown": {"duration": 0.000188496895134449, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "parametrize", "pytestmark", "y--True-Question? [Y/n] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003236790653318167, "outcome": "passed"}, "call": {"duration": 0.0004874730948358774, "outcome": "passed"}, "teardown": {"duration": 0.00018818979151546955, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-y-True-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003155141603201628, "outcome": "passed"}, "call": {"duration": 0.0015102841425687075, "outcome": "passed"}, "teardown": {"duration": 0.00019782502204179764, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", "parametrize", "pytestmark", "n-n-False-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003225679975003004, "outcome": "passed"}, "call": {"duration": 0.0005023051053285599, "outcome": "passed"}, "teardown": {"duration": 0.00019968906417489052, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "parametrize", "pytestmark", "n--False-Question? [y/N] ", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0003323471173644066, "outcome": "passed"}, "call": {"duration": 0.0004904109518975019, "outcome": "passed"}, "teardown": {"duration": 0.0001887320540845394, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_c", "lineno": 44, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_c", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00011860812082886696, "outcome": "passed"}, "call": {"duration": 0.0004985879641026258, "outcome": "passed"}, "teardown": {"duration": 0.00012192199937999249, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[n-False]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[n-False]", "parametrize", "pytestmark", "n-False", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.0002443131525069475, "outcome": "passed"}, "call": {"duration": 0.000595359830185771, "outcome": "passed"}, "teardown": {"duration": 0.00015733507461845875, "outcome": "passed"}}, {"nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[y-True]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[y-True]", "parametrize", "pytestmark", "y-True", "test_bis.py", "tests", "slic", ""], "setup": {"duration": 0.00022997800260782242, "outcome": "passed"}, "call": {"duration": 0.0005136060062795877, "outcome": "passed"}, "teardown": {"duration": 0.00015586591325700283, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-y-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00032760994508862495, "outcome": "passed"}, "call": {"duration": 0.0005072259809821844, "outcome": "passed"}, "teardown": {"duration": 0.00018193782307207584, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-yes-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00032937200739979744, "outcome": "passed"}, "call": {"duration": 0.00057938601821661, "outcome": "passed"}, "teardown": {"duration": 0.0001797419972717762, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-n-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00030957814306020737, "outcome": "passed"}, "call": {"duration": 0.0006500249728560448, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = None, user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.0002101778518408537, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-no-False-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00034245196729898453, "outcome": "passed"}, "call": {"duration": 0.0004996000789105892, "outcome": "passed"}, "teardown": {"duration": 0.00020011188462376595, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input4-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0003290281165391207, "outcome": "passed"}, "call": {"duration": 0.0005175340920686722, "outcome": "passed"}, "teardown": {"duration": 0.0001877231989055872, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input5-False-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00031687505543231964, "outcome": "passed"}, "call": {"duration": 0.0005247639492154121, "outcome": "passed"}, "teardown": {"duration": 0.00019484106451272964, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", "parametrize", "pytestmark", "None-user_input6-True-Question? [y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00032937596552073956, "outcome": "passed"}, "call": {"duration": 0.0006298399530351162, "outcome": "passed"}, "teardown": {"duration": 0.0001835778821259737, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-y-True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0003186140675097704, "outcome": "passed"}, "call": {"duration": 0.0004822749178856611, "outcome": "passed"}, "teardown": {"duration": 0.00017571914941072464, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", "parametrize", "pytestmark", "y-n-True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00031067105010151863, "outcome": "passed"}, "call": {"duration": 0.0006272669415920973, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = 'y', user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [Y/n] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.0002070581540465355, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", "parametrize", "pytestmark", "y--True-Question? [Y/n] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00033637508749961853, "outcome": "passed"}, "call": {"duration": 0.0005188200157135725, "outcome": "passed"}, "teardown": {"duration": 0.0001931600272655487, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-y-True-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00033035106025636196, "outcome": "passed"}, "call": {"duration": 0.0004995460622012615, "outcome": "passed"}, "teardown": {"duration": 0.00018156110309064388, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "lineno": 10, "outcome": "failed", "keywords": ["test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", "parametrize", "pytestmark", "n-n-True-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0003250411245971918, "outcome": "passed"}, "call": {"duration": 0.0006117261946201324, "outcome": "failed", "crash": {"path": "/workspace/tligui_y/slic/tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "assert False == True"}, "traceback": [{"path": "tests/test_utils_ask_yes_no.py", "lineno": 39, "message": "AssertionError"}], "longrepr": "default = 'n', user_input = 'n', expected_output = True\nexpected_prompt = 'Question? [y/N] '\n\n @pytest.mark.parametrize(\n \"default, user_input, expected_output, expected_prompt\",\n [\n (None, 'y', True, \"Question? [y/n] \"),\n (None, 'yes', True, \"Question? [y/n] \"),\n (None, 'n', True, \"Question? [y/n] \"), #False\n (None, 'no', False, \"Question? [y/n] \"), #False\n (None, ['maybe', 'y'], True, \"Question? [y/n] \"),\n (None, ['', 'no'], False, \"Question? [y/n] \"),\n (None, ['invalid', 'yes'], True, \"Question? [y/n] \"),\n ('y', 'y', True, \"Question? [Y/n] \"),\n ('y', 'n', True, \"Question? [Y/n] \"), #False\n ('y', '', True, \"Question? [Y/n] \"),\n ('n', 'y', True, \"Question? [y/N] \"),\n ('n', 'n', True, \"Question? [y/N] \"), #False\n ('n', '', False, \"Question? [y/N] \"),\n ]\n )\n def test_ask_yes_no_with_defaults(default, user_input, expected_output, expected_prompt):\n patch_target = 'slic.utils.ask_yes_no.read_input'\n \n if isinstance(user_input, list):\n input_patch = patch(patch_target, side_effect=user_input)\n else:\n input_patch = patch(patch_target, return_value=user_input)\n \n with input_patch as mock_input:\n result = ask_yes_no(\"Question\", default=default)\n> assert result == expected_output\nE assert False == True\n\ntests/test_utils_ask_yes_no.py:39: AssertionError"}, "teardown": {"duration": 0.00021915812976658344, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "lineno": 10, "outcome": "passed", "keywords": ["test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", "parametrize", "pytestmark", "n--False-Question? [y/N] ", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00033717392943799496, "outcome": "passed"}, "call": {"duration": 0.0005116418469697237, "outcome": "passed"}, "teardown": {"duration": 0.00018932088278234005, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c", "lineno": 44, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_c", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00011703209020197392, "outcome": "passed"}, "call": {"duration": 0.0004869811236858368, "outcome": "passed"}, "teardown": {"duration": 0.00012708292342722416, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-False]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[n-False]", "parametrize", "pytestmark", "n-False", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.0002455790527164936, "outcome": "passed"}, "call": {"duration": 0.0005011670291423798, "outcome": "passed"}, "teardown": {"duration": 0.00015226402319967747, "outcome": "passed"}}, {"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-True]", "lineno": 49, "outcome": "passed", "keywords": ["test_ask_yes_no_ctrl_d[y-True]", "parametrize", "pytestmark", "y-True", "test_utils_ask_yes_no.py", "tests", "slic", ""], "setup": {"duration": 0.00024452595971524715, "outcome": "passed"}, "call": {"duration": 0.0005928180180490017, "outcome": "passed"}, "teardown": {"duration": 0.0001644650474190712, "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": "pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/ca.py", "lineno": 28}, {"message": "Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.\nImplementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages", "category": "DeprecationWarning", "when": "collect", "filename": "/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pkg_resources/__init__.py", "lineno": 3154}, {"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}]} \ No newline at end of file diff --git a/ci-reports/markdown/runtime_params.json b/ci-reports/markdown/runtime_params.json new file mode 100644 index 000000000..8a9578040 --- /dev/null +++ b/ci-reports/markdown/runtime_params.json @@ -0,0 +1,380 @@ +[ + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-y-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "yes", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-yes-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "n", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-n-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "no", + "expected_output": false, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-no-False-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "maybe", + "y" + ], + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input4-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "", + "no" + ], + "expected_output": false, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input5-False-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "invalid", + "yes" + ], + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input6-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y-y-True-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y-n-False-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "n", + "expected_output": false, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y-n-False-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "", + "expected_output": true, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y--True-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [y/N] " + }, + "id": "n-y-True-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n-n-False-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "n", + "expected_output": false, + "expected_prompt": "Question? [y/N] " + }, + "id": "n-n-False-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "", + "expected_output": false, + "expected_prompt": "Question? [y/N] " + }, + "id": "n--False-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_c", + "callspec": null + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[n-False]", + "callspec": { + "params": { + "ctrl_d": "n", + "expected_result": false + }, + "id": "n-False" + } + }, + { + "nodeid": "tests/test_bis.py::test_ask_yes_no_ctrl_d[y-True]", + "callspec": { + "params": { + "ctrl_d": "y", + "expected_result": true + }, + "id": "y-True" + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-y-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-y-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-yes-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "yes", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-yes-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-n-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "n", + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-n-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-no-False-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": "no", + "expected_output": false, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-no-False-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input4-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "maybe", + "y" + ], + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input4-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input5-False-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "", + "no" + ], + "expected_output": false, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input5-False-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[None-user_input6-True-Question? [y/n] ]", + "callspec": { + "params": { + "default": null, + "user_input": [ + "invalid", + "yes" + ], + "expected_output": true, + "expected_prompt": "Question? [y/n] " + }, + "id": "None-user_input6-True-Question? [y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-y-True-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y-y-True-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y-n-True-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "n", + "expected_output": true, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y-n-True-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[y--True-Question? [Y/n] ]", + "callspec": { + "params": { + "default": "y", + "user_input": "", + "expected_output": true, + "expected_prompt": "Question? [Y/n] " + }, + "id": "y--True-Question? [Y/n] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-y-True-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "y", + "expected_output": true, + "expected_prompt": "Question? [y/N] " + }, + "id": "n-y-True-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n-n-True-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "n", + "expected_output": true, + "expected_prompt": "Question? [y/N] " + }, + "id": "n-n-True-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_with_defaults[n--False-Question? [y/N] ]", + "callspec": { + "params": { + "default": "n", + "user_input": "", + "expected_output": false, + "expected_prompt": "Question? [y/N] " + }, + "id": "n--False-Question? [y/N] " + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c", + "callspec": null + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-False]", + "callspec": { + "params": { + "ctrl_d": "n", + "expected_result": false + }, + "id": "n-False" + } + }, + { + "nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-True]", + "callspec": { + "params": { + "ctrl_d": "y", + "expected_result": true + }, + "id": "y-True" + } + } +] \ No newline at end of file