Clone
1
run 1770 TEST commit b4bad3d
ci-bot edited this page 2025-08-06 21:47:01 +00:00

Test Report

View CI Run 1770 | Commit b4bad3d

🧪 Test Report

Generated on 2025-08-06 23:46:53 CEST

🧾 General Info

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

📋 Summary

  • Passed: 474
  • Failed: 36
  • Total: 510
  • Collected: 510

🔎 Tests

Passed (474)
  • 📄 morbidissimo/morbidissimo/morioc/test_infer_type.py

    Function: test_it_type_str

    • Test 1

      📌 Setup phase

      duration:

      0.0006736968643963337
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002223053015768528
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002078767865896225
      

      outcome:

      passed
      

    Function: test_it_type_float

    • Test 2

      📌 Setup phase

      duration:

      0.00011952128261327744
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015501072630286217
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010908907279372215
      

      outcome:

      passed
      

    Function: test_it_type_int

    • Test 3

      📌 Setup phase

      duration:

      0.00011297082528471947
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001398809254169464
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.830109775066376e-05
      

      outcome:

      passed
      

    Function: test_it_value_str

    • Test 4

      📌 Setup phase

      duration:

      0.00010738801211118698
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013771280646324158
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010303407907485962
      

      outcome:

      passed
      

    Function: test_it_value_long_str

    • Test 5

      📌 Setup phase

      duration:

      0.00011489912867546082
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001404760405421257
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001084781251847744
      

      outcome:

      passed
      

    Function: test_it_value_float

    • Test 6

      📌 Setup phase

      duration:

      0.00010645994916558266
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001565222628414631
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.606312960386276e-05
      

      outcome:

      passed
      

    Function: test_it_value_int

    • Test 7

      📌 Setup phase

      duration:

      0.00010650977492332458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001539061777293682
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.842822328209877e-05
      

      outcome:

      passed
      

    Function: test_it_empty_value_str

    • Test 8

      📌 Setup phase

      duration:

      0.00010856799781322479
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013706926256418228
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.504100307822227e-05
      

      outcome:

      passed
      

    Function: test_it_empty_value_float

    • Test 9

      📌 Setup phase

      duration:

      0.00012280885130167007
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013733096420764923
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010143965482711792
      

      outcome:

      passed
      

    Function: test_it_empty_value_int

    • Test 10

      📌 Setup phase

      duration:

      0.00011601625010371208
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001339539885520935
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010108388960361481
      

      outcome:

      passed
      

    Function: test_pstrue_str

    • Test 11

      📌 Setup phase

      duration:

      0.00011046929284930229
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001415582373738289
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.645521640777588e-05
      

      outcome:

      passed
      

    Function: test_pstrue_float

    • Test 12

      📌 Setup phase

      duration:

      0.00010457402095198631
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014550378546118736
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.759003296494484e-05
      

      outcome:

      passed
      

    Function: test_pstrue_int

    • Test 13

      📌 Setup phase

      duration:

      0.00011474406346678734
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014854595065116882
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.532691910862923e-05
      

      outcome:

      passed
      

    Function: test_psfalse_str

    • Test 14

      📌 Setup phase

      duration:

      0.00010524317622184753
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013560429215431213
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010569393634796143
      

      outcome:

      passed
      

    Function: test_psfalse_float

    • Test 15

      📌 Setup phase

      duration:

      0.00011519622057676315
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013602478429675102
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010508671402931213
      

      outcome:

      passed
      

    Function: test_psfalse_int

    • Test 16

      📌 Setup phase

      duration:

      0.00010442687198519707
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013293791562318802
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.855115786194801e-05
      

      outcome:

      passed
      

    Function: test_it_None

    • Test 17

      📌 Setup phase

      duration:

      0.00010941317304968834
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015718117356300354
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.487662464380264e-05
      

      outcome:

      passed
      

    Function: test_it_True

    • Test 18

      📌 Setup phase

      duration:

      0.00010630721226334572
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013332394883036613
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.697815403342247e-05
      

      outcome:

      passed
      

    Function: test_it_False

    • Test 19

      📌 Setup phase

      duration:

      0.00011726515367627144
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002875332720577717
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010286690667271614
      

      outcome:

      passed
      

    Function: test_it_nan

    • Test 20

      📌 Setup phase

      duration:

      0.00011521531268954277
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013566575944423676
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010250415652990341
      

      outcome:

      passed
      

    Function: test_it_np_nan

    • Test 21

      📌 Setup phase

      duration:

      0.00011821882799267769
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013870978727936745
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.517418220639229e-05
      

      outcome:

      passed
      

    Function: test_it_np1D_int

    • Test 22

      📌 Setup phase

      duration:

      0.00010798405855894089
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019284291192889214
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.885616600513458e-05
      

      outcome:

      passed
      

    Function: test_it_np2D_int

    • Test 23

      📌 Setup phase

      duration:

      0.00010515004396438599
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017728516831994057
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.863590821623802e-05
      

      outcome:

      passed
      

    Function: test_it_np1D_float

    • Test 24

      📌 Setup phase

      duration:

      0.00010547088459134102
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002211863175034523
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001080092042684555
      

      outcome:

      passed
      

    Function: test_it_np2D_float

    • Test 25

      📌 Setup phase

      duration:

      0.0001153796911239624
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020474009215831757
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010163988918066025
      

      outcome:

      passed
      

    Function: test_it_np1D_bool

    • Test 26

      📌 Setup phase

      duration:

      0.00010582013055682182
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001652231439948082
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010261498391628265
      

      outcome:

      passed
      

    Function: test_it_np1D_object

    • Test 27

      📌 Setup phase

      duration:

      0.00010904017835855484
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015864195302128792
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.557278826832771e-05
      

      outcome:

      passed
      

    Function: test_it_np_scalar_int

    • Test 28

      📌 Setup phase

      duration:

      0.0001043626107275486
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017334194853901863
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010063592344522476
      

      outcome:

      passed
      

    Function: test_it_np_scalar_float

    • Test 29

      📌 Setup phase

      duration:

      0.00011100806295871735
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016140006482601166
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.77078452706337e-05
      

      outcome:

      passed
      

    Function: test_it_np_scalar_bool

    • Test 30

      📌 Setup phase

      duration:

      0.00010598078370094299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001683463342487812
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010065874084830284
      

      outcome:

      passed
      

    Function: test_it_list

    • Test 31

      📌 Setup phase

      duration:

      0.00010659685358405113
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014498084783554077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010439567267894745
      

      outcome:

      passed
      

    Function: test_it_tuple

    • Test 32

      📌 Setup phase

      duration:

      0.00010865088552236557
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001578889787197113
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010522501543164253
      

      outcome:

      passed
      
  • 📄 test_utils_argfwd.py

    Function: test_split_at

    • Test 33
      params: lst=["a", "b", "c", "d"], index=2, expected="a", "b"], ["c", "d"

      📌 Runtime Parameters

      params:
        lst:
          - a
          - b
          - c
          - d
        index: 2
        expected:
          -       - a
            - b
          -       - c
            - d
      id: lst0-2-expected0
      

      📌 Setup phase

      duration:

      0.0003872467204928398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016394583508372307
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001612580381333828
      

      outcome:

      passed
      
    • Test 34
      params: lst=["x", "y"], index=1, expected="x"], ["y"

      📌 Runtime Parameters

      params:
        lst:
          - x
          - y
        index: 1
        expected:
          -       - x
          -       - y
      id: lst1-1-expected1
      

      📌 Setup phase

      duration:

      0.0002983580343425274
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013919174671173096
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015354109928011894
      

      outcome:

      passed
      
    • Test 35
      params: lst=[], index=0, expected=], [

      📌 Runtime Parameters

      params:
        lst:
      []
        index: 0
        expected:
          - (vide)
          - (vide)
      id: lst2-0-expected2
      

      📌 Setup phase

      duration:

      0.0002886638976633549
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014179013669490814
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016360636800527573
      

      outcome:

      passed
      

    Function: test_merge_lists_unique

    • Test 36
      params: a=["a", "b"], b=["b", "c"], expected=["a", "b", "c"]

      📌 Runtime Parameters

      params:
        a:
          - a
          - b
        b:
          - b
          - c
        expected:
          - a
          - b
          - c
      id: a0-b0-expected0
      

      📌 Setup phase

      duration:

      0.00027181487530469894
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015065399929881096
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001675877720117569
      

      outcome:

      passed
      
    • Test 37
      params: a=[], b=["x"], expected=["x"]

      📌 Runtime Parameters

      params:
        a:
      []
        b:
          - x
        expected:
          - x
      id: a1-b1-expected1
      

      📌 Setup phase

      duration:

      0.0002695308066904545
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014263484627008438
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015609897673130035
      

      outcome:

      passed
      
    • Test 38
      params: a=["x", "y"], b=["x", "y"], expected=["x", "y"]

      📌 Runtime Parameters

      params:
        a:
          - x
          - y
        b:
          - x
          - y
        expected:
          - x
          - y
      id: a2-b2-expected2
      

      📌 Setup phase

      duration:

      0.0002658008597791195
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001568780280649662
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015421118587255478
      

      outcome:

      passed
      

    Function: test_merge_dicts_unique

    • Test 39
      params: a={"a": 1}, b={"b": 2}, expected={"a": 1, "b": 2}

      📌 Runtime Parameters

      params:
        a:
          a: 1
        b:
          b: 2
        expected:
          a: 1
          b: 2
      id: a0-b0-expected0
      

      📌 Setup phase

      duration:

      0.00025905296206474304
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014143623411655426
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015685521066188812
      

      outcome:

      passed
      
    • Test 40
      params: a={"x": 1}, b={"x": 9, "y": 3}, expected={"x": 1, "y": 3}

      📌 Runtime Parameters

      params:
        a:
          x: 1
        b:
          x: 9
          y: 3
        expected:
          x: 1
          y: 3
      id: a1-b1-expected1
      

      📌 Setup phase

      duration:

      0.0003557130694389343
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001475638709962368
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015047471970319748
      

      outcome:

      passed
      
    • Test 41
      params: a={}, b={"k": 4}, expected={"k": 4}

      📌 Runtime Parameters

      params:
        a:
      {}
        b:
          k: 4
        expected:
          k: 4
      id: a2-b2-expected2
      

      📌 Setup phase

      duration:

      0.00026523834094405174
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000142563134431839
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001589362509548664
      

      outcome:

      passed
      

    Function: test_make_params_pos_basic

    • Test 42
      params: pos=["a", "b"], expected_names=["a", "b"]

      📌 Runtime Parameters

      params:
        pos:
          - a
          - b
        expected_names:
          - a
          - b
      id: pos0-expected_names0
      

      📌 Setup phase

      duration:

      0.00022164219990372658
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016403011977672577
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000154946930706501
      

      outcome:

      passed
      
    • Test 43
      params: pos=["param1", "value_2", "Z"], expected_names=["param1", "value_2", "Z"]

      📌 Runtime Parameters

      params:
        pos:
          - param1
          - value_2
          - Z
        expected_names:
          - param1
          - value_2
          - Z
      id: pos1-expected_names1
      

      📌 Setup phase

      duration:

      0.00021476903930306435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016413116827607155
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013884715735912323
      

      outcome:

      passed
      
    • Test 44
      params: pos=[], expected_names=[]

      📌 Runtime Parameters

      params:
        pos:
      []
        expected_names:
      []
      id: pos2-expected_names2
      

      📌 Setup phase

      duration:

      0.0002102297730743885
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001479433849453926
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013866694644093513
      

      outcome:

      passed
      

    Function: test_make_params_kw_basic

    • Test 45
      params: kw={"a": 1, "b": 2}, expected_keys=["a", "b"], expected_defaults=[1, 2]

      📌 Runtime Parameters

      params:
        kw:
          a: 1
          b: 2
        expected_keys:
          - a
          - b
        expected_defaults:
          - 1
          - 2
      id: kw0-expected_keys0-expected_defaults0
      

      📌 Setup phase

      duration:

      0.0002637328580021858
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022499123588204384
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015842635184526443
      

      outcome:

      passed
      
    • Test 46
      params: kw={"param_x": 0}, expected_keys=["param_x"], expected_defaults=[0]

      📌 Runtime Parameters

      params:
        kw:
          param_x: 0
        expected_keys:
          - param_x
        expected_defaults:
          - (vide)
      id: kw1-expected_keys1-expected_defaults1
      

      📌 Setup phase

      duration:

      0.00029024528339505196
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015529105439782143
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016448600217700005
      

      outcome:

      passed
      
    • Test 47
      params: kw={}, expected_keys=[], expected_defaults=[]

      📌 Runtime Parameters

      params:
        kw:
      {}
        expected_keys:
      []
        expected_defaults:
      []
      id: kw2-expected_keys2-expected_defaults2
      

      📌 Setup phase

      duration:

      0.00027353502810001373
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001567932777106762
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000168719794601202
      

      outcome:

      passed
      

    Function: test_make_signature_parametrized

    • Test 48
      params: pos=["x", "y"], kw={"z": 3}, expected_signature="(x, y, z=3)"

      📌 Runtime Parameters

      params:
        pos:
          - x
          - y
        kw:
          z: 3
        expected_signature: (x, y, z=3)
      id: pos0-kw0-(x, y, z=3)
      

      📌 Setup phase

      duration:

      0.00025662314146757126
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001934780739247799
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015711970627307892
      

      outcome:

      passed
      
    • Test 49
      params: pos=["a"], kw={"b": 1, "c": 2}, expected_signature="(a, b=1, c=2)"

      📌 Runtime Parameters

      params:
        pos:
          - a
        kw:
          b: 1
          c: 2
        expected_signature: (a, b=1, c=2)
      id: pos1-kw1-(a, b=1, c=2)
      

      📌 Setup phase

      duration:

      0.0002690278925001621
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017959391698241234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015708943828940392
      

      outcome:

      passed
      
    • Test 50
      params: pos=[], kw={"flag": false}, expected_signature="(flag=False)"

      📌 Runtime Parameters

      params:
        pos:
      []
        kw:
          flag: False
        expected_signature: (flag=False)
      id: pos2-kw2-(flag=False)
      

      📌 Setup phase

      duration:

      0.0002885209396481514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016437657177448273
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015655998140573502
      

      outcome:

      passed
      

    Function: test_get_args_parametrized

    • Test 51
      params: func=" at 0x7f211e85d5e0>", expected_pos=["a", "b"], expected_kw={"c": 3, "d": 4}

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f211e85d5e0>
        expected_pos:
          - a
          - b
        expected_kw:
          c: 3
          d: 4
      id: <lambda>-expected_pos0-expected_kw0
      

      📌 Setup phase

      duration:

      0.0002723131328821182
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019219797104597092
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000147984828799963
      

      outcome:

      passed
      
    • Test 52
      params: func=" at 0x7f211e85f550>", expected_pos=[], expected_kw="{'x': 1, 'y': , 'z': 0}"

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f211e85f550>
        expected_pos:
      []
        expected_kw: {'x': 1, 'y': <class 'inspect._empty'>, 'z': 0}
      id: <lambda>-expected_pos1-expected_kw1
      

      📌 Setup phase

      duration:

      0.00027377670630812645
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018968526273965836
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015419069677591324
      

      outcome:

      passed
      
    • Test 53
      params: func=" at 0x7f211e85f670>", expected_pos=[], expected_kw={}

      📌 Runtime Parameters

      params:
        func: <function <lambda> at 0x7f211e85f670>
        expected_pos:
      []
        expected_kw:
      {}
      id: <lambda>-expected_pos2-expected_kw2
      

      📌 Setup phase

      duration:

      0.00027340883389115334
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001989835873246193
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015494180843234062
      

      outcome:

      passed
      

    Function: test_signature_visible

    • Test 54
      params: func="", expected_sig="(a, b, d=30, c=10)"

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f211e85f8b0>
        expected_sig: (a, b, d=30, c=10)
      id: wrap_all-(a, b, d=30, c=10)
      

      📌 Setup phase

      duration:

      0.0002261628396809101
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001682490110397339
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014114473015069962
      

      outcome:

      passed
      
    • Test 55
      params: func="", expected_sig="(a, b, c=10, d=20)"

      📌 Runtime Parameters

      params:
        func: <function wrap_skip at 0x7f211e85f940>
        expected_sig: (a, b, c=10, d=20)
      id: wrap_skip-(a, b, c=10, d=20)
      

      📌 Setup phase

      duration:

      0.0002435757778584957
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015968410298228264
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001356438733637333
      

      outcome:

      passed
      
    • Test 56
      params: func="", expected_sig="(x, y, c=10, d=20)"

      📌 Runtime Parameters

      params:
        func: <function wrap_ignore_all at 0x7f211e85f9d0>
        expected_sig: (x, y, c=10, d=20)
      id: wrap_ignore_all-(x, y, c=10, d=20)
      

      📌 Setup phase

      duration:

      0.00022503826767206192
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001603551208972931
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014964677393436432
      

      outcome:

      passed
      

    Function: test_wrapper_behavior

    • Test 57
      params: func="", args=[1, 2, 3], kwargs={}, expected_result=36

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f211e85f8b0>
        args:
          - 1
          - 2
          - 3
        kwargs:
      {}
        expected_result: 36
      id: wrap_all-args0-kwargs0-36
      

      📌 Setup phase

      duration:

      0.00030985474586486816
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001377677544951439
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017862441018223763
      

      outcome:

      passed
      
    • Test 58
      params: func="", args=[1, 2, 3], kwargs={"d": 5}, expected_result=11

      📌 Runtime Parameters

      params:
        func: <function wrap_all at 0x7f211e85f8b0>
        args:
          - 1
          - 2
          - 3
        kwargs:
          d: 5
        expected_result: 11
      id: wrap_all-args1-kwargs1-11
      

      📌 Setup phase

      duration:

      0.0003041350282728672
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015213992446660995
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016553327441215515
      

      outcome:

      passed
      
    • Test 59
      params: func="", args=[0, 0], kwargs={"c": 3, "d": 4}, expected_result=10

      📌 Runtime Parameters

      params:
        func: <function wrap_skip at 0x7f211e85f940>
        args:
          - (vide)
          - (vide)
        kwargs:
          c: 3
          d: 4
        expected_result: 10
      id: wrap_skip-args2-kwargs2-10
      

      📌 Setup phase

      duration:

      0.0003010788932442665
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001370040699839592
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017315195873379707
      

      outcome:

      passed
      
    • Test 60
      params: func="", args=[0, 0], kwargs={}, expected_result=10

      📌 Runtime Parameters

      params:
        func: <function wrap_ignore_all at 0x7f211e85f9d0>
        args:
          - (vide)
          - (vide)
        kwargs:
      {}
        expected_result: 10
      id: wrap_ignore_all-args3-kwargs3-10
      

      📌 Setup phase

      duration:

      0.0003221598453819752
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013425806537270546
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017079664394259453
      

      outcome:

      passed
      
  • 📄 test_utils_ask_yes_no.py

    Function: test_ask_yes_no

    • Test 61
      params: default=null, user_input="y", expected_output=true, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      params:
        default: None
        user_input: y
        expected_output: True
        expected_prompt: Question? [y/n] 
      id: None-y-True-Question? [y/n] 
      

      📌 Setup phase

      duration:

      0.0003155488520860672
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011471179313957691
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002203681506216526
      

      outcome:

      passed
      
    • Test 62
      params: default=null, user_input="yes", expected_output=true, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      params:
        default: None
        user_input: yes
        expected_output: True
        expected_prompt: Question? [y/n] 
      id: None-yes-True-Question? [y/n] 
      

      📌 Setup phase

      duration:

      0.0003367653116583824
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005779317580163479
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002043633721768856
      

      outcome:

      passed
      
    • Test 63
      params: default=null, user_input="n", expected_output=false, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      params:
        default: None
        user_input: n
        expected_output: False
        expected_prompt: Question? [y/n] 
      id: None-n-False-Question? [y/n] 
      

      📌 Setup phase

      duration:

      0.00032634614035487175
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005212579853832722
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018422026187181473
      

      outcome:

      passed
      
    • Test 64
      params: default=null, user_input="no", expected_output=false, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      params:
        default: None
        user_input: no
        expected_output: False
        expected_prompt: Question? [y/n] 
      id: None-no-False-Question? [y/n] 
      

      📌 Setup phase

      duration:

      0.00031538819894194603
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000601703766733408
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001841471530497074
      

      outcome:

      passed
      
    • Test 65
      params: default=null, user_input=["maybe", "y"], expected_output=true, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      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:

      0.00033285096287727356
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005262866616249084
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018721399828791618
      

      outcome:

      passed
      
    • Test 66
      params: default=null, user_input=["", "no"], expected_output=false, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      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:

      0.0003251689486205578
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005288985557854176
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019295187667012215
      

      outcome:

      passed
      
    • Test 67
      params: default=null, user_input=["invalid", "", "invalid", "yes"], expected_output=true, expected_prompt="Question? [y/n] "

      📌 Runtime Parameters

      params:
        default: None
        user_input:
          - invalid
          - (vide)
          - invalid
          - yes
        expected_output: True
        expected_prompt: Question? [y/n] 
      id: None-user_input6-True-Question? [y/n] 
      

      📌 Setup phase

      duration:

      0.0003167940303683281
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005547930486500263
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001883408986032009
      

      outcome:

      passed
      
    • Test 68
      params: default="y", user_input="y", expected_output=true, expected_prompt="Question? [Y/n] "

      📌 Runtime Parameters

      params:
        default: y
        user_input: y
        expected_output: True
        expected_prompt: Question? [Y/n] 
      id: y-y-True-Question? [Y/n] 
      

      📌 Setup phase

      duration:

      0.00032531190663576126
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006007719784975052
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001852181740105152
      

      outcome:

      passed
      
    • Test 69
      params: default="y", user_input="n", expected_output=false, expected_prompt="Question? [Y/n] "

      📌 Runtime Parameters

      params:
        default: y
        user_input: n
        expected_output: False
        expected_prompt: Question? [Y/n] 
      id: y-n-False-Question? [Y/n] 
      

      📌 Setup phase

      duration:

      0.00034635188058018684
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005115959793329239
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018577370792627335
      

      outcome:

      passed
      
    • Test 70
      params: default="y", user_input="", expected_output=true, expected_prompt="Question? [Y/n] "

      📌 Runtime Parameters

      params:
        default: y
        user_input: None
        expected_output: True
        expected_prompt: Question? [Y/n] 
      id: y--True-Question? [Y/n] 
      

      📌 Setup phase

      duration:

      0.00032296497374773026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005228319205343723
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019095605239272118
      

      outcome:

      passed
      
    • Test 71
      params: default="n", user_input="y", expected_output=true, expected_prompt="Question? [y/N] "

      📌 Runtime Parameters

      params:
        default: n
        user_input: y
        expected_output: True
        expected_prompt: Question? [y/N] 
      id: n-y-True-Question? [y/N] 
      

      📌 Setup phase

      duration:

      0.0003159879706799984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005999971181154251
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001967400312423706
      

      outcome:

      passed
      
    • Test 72
      params: default="n", user_input="n", expected_output=false, expected_prompt="Question? [y/N] "

      📌 Runtime Parameters

      params:
        default: n
        user_input: n
        expected_output: False
        expected_prompt: Question? [y/N] 
      id: n-n-False-Question? [y/N] 
      

      📌 Setup phase

      duration:

      0.00032454775646328926
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005023996345698833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017796922475099564
      

      outcome:

      passed
      
    • Test 73
      params: default="n", user_input="", expected_output=false, expected_prompt="Question? [y/N] "

      📌 Runtime Parameters

      params:
        default: n
        user_input: None
        expected_output: False
        expected_prompt: Question? [y/N] 
      id: n--False-Question? [y/N] 
      

      📌 Setup phase

      duration:

      0.00032224785536527634
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004904479719698429
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019332673400640488
      

      outcome:

      passed
      

    Function: test_ask_yes_no_ctrl_c

    • Test 74
      params: default=null, user_input="", expected_output=false, ctrl_c="n"

      📌 Runtime Parameters

      params:
        default: None
        user_input: <class 'KeyboardInterrupt'>
        expected_output: False
        ctrl_c: n
      id: None-KeyboardInterrupt-False-n
      

      📌 Setup phase

      duration:

      0.0003132219426333904
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005245557986199856
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002002236433327198
      

      outcome:

      passed
      
    • Test 75
      params: default=null, user_input="", expected_output=true, ctrl_c="y"

      📌 Runtime Parameters

      params:
        default: None
        user_input: <class 'KeyboardInterrupt'>
        expected_output: True
        ctrl_c: y
      id: None-KeyboardInterrupt-True-y
      

      📌 Setup phase

      duration:

      0.0003186170943081379
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006568962708115578
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018006190657615662
      

      outcome:

      passed
      
    • Test 76
      params: default="y", user_input="", expected_output=false, ctrl_c="n"

      📌 Runtime Parameters

      params:
        default: y
        user_input: <class 'KeyboardInterrupt'>
        expected_output: False
        ctrl_c: n
      id: y-KeyboardInterrupt-False-n
      

      📌 Setup phase

      duration:

      0.00033351127058267593
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005057970993220806
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001866668462753296
      

      outcome:

      passed
      
    • Test 77
      params: default="y", user_input="", expected_output=true, ctrl_c="y"

      📌 Runtime Parameters

      params:
        default: y
        user_input: <class 'KeyboardInterrupt'>
        expected_output: True
        ctrl_c: y
      id: y-KeyboardInterrupt-True-y
      

      📌 Setup phase

      duration:

      0.0003273650072515011
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005048331804573536
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019798986613750458
      

      outcome:

      passed
      
    • Test 78
      params: default="n", user_input="", expected_output=false, ctrl_c="n"

      📌 Runtime Parameters

      params:
        default: n
        user_input: <class 'KeyboardInterrupt'>
        expected_output: False
        ctrl_c: n
      id: n-KeyboardInterrupt-False-n
      

      📌 Setup phase

      duration:

      0.0003183716908097267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005285670049488544
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020542601123452187
      

      outcome:

      passed
      
    • Test 79
      params: default=null, user_input="['invalid', '', 'invalid', ]", expected_output=false, ctrl_c="n"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>]
        expected_output: False
        ctrl_c: n
      id: None-user_input5-False-n
      

      📌 Setup phase

      duration:

      0.00032216403633356094
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006392248906195164
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018895696848630905
      

      outcome:

      passed
      
    • Test 80
      params: default=null, user_input="['invalid', '', 'invalid', ]", expected_output=true, ctrl_c="y"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['invalid', '', 'invalid', <class 'KeyboardInterrupt'>]
        expected_output: True
        ctrl_c: y
      id: None-user_input6-True-y
      

      📌 Setup phase

      duration:

      0.00033994903787970543
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005576512776315212
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018463796004652977
      

      outcome:

      passed
      
    • Test 81
      params: default=null, user_input="['foo', '', , '', 'invalid', , 'no']", expected_output=false, ctrl_c=null

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['foo', '', <class 'KeyboardInterrupt'>, '', 'invalid', <class 'KeyboardInterrupt'>, 'no']
        expected_output: False
        ctrl_c: None
      id: None-user_input7-False-None
      

      📌 Setup phase

      duration:

      0.0003393637016415596
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005959393456578255
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001952000893652439
      

      outcome:

      passed
      
    • Test 82
      params: default="n", user_input="[, , , '']", expected_output=false, ctrl_c=null

      📌 Runtime Parameters

      params:
        default: n
        user_input: [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, '']
        expected_output: False
        ctrl_c: None
      id: n-user_input8-False-None
      

      📌 Setup phase

      duration:

      0.0003237491473555565
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006498349830508232
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020048720762133598
      

      outcome:

      passed
      
    • Test 83
      params: default="n", user_input="[, , , '']", expected_output=false, ctrl_c="Invalid"

      📌 Runtime Parameters

      params:
        default: n
        user_input: [<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, '']
        expected_output: False
        ctrl_c: Invalid
      id: n-user_input9-False-Invalid
      

      📌 Setup phase

      duration:

      0.0003225691616535187
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005507268942892551
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019017281010746956
      

      outcome:

      passed
      

    Function: test_ask_yes_no_ctrl_d

    • Test 84
      params: default=null, user_input="", expected_output=false, ctrl_d="n"

      📌 Runtime Parameters

      params:
        default: None
        user_input: <class 'EOFError'>
        expected_output: False
        ctrl_d: n
      id: None-EOFError-False-n
      

      📌 Setup phase

      duration:

      0.0003174790181219578
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005118842236697674
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018226215615868568
      

      outcome:

      passed
      
    • Test 85
      params: default=null, user_input="", expected_output=true, ctrl_d="y"

      📌 Runtime Parameters

      params:
        default: None
        user_input: <class 'EOFError'>
        expected_output: True
        ctrl_d: y
      id: None-EOFError-True-y
      

      📌 Setup phase

      duration:

      0.0003383061848580837
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005175089463591576
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001862826757133007
      

      outcome:

      passed
      
    • Test 86
      params: default="y", user_input="", expected_output=true, ctrl_d="y"

      📌 Runtime Parameters

      params:
        default: y
        user_input: <class 'EOFError'>
        expected_output: True
        ctrl_d: y
      id: y-EOFError-True-y
      

      📌 Setup phase

      duration:

      0.0003397860564291477
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006067198701202869
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002006031572818756
      

      outcome:

      passed
      
    • Test 87
      params: default="n", user_input="", expected_output=true, ctrl_d="y"

      📌 Runtime Parameters

      params:
        default: n
        user_input: <class 'EOFError'>
        expected_output: True
        ctrl_d: y
      id: n-EOFError-True-y
      

      📌 Setup phase

      duration:

      0.0003257780335843563
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000519957859069109
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018884288147091866
      

      outcome:

      passed
      
    • Test 88
      params: default="n", user_input="", expected_output=false, ctrl_d="n"

      📌 Runtime Parameters

      params:
        default: n
        user_input: <class 'EOFError'>
        expected_output: False
        ctrl_d: n
      id: n-EOFError-False-n
      

      📌 Setup phase

      duration:

      0.0003282972611486912
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005387947894632816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018900539726018906
      

      outcome:

      passed
      
    • Test 89
      params: default=null, user_input="['foo', ]", expected_output=true, ctrl_d="y"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['foo', <class 'EOFError'>]
        expected_output: True
        ctrl_d: y
      id: None-user_input5-True-y
      

      📌 Setup phase

      duration:

      0.00033204304054379463
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005362187512218952
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002464628778398037
      

      outcome:

      passed
      
    • Test 90
      params: default=null, user_input="['foo', ]", expected_output=false, ctrl_d="n"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['foo', <class 'EOFError'>]
        expected_output: False
        ctrl_d: n
      id: None-user_input6-False-n
      

      📌 Setup phase

      duration:

      0.0003341049887239933
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006109769456088543
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019916286692023277
      

      outcome:

      passed
      
    • Test 91
      params: default="y", user_input="", expected_output=true, ctrl_d=null

      📌 Runtime Parameters

      params:
        default: y
        user_input: <class 'EOFError'>
        expected_output: True
        ctrl_d: None
      id: y-EOFError-True-None
      

      📌 Setup phase

      duration:

      0.0003316751681268215
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005189361982047558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001973779872059822
      

      outcome:

      passed
      
    • Test 92
      params: default="n", user_input="", expected_output=false, ctrl_d=null

      📌 Runtime Parameters

      params:
        default: n
        user_input: <class 'EOFError'>
        expected_output: False
        ctrl_d: None
      id: n-EOFError-False-None
      

      📌 Setup phase

      duration:

      0.00030663004145026207
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005261339247226715
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018009822815656662
      

      outcome:

      passed
      
    • Test 93
      params: default=null, user_input="['invalid', 'ok', '', , 'ok', 'y']", expected_output=true, ctrl_d=null

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['invalid', 'ok', '', <class 'EOFError'>, 'ok', 'y']
        expected_output: True
        ctrl_d: None
      id: None-user_input9-True-None
      

      📌 Setup phase

      duration:

      0.0003407159820199013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006602597422897816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018892483785748482
      

      outcome:

      passed
      
    • Test 94
      params: default="n", user_input="['no', ]", expected_output=false, ctrl_d=null

      📌 Runtime Parameters

      params:
        default: n
        user_input: ['no', <class 'EOFError'>]
        expected_output: False
        ctrl_d: None
      id: n-user_input10-False-None
      

      📌 Setup phase

      duration:

      0.0003305920399725437
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004990282468497753
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019789626821875572
      

      outcome:

      passed
      
    • Test 95
      params: default=null, user_input="[, , , 'y']", expected_output=true, ctrl_d=null

      📌 Runtime Parameters

      params:
        default: None
        user_input: [<class 'EOFError'>, <class 'EOFError'>, <class 'EOFError'>, 'y']
        expected_output: True
        ctrl_d: None
      id: None-user_input11-True-None
      

      📌 Setup phase

      duration:

      0.0003253137692809105
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005454383790493011
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019735191017389297
      

      outcome:

      passed
      
    • Test 96
      params: default=null, user_input="['invalid', '', 'nope', ]", expected_output=false, ctrl_d="n"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['invalid', '', 'nope', <class 'EOFError'>]
        expected_output: False
        ctrl_d: n
      id: None-user_input12-False-n
      

      📌 Setup phase

      duration:

      0.0003161500208079815
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005951700732111931
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020207511261105537
      

      outcome:

      passed
      
    • Test 97
      params: default=null, user_input="['nope', 'nope', ]", expected_output=true, ctrl_d="y"

      📌 Runtime Parameters

      params:
        default: None
        user_input: ['nope', 'nope', <class 'EOFError'>]
        expected_output: True
        ctrl_d: y
      id: None-user_input13-True-y
      

      📌 Setup phase

      duration:

      0.0003333832137286663
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006416710093617439
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018603866919875145
      

      outcome:

      passed
      

    Function: test_ask_yes_no_mixed_sequences

    • Test 98
      params: default=null, ctrl_c="invalid", ctrl_d=null, user_input="['what', '', 'nope', , 'ok', , 'no']", expected_output=false

      📌 Runtime Parameters

      params:
        default: None
        ctrl_c: invalid
        ctrl_d: None
        user_input: ['what', '', 'nope', <class 'KeyboardInterrupt'>, 'ok', <class 'EOFError'>, 'no']
        expected_output: False
      id: None-invalid-None-user_input0-False
      

      📌 Setup phase

      duration:

      0.00037878425791859627
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005792058072984219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020223995670676231
      

      outcome:

      passed
      
    • Test 99
      params: default=null, ctrl_c=null, ctrl_d="notananswer", user_input="['maybe', , 'nop', 'yep', , 'yes']", expected_output=true

      📌 Runtime Parameters

      params:
        default: None
        ctrl_c: None
        ctrl_d: notananswer
        user_input: ['maybe', <class 'KeyboardInterrupt'>, 'nop', 'yep', <class 'EOFError'>, 'yes']
        expected_output: True
      id: None-None-notananswer-user_input1-True
      

      📌 Setup phase

      duration:

      0.00037049874663352966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006110100075602531
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020391400903463364
      

      outcome:

      passed
      
    • Test 100
      params: default=null, ctrl_c="n", ctrl_d="nop", user_input="['ok', , , 'maybe', , 'nah', ]", expected_output=false

      📌 Runtime Parameters

      params:
        default: None
        ctrl_c: n
        ctrl_d: nop
        user_input: ['ok', <class 'EOFError'>, <class 'EOFError'>, 'maybe', <class 'EOFError'>, 'nah', <class 'KeyboardInterrupt'>]
        expected_output: False
      id: None-n-nop-user_input2-False
      

      📌 Setup phase

      duration:

      0.0003709779120981693
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006739860400557518
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002225278876721859
      

      outcome:

      passed
      
  • 📄 test_utils_channels.py

    Function: test_load_channels_and_channels_class_with_professional_names

    • Test 101

      📌 Setup phase

      duration:

      0.00012909295037388802
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009753829799592495
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012400373816490173
      

      outcome:

      passed
      
  • 📄 test_utils_config.py

    Function: test_config_with_nested_and_list_data

    • Test 102

      📌 Setup phase

      duration:

      0.00012295786291360855
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006050909869372845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001401570625603199
      

      outcome:

      passed
      

    Function: test_config_with_strange_and_edge_keys

    • Test 103

      📌 Setup phase

      duration:

      0.00012313621118664742
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007262402214109898
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012005772441625595
      

      outcome:

      passed
      
  • 📄 test_utils_cpint.py

    Function: test_load_color_variants_all_keys_and_types

    • Test 104
      params: base_color="red"

      📌 Runtime Parameters

      params:
        base_color: red
      id: red
      

      📌 Setup phase

      duration:

      0.00019868789240717888
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017004087567329407
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012536300346255302
      

      outcome:

      passed
      
    • Test 105
      params: base_color="blue"

      📌 Runtime Parameters

      params:
        base_color: blue
      id: blue
      

      📌 Setup phase

      duration:

      0.00019953586161136627
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016252277418971062
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012579374015331268
      

      outcome:

      passed
      
    • Test 106
      params: base_color="yellow"

      📌 Runtime Parameters

      params:
        base_color: yellow
      id: yellow
      

      📌 Setup phase

      duration:

      0.0001864088699221611
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016081426292657852
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012806477025151253
      

      outcome:

      passed
      
    • Test 107
      params: base_color="green"

      📌 Runtime Parameters

      params:
        base_color: green
      id: green
      

      📌 Setup phase

      duration:

      0.00018223188817501068
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016076397150754929
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012297136709094048
      

      outcome:

      passed
      
    • Test 108
      params: base_color="cyan"

      📌 Runtime Parameters

      params:
        base_color: cyan
      id: cyan
      

      📌 Setup phase

      duration:

      0.00017810333520174026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014996668323874474
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011804094538092613
      

      outcome:

      passed
      
    • Test 109
      params: base_color="magenta"

      📌 Runtime Parameters

      params:
        base_color: magenta
      id: magenta
      

      📌 Setup phase

      duration:

      0.00017930381000041962
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015298789367079735
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001356448046863079
      

      outcome:

      passed
      
    • Test 110
      params: base_color="white"

      📌 Runtime Parameters

      params:
        base_color: white
      id: white
      

      📌 Setup phase

      duration:

      0.00017476780340075493
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014714617282152176
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011895596981048584
      

      outcome:

      passed
      
    • Test 111
      params: base_color="black"

      📌 Runtime Parameters

      params:
        base_color: black
      id: black
      

      📌 Setup phase

      duration:

      0.00017650006338953972
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001588151790201664
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001368410885334015
      

      outcome:

      passed
      

    Function: test_cprint_all_cases_fancy

    • Test 112
      params: objects=[["Fancy", "list"], {"a": 7}, null], color_spec=["red", "+"], sep=" | ", expected_flatten="['Fancy', 'list'] | {'a': 7} | None", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - Fancy
            - list
          -       a: 7
          - (vide)
        color_spec:
          - red
          - +
        sep:  | 
        expected_flatten: ['Fancy', 'list'] | {'a': 7} | None
        expected_error: None
      id: objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None
      

      📌 Setup phase

      duration:

      0.0005950289778411388
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024833716452121735
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00026976922526955605
      

      outcome:

      passed
      
    • Test 113
      params: objects=[{"k": [1, 2]}, 99, ["X", ["Y"]]], color_spec=["blue", "++"], sep=" - ", expected_flatten="{'k': [1, 2]} - 99 - ['X', ['Y']]", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       k:
              - 1
              - 2
          - 99
          -       - X
            -         - Y
        color_spec:
          - blue
          - ++
        sep:  - 
        expected_flatten: {'k': [1, 2]} - 99 - ['X', ['Y']]
        expected_error: None
      id: objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None
      

      📌 Setup phase

      duration:

      0.0004637320525944233
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002389727160334587
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025322288274765015
      

      outcome:

      passed
      
    • Test 114
      params: objects=[[], {}, "End"], color_spec=["magenta", "--"], sep=" / ", expected_flatten="[] / {} / End", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          - (vide)
          - (vide)
          - End
        color_spec:
          - magenta
          - --
        sep:  / 
        expected_flatten: [] / {} / End
        expected_error: None
      id: objects2-color_spec2- / -[] / {} / End-None
      

      📌 Setup phase

      duration:

      0.0004936712794005871
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002432679757475853
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00026498502120375633
      

      outcome:

      passed
      
    • Test 115
      params: objects="", [3, 4, "done", 0], color_spec=["green", ""], sep=";", expected_flatten="['', [3, 4]];done;0", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - (vide)
            -         - 3
              - 4
          - done
          - (vide)
        color_spec:
          - green
          - (vide)
        sep: ;
        expected_flatten: ['', [3, 4]];done;0
        expected_error: None
      id: objects3-color_spec3-;-['', [3, 4]];done;0-None
      

      📌 Setup phase

      duration:

      0.00048166094347834587
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023972196504473686
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002575237303972244
      

      outcome:

      passed
      
    • Test 116
      params: objects=[["alpha", null], ["beta", {}], "stop"], color_spec=["yellow", ""], sep="::", expected_flatten="['alpha', None]::['beta', {}]::stop", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - alpha
            - (vide)
          -       - beta
            - (vide)
          - stop
        color_spec:
          - yellow
          - (vide)
        sep: ::
        expected_flatten: ['alpha', None]::['beta', {}]::stop
        expected_error: None
      id: objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None
      

      📌 Setup phase

      duration:

      0.0004931488074362278
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023997202515602112
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002512270584702492
      

      outcome:

      passed
      
    • Test 117
      params: objects="deep", ["deeper", ["deepest"], "X"], color_spec=["cyan", "+"], sep=" ... ", expected_flatten="['deep', ['deeper', ['deepest']]] ... X", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - deep
            -         - deeper
              -           - deepest
          - X
        color_spec:
          - cyan
          - +
        sep:  ... 
        expected_flatten: ['deep', ['deeper', ['deepest']]] ... X
        expected_error: None
      id: objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None
      

      📌 Setup phase

      duration:

      0.0005173101089894772
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002582920715212822
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002577980048954487
      

      outcome:

      passed
      
    • Test 118
      params: objects=[{"dict": {"nested": [4, 5]}}, [true, false], 6.28], color_spec=["white", "++"], sep=" // ", expected_flatten="{'dict': {'nested': [4, 5]}} // [True, False] // 6.28", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       dict:
              nested:
                - 4
                - 5
          -       - True
            - (vide)
          - 6.28
        color_spec:
          - white
          - ++
        sep:  // 
        expected_flatten: {'dict': {'nested': [4, 5]}} // [True, False] // 6.28
        expected_error: None
      id: objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None
      

      📌 Setup phase

      duration:

      0.0005060220137238503
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024075107648968697
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0005935737863183022
      

      outcome:

      passed
      
    • Test 119
      params: objects="A", ["B", "string", "C"], color_spec=["red", "--"], sep="==", expected_flatten="['A', ['B']]==string==C", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - A
            -         - B
          - string
          - C
        color_spec:
          - red
          - --
        sep: ==
        expected_flatten: ['A', ['B']]==string==C
        expected_error: None
      id: objects7-color_spec7-==-['A', ['B']]==string==C-None
      

      📌 Setup phase

      duration:

      0.0004868609830737114
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022224895656108856
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002634008415043354
      

      outcome:

      passed
      
    • Test 120
      params: objects="Test", null, [, {"v": 0}], color_spec=["green", "++"], sep=" ++ ", expected_flatten="['Test', None, []] ++ {'v': 0}", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - Test
            - (vide)
            - (vide)
          -       v: 0
        color_spec:
          - green
          - ++
        sep:  ++ 
        expected_flatten: ['Test', None, []] ++ {'v': 0}
        expected_error: None
      id: objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None
      

      📌 Setup phase

      duration:

      0.000458509661257267
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002190028317272663
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002511311322450638
      

      outcome:

      passed
      
    • Test 121
      params: objects=[["no", "color"], "plain"], color_spec=null, sep=";", expected_flatten="['no', 'color'];plain", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - no
            - color
          - plain
        color_spec: None
        sep: ;
        expected_flatten: ['no', 'color'];plain
        expected_error: None
      id: objects9-None-;-['no', 'color'];plain-None
      

      📌 Setup phase

      duration:

      0.000465592835098505
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020701903849840164
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002583838067948818
      

      outcome:

      passed
      
    • Test 122
      params: objects=[["simple"], "", 12], color_spec=null, sep=" | ", expected_flatten="['simple'] | | 12", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       - simple
          - (vide)
          - 12
        color_spec: None
        sep:  | 
        expected_flatten: ['simple'] |  | 12
        expected_error: None
      id: objects10-None- | -['simple'] |  | 12-None
      

      📌 Setup phase

      duration:

      0.00045951083302497864
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021946057677268982
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002418598160147667
      

      outcome:

      passed
      
    • Test 123
      params: objects=["very", "deep", {"ok": true}], color_spec=null, sep=" : ", expected_flatten="'very', 'deep' : {'ok': True}", expected_error=null

      📌 Runtime Parameters

      params:
        objects:
          -       -         - very
              - deep
          -       ok: True
        color_spec: None
        sep:  : 
        expected_flatten: [['very', 'deep']] : {'ok': True}
        expected_error: None
      id: objects11-None- : -[['very', 'deep']] : {'ok': True}-None
      

      📌 Setup phase

      duration:

      0.00047155795618891716
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002211080864071846
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00027720583602786064
      

      outcome:

      passed
      
    • Test 124
      params: objects=[["fail", "color"], 123], color_spec=["green", "!!"], sep="|", expected_flatten="['fail', 'color']|123", expected_error=""

      📌 Runtime Parameters

      params:
        objects:
          -       - fail
            - color
          - 123
        color_spec:
          - green
          - !!
        sep: |
        expected_flatten: ['fail', 'color']|123
        expected_error: <class 'ValueError'>
      id: objects12-color_spec12-|-['fail', 'color']|123-ValueError
      

      📌 Setup phase

      duration:

      0.00045995786786079407
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023877760395407677
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002683349885046482
      

      outcome:

      passed
      
    • Test 125
      params: objects=[["error"], {}], color_spec=["cyan", "xxx"], sep=" * ", expected_flatten="['error'] * {}", expected_error=""

      📌 Runtime Parameters

      params:
        objects:
          -       - error
          - (vide)
        color_spec:
          - cyan
          - xxx
        sep:  * 
        expected_flatten: ['error'] * {}
        expected_error: <class 'ValueError'>
      id: objects13-color_spec13- * -['error'] * {}-ValueError
      

      📌 Setup phase

      duration:

      0.0004643527790904045
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00026960717514157295
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024427007883787155
      

      outcome:

      passed
      
    • Test 126
      params: objects="nope"], ["bad", color_spec=["magenta", "invalid"], sep="//", expected_flatten="['nope']//['bad']", expected_error=""

      📌 Runtime Parameters

      params:
        objects:
          -       - nope
          -       - bad
        color_spec:
          - magenta
          - invalid
        sep: //
        expected_flatten: ['nope']//['bad']
        expected_error: <class 'ValueError'>
      id: objects14-color_spec14-//-['nope']//['bad']-ValueError
      

      📌 Setup phase

      duration:

      0.0005118460394442081
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023731309920549393
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024296483024954796
      

      outcome:

      passed
      
    • Test 127
      params: objects=["wrong", "base"], color_spec=["notacolor", ""], sep="--", expected_flatten="wrong--base", expected_error=""

      📌 Runtime Parameters

      params:
        objects:
          - wrong
          - base
        color_spec:
          - notacolor
          - (vide)
        sep: --
        expected_flatten: wrong--base
        expected_error: <class 'ValueError'>
      id: objects15-color_spec15----wrong--base-ValueError
      

      📌 Setup phase

      duration:

      0.0004623550921678543
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022589322179555893
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002477099187672138
      

      outcome:

      passed
      
  • 📄 test_utils_debug.py

    Function: test_traceable

    • Test 128
      params: cls="", entry=[[10, 20], {}], expected="creating: A(10, 20)"

      📌 Runtime Parameters

      params:
        cls: <class 'test_utils_debug.A'>
        entry:
          -       - 10
            - 20
          - (vide)
        expected: creating: A(10, 20)
      id: A-entry0-creating: A(10, 20)
      

      📌 Setup phase

      duration:

      0.0002755839377641678
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008627227507531643
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017618108540773392
      

      outcome:

      passed
      
    • Test 129
      params: cls="", entry=[[10, 20], {"e": 100}], expected="creating: A(10, 20, e=100)"

      📌 Runtime Parameters

      params:
        cls: <class 'test_utils_debug.A'>
        entry:
          -       - 10
            - 20
          -       e: 100
        expected: creating: A(10, 20, e=100)
      id: A-entry1-creating: A(10, 20, e=100)
      

      📌 Setup phase

      duration:

      0.00027957698330283165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009334119968116283
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019898684695363045
      

      outcome:

      passed
      
    • Test 130
      params: cls="", entry="foo", [1, 2, 3, {"flag": true, "data": {"x": 9}}], expected="creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})"

      📌 Runtime Parameters

      params:
        cls: <class 'test_utils_debug.A'>
        entry:
          -       - foo
            -         - 1
              - 2
              - 3
          -       flag: True
            data:
              x: 9
        expected: creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})
      id: A-entry2-creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})
      

      📌 Setup phase

      duration:

      0.00029937876388430595
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000830851960927248
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019241590052843094
      

      outcome:

      passed
      
    • Test 131
      params: cls="", entry="([CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], {'name': 'test', 'meta': 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'})", expected="creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)"

      📌 Runtime Parameters

      params:
        cls: <class 'test_utils_debug.A'>
        entry: ([CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]], {'name': 'test', 'meta': 'yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy'})
        expected: creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)
      id: A-entry3-creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)
      

      📌 Setup phase

      duration:

      0.00034718774259090424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009826216846704483
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00029257219284772873
      

      outcome:

      passed
      
    • Test 132
      params: cls="", entry="AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA", [0, 0, 0, 0, 0, {}], expected="creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])"

      📌 Runtime Parameters

      params:
        cls: <class 'test_utils_debug.A'>
        entry:
          -       - AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
            -         - (vide)
              - (vide)
              - (vide)
              - (vide)
              - (vide)
          - (vide)
        expected: creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])
      id: A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])
      

      📌 Setup phase

      duration:

      0.0003909869119524956
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008253590203821659
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00030323397368192673
      

      outcome:

      passed
      

    Function: test_short_repr

    • Test 133
      params: value="abc", cutoff=10, expected="'abc'"

      📌 Runtime Parameters

      params:
        value: abc
        cutoff: 10
        expected: 'abc'
      id: abc-10-'abc'
      

      📌 Setup phase

      duration:

      0.0004183580167591572
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016320869326591492
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001963418908417225
      

      outcome:

      passed
      
    • Test 135
      params: value=12345, cutoff=10, expected="12345"

      📌 Runtime Parameters

      params:
        value: 12345
        cutoff: 10
        expected: 12345
      id: 12345-10-12345
      

      📌 Setup phase

      duration:

      0.0005561248399317265
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002690148539841175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002680569887161255
      

      outcome:

      passed
      
    • Test 136
      params: value=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], cutoff=15, expected="[0, 0, 0, 0, 0,..."

      📌 Runtime Parameters

      params:
        value:
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
          - (vide)
        cutoff: 15
        expected: [0, 0, 0, 0, 0,...
      id: value3-15-[0, 0, 0, 0, 0,...
      

      📌 Setup phase

      duration:

      0.0004559950903058052
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002589132636785507
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002862396650016308
      

      outcome:

      passed
      
    • Test 137
      params: value=null, cutoff=10, expected="None"

      📌 Runtime Parameters

      params:
        value: None
        cutoff: 10
        expected: None
      id: None-10-None
      

      📌 Setup phase

      duration:

      0.00047866906970739365
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000250993762165308
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002751750871539116
      

      outcome:

      passed
      
  • 📄 test_utils_dictext.py

    Function: test_attrdict_getattr

    • Test 139
      params: data={"x": 1, "y": 2}, attr="x", expected=1

      📌 Runtime Parameters

      params:
        data:
          x: 1
          y: 2
        attr: x
        expected: 1
      id: data0-x-1
      

      📌 Setup phase

      duration:

      0.0005243029445409775
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00027177808806300163
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000280710868537426
      

      outcome:

      passed
      
    • Test 140
      params: data={"world": "ok"}, attr="world", expected="ok"

      📌 Runtime Parameters

      params:
        data:
          world: ok
        attr: world
        expected: ok
      id: data1-world-ok
      

      📌 Setup phase

      duration:

      0.000388474203646183
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016083801165223122
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018183095380663872
      

      outcome:

      passed
      
    • Test 141
      params: data={"outer": {"inner": 42}}, attr="outer", expected={"inner": 42}

      📌 Runtime Parameters

      params:
        data:
          outer:
            inner: 42
        attr: outer
        expected:
          inner: 42
      id: data2-outer-expected2
      

      📌 Setup phase

      duration:

      0.0002839472144842148
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014899717643857002
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017013493925333023
      

      outcome:

      passed
      

    Function: test_attrdict_setattr

    • Test 142
      params: initial={}, attr="nouveau", value=123

      📌 Runtime Parameters

      params:
        initial:
      {}
        attr: nouveau
        value: 123
      id: initial0-nouveau-123
      

      📌 Setup phase

      duration:

      0.00026693521067500114
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001536160707473755
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001615770161151886
      

      outcome:

      passed
      
    • Test 143
      params: initial={"a": 1}, attr="b", value="valeur"

      📌 Runtime Parameters

      params:
        initial:
          a: 1
        attr: b
        value: valeur
      id: initial1-b-valeur
      

      📌 Setup phase

      duration:

      0.00030030589550733566
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017885630950331688
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015151593834161758
      

      outcome:

      passed
      

    Function: test_attrdict_delattr

    • Test 144
      params: initial={"a": 1, "b": 2}, to_del="a", expected_keys=["b"]

      📌 Runtime Parameters

      params:
        initial:
          a: 1
          b: 2
        to_del: a
        expected_keys:
          - b
      id: initial0-a-expected_keys0
      

      📌 Setup phase

      duration:

      0.0002842131070792675
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001868908293545246
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001613730564713478
      

      outcome:

      passed
      
    • Test 145
      params: initial={"k": "v"}, to_del="k", expected_keys=[]

      📌 Runtime Parameters

      params:
        initial:
          k: v
        to_del: k
        expected_keys:
      []
      id: initial1-k-expected_keys1
      

      📌 Setup phase

      duration:

      0.0002570529468357563
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016969675198197365
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015842076390981674
      

      outcome:

      passed
      

    Function: test_attrdict_dir

    • Test 146
      params: data={"alpha": 1, "beta": 2}, expected_keys="{'alpha', 'beta'}"

      📌 Runtime Parameters

      params:
        data:
          alpha: 1
          beta: 2
        expected_keys: {'alpha', 'beta'}
      id: data0-expected_keys0
      

      📌 Setup phase

      duration:

      0.00022436771541833878
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001535383053123951
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015028193593025208
      

      outcome:

      passed
      
    • Test 147
      params: data={}, expected_keys="set()"

      📌 Runtime Parameters

      params:
        data:
      {}
        expected_keys: set()
      id: data1-expected_keys1
      

      📌 Setup phase

      duration:

      0.00022185686975717545
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016777403652668
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013910001143813133
      

      outcome:

      passed
      

    Function: test_attrdict_getattr_and_missing

    • Test 148
      params: data={"x": 1, "y": 2}, attr="x", expect_value=1, expect_error=null

      📌 Runtime Parameters

      params:
        data:
          x: 1
          y: 2
        attr: x
        expect_value: 1
        expect_error: None
      id: data0-x-1-None
      

      📌 Setup phase

      duration:

      0.0003117336891591549
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016433373093605042
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016858801245689392
      

      outcome:

      passed
      
    • Test 149
      params: data={"number": 42}, attr="missing", expect_value=null, expect_error="'MyDict' object has no attribute 'missing'"

      📌 Runtime Parameters

      params:
        data:
          number: 42
        attr: missing
        expect_value: None
        expect_error: 'MyDict' object has no attribute 'missing'
      id: data1-missing-None-'MyDict' object has no attribute 'missing'
      

      📌 Setup phase

      duration:

      0.00032698409631848335
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017010793089866638
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000178484246134758
      

      outcome:

      passed
      

    Function: test_dictupdatemixin_init_and_update

    • Test 150
      params: init_kwargs={"a": 1, "b": 2}, other=null, kwargs={}, expected={"a": 1, "b": 2}

      📌 Runtime Parameters

      params:
        init_kwargs:
          a: 1
          b: 2
        other: None
        kwargs:
      {}
        expected:
          a: 1
          b: 2
      id: init_kwargs0-None-kwargs0-expected0
      

      📌 Setup phase

      duration:

      0.00031670089811086655
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001656860113143921
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001808498054742813
      

      outcome:

      passed
      
    • Test 151
      params: init_kwargs={}, other={"x": 10, "y": 20}, kwargs={}, expected={"x": 10, "y": 20}

      📌 Runtime Parameters

      params:
        init_kwargs:
      {}
        other:
          x: 10
          y: 20
        kwargs:
      {}
        expected:
          x: 10
          y: 20
      id: init_kwargs1-other1-kwargs1-expected1
      

      📌 Setup phase

      duration:

      0.0002956618554890156
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016616471111774445
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001750430092215538
      

      outcome:

      passed
      
    • Test 152
      params: init_kwargs={"world": "ok"}, other={"number": 42}, kwargs={"num2": 100}, expected={"world": "ok", "number": 42, "num2": 100}

      📌 Runtime Parameters

      params:
        init_kwargs:
          world: ok
        other:
          number: 42
        kwargs:
          num2: 100
        expected:
          world: ok
          number: 42
          num2: 100
      id: init_kwargs2-other2-kwargs2-expected2
      

      📌 Setup phase

      duration:

      0.0003144768998026848
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014696456491947174
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017147697508335114
      

      outcome:

      passed
      
    • Test 153
      params: init_kwargs={}, other=null, kwargs={"alpha": "beta"}, expected={"alpha": "beta"}

      📌 Runtime Parameters

      params:
        init_kwargs:
      {}
        other: None
        kwargs:
          alpha: beta
        expected:
          alpha: beta
      id: init_kwargs3-None-kwargs3-expected3
      

      📌 Setup phase

      duration:

      0.000324007123708725
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001501278020441532
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016984296962618828
      

      outcome:

      passed
      
    • Test 154
      params: init_kwargs={}, other={"key": "value"}, kwargs={"extra": 1}, expected={"key": "value", "extra": 1}

      📌 Runtime Parameters

      params:
        init_kwargs:
      {}
        other:
          key: value
        kwargs:
          extra: 1
        expected:
          key: value
          extra: 1
      id: init_kwargs4-other4-kwargs4-expected4
      

      📌 Setup phase

      duration:

      0.00030099693685770035
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015415716916322708
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017799902707338333
      

      outcome:

      passed
      
    • Test 155
      params: init_kwargs={}, other="key", "value"], ["list", [5, 6], kwargs={"extra": {"subkey": 123}}, expected={"key": "value", "list": [5, 6], "extra": {"subkey": 123}}

      📌 Runtime Parameters

      params:
        init_kwargs:
      {}
        other:
          -       - key
            - value
          -       - list
            -         - 5
              - 6
        kwargs:
          extra:
            subkey: 123
        expected:
          key: value
          list:
            - 5
            - 6
          extra:
            subkey: 123
      id: init_kwargs5-other5-kwargs5-expected5
      

      📌 Setup phase

      duration:

      0.0003015776164829731
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002741701900959015
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018068496137857437
      

      outcome:

      passed
      
  • 📄 test_utils_dotdir.py

    Function: test_dotdir_creation_and_base_exists

    • Test 156

      📌 Setup phase

      duration:

      0.0015669669955968857
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002780756913125515
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022531207650899887
      

      outcome:

      passed
      

    Function: test_dotdir_repr_returns_path_str

    • Test 157

      📌 Setup phase

      duration:

      0.0006610769778490067
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024376297369599342
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022242823615670204
      

      outcome:

      passed
      

    Function: test_dotdir_call

    • Test 158

      📌 Setup phase

      duration:

      0.0006379000842571259
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000243346206843853
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021141301840543747
      

      outcome:

      passed
      
  • 📄 test_utils_eval.py

    Function: test_arithmetic_eval_valid

    • Test 165
      params: expr="1 + 2", expected=3

      📌 Runtime Parameters

      params:
        expr: 1 + 2
        expected: 3
      id: 1 + 2-3
      

      📌 Setup phase

      duration:

      0.00036360975354909897
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023964513093233109
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016155466437339783
      

      outcome:

      passed
      
    • Test 166
      params: expr="4 - 2", expected=2

      📌 Runtime Parameters

      params:
        expr: 4 - 2
        expected: 2
      id: 4 - 2-2
      

      📌 Setup phase

      duration:

      0.00027072010561823845
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016753794625401497
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001401635818183422
      

      outcome:

      passed
      
    • Test 167
      params: expr="3 * 5", expected=15

      📌 Runtime Parameters

      params:
        expr: 3 * 5
        expected: 15
      id: 3 * 5-15
      

      📌 Setup phase

      duration:

      0.0002293637953698635
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015349499881267548
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014454592019319534
      

      outcome:

      passed
      
    • Test 168
      params: expr="10 / 2", expected=5.0

      📌 Runtime Parameters

      params:
        expr: 10 / 2
        expected: 5.0
      id: 10 / 2-5.0
      

      📌 Setup phase

      duration:

      0.0002309824340045452
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001588030718266964
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001355232670903206
      

      outcome:

      passed
      
    • Test 169
      params: expr="10 % 3", expected=1

      📌 Runtime Parameters

      params:
        expr: 10 % 3
        expected: 1
      id: 10 % 3-1
      

      📌 Setup phase

      duration:

      0.00021742098033428192
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015733111649751663
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014871777966618538
      

      outcome:

      passed
      
    • Test 170
      params: expr="-5", expected=-5

      📌 Runtime Parameters

      params:
        expr: -5
        expected: -5
      id: -5--5
      

      📌 Setup phase

      duration:

      0.00021508987993001938
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001536342315375805
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015632389113307
      

      outcome:

      passed
      
    • Test 171
      params: expr="+7", expected=7

      📌 Runtime Parameters

      params:
        expr: +7
        expected: 7
      id: +7-7
      

      📌 Setup phase

      duration:

      0.00022196071222424507
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015497999265789986
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013933610171079636
      

      outcome:

      passed
      
    • Test 172
      params: expr="1 + 2 * 3", expected=7

      📌 Runtime Parameters

      params:
        expr: 1 + 2 * 3
        expected: 7
      id: 1 + 2 * 3-7
      

      📌 Setup phase

      duration:

      0.0002258853055536747
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001770169474184513
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016473419964313507
      

      outcome:

      passed
      
    • Test 173
      params: expr="(1 + 2) * 3", expected=9

      📌 Runtime Parameters

      params:
        expr: (1 + 2) * 3
        expected: 9
      id: (1 + 2) * 3-9
      

      📌 Setup phase

      duration:

      0.00021875789389014244
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001690192148089409
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014560110867023468
      

      outcome:

      passed
      
    • Test 174
      params: expr="-(-3)", expected=3

      📌 Runtime Parameters

      params:
        expr: -(-3)
        expected: 3
      id: -(-3)-3
      

      📌 Setup phase

      duration:

      0.0002396698109805584
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016084499657154083
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013704178854823112
      

      outcome:

      passed
      
    • Test 175
      params: expr="-2 + 4 * 2", expected=6

      📌 Runtime Parameters

      params:
        expr: -2 + 4 * 2
        expected: 6
      id: -2 + 4 * 2-6
      

      📌 Setup phase

      duration:

      0.0002269200049340725
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016547366976737976
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013961084187030792
      

      outcome:

      passed
      
    • Test 176
      params: expr="(4 + 5) * (6 - 1)", expected=45

      📌 Runtime Parameters

      params:
        expr: (4 + 5) * (6 - 1)
        expected: 45
      id: (4 + 5) * (6 - 1)-45
      

      📌 Setup phase

      duration:

      0.00023374799638986588
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017057126387953758
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015015807002782822
      

      outcome:

      passed
      
    • Test 177
      params: expr="(((3)))", expected=3

      📌 Runtime Parameters

      params:
        expr: (((3)))
        expected: 3
      id: (((3)))-3
      

      📌 Setup phase

      duration:

      0.0002132318913936615
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014751404523849487
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001478232443332672
      

      outcome:

      passed
      
    • Test 178
      params: expr="-(-(-2))", expected=-2

      📌 Runtime Parameters

      params:
        expr: -(-(-2))
        expected: -2
      id: -(-(-2))--2
      

      📌 Setup phase

      duration:

      0.00022070901468396187
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016053486615419388
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013662409037351608
      

      outcome:

      passed
      
    • Test 179
      params: expr="3 + +4", expected=7

      📌 Runtime Parameters

      params:
        expr: 3 + +4
        expected: 7
      id: 3 + +4-7
      

      📌 Setup phase

      duration:

      0.000212780199944973
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001689349301159382
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014026090502738953
      

      outcome:

      passed
      
    • Test 180
      params: expr="3 + -4", expected=-1

      📌 Runtime Parameters

      params:
        expr: 3 + -4
        expected: -1
      id: 3 + -4--1
      

      📌 Setup phase

      duration:

      0.00022016093134880066
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001645069569349289
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014248304069042206
      

      outcome:

      passed
      
    • Test 181
      params: expr="True + 1", expected=2

      📌 Runtime Parameters

      params:
        expr: True + 1
        expected: 2
      id: True + 1-2
      

      📌 Setup phase

      duration:

      0.00022142380475997925
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015561003237962723
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001341700553894043
      

      outcome:

      passed
      
    • Test 182
      params: expr="'string'", expected="string"

      📌 Runtime Parameters

      params:
        expr: 'string'
        expected: string
      id: 'string'-string
      

      📌 Setup phase

      duration:

      0.00023431796580553055
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016052601858973503
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015149777755141258
      

      outcome:

      passed
      
    • Test 183
      params: expr="1e1000 * 1e1000", expected=Infinity

      📌 Runtime Parameters

      params:
        expr: 1e1000 * 1e1000
        expected: inf
      id: 1e1000 * 1e1000-inf
      

      📌 Setup phase

      duration:

      0.00024034827947616577
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016539311036467552
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013938313350081444
      

      outcome:

      passed
      
    • Test 184
      params: expr="'a' + 'b'", expected="ab"

      📌 Runtime Parameters

      params:
        expr: 'a' + 'b'
        expected: ab
      id: 'a' + 'b'-ab
      

      📌 Setup phase

      duration:

      0.00022191880270838737
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015744008123874664
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014108093455433846
      

      outcome:

      passed
      

    Function: test_arithmetic_eval_raises_with_message

    • Test 185
      params: expr="2 ** 3", expected_message="Unsupported BinOp Pow"

      📌 Runtime Parameters

      params:
        expr: 2 ** 3
        expected_message: Unsupported BinOp Pow
      id: 2 ** 3-Unsupported BinOp Pow
      

      📌 Setup phase

      duration:

      0.00022346293553709984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00044640619307756424
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015514902770519257
      

      outcome:

      passed
      
    • Test 186
      params: expr="3 << 1", expected_message="Unsupported BinOp LShift"

      📌 Runtime Parameters

      params:
        expr: 3 << 1
        expected_message: Unsupported BinOp LShift
      id: 3 << 1-Unsupported BinOp LShift
      

      📌 Setup phase

      duration:

      0.00026919320225715637
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004046829417347908
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015368079766631126
      

      outcome:

      passed
      
    • Test 187
      params: expr="1 < 2", expected_message="Unsupported node type Compare"

      📌 Runtime Parameters

      params:
        expr: 1 < 2
        expected_message: Unsupported node type Compare
      id: 1 < 2-Unsupported node type Compare
      

      📌 Setup phase

      duration:

      0.00022975215688347816
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003533419221639633
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001488639973104
      

      outcome:

      passed
      
    • Test 188
      params: expr="abs(3)", expected_message="Unsupported node type Call"

      📌 Runtime Parameters

      params:
        expr: abs(3)
        expected_message: Unsupported node type Call
      id: abs(3)-Unsupported node type Call
      

      📌 Setup phase

      duration:

      0.00022578006610274315
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003644111566245556
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014679040759801865
      

      outcome:

      passed
      
    • Test 189
      params: expr="a + 2", expected_message="Unsupported node type Name"

      📌 Runtime Parameters

      params:
        expr: a + 2
        expected_message: Unsupported node type Name
      id: a + 2-Unsupported node type Name
      

      📌 Setup phase

      duration:

      0.0002330513671040535
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035014981403946877
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015497300773859024
      

      outcome:

      passed
      
    • Test 190
      params: expr="string", expected_message="Unsupported node type Name"

      📌 Runtime Parameters

      params:
        expr: string
        expected_message: Unsupported node type Name
      id: string-Unsupported node type Name
      

      📌 Setup phase

      duration:

      0.0002377629280090332
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018165819346904755
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015407288447022438
      

      outcome:

      passed
      
    • Test 191
      params: expr="[1, 2] + [3]", expected_message="Unsupported node type List"

      📌 Runtime Parameters

      params:
        expr: [1, 2] + [3]
        expected_message: Unsupported node type List
      id: [1, 2] + [3]-Unsupported node type List
      

      📌 Setup phase

      duration:

      0.00023126788437366486
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006000609137117863
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014866981655359268
      

      outcome:

      passed
      
    • Test 192
      params: expr="{1: 2}", expected_message="Unsupported node type Dict"

      📌 Runtime Parameters

      params:
        expr: {1: 2}
        expected_message: Unsupported node type Dict
      id: {1: 2}-Unsupported node type Dict
      

      📌 Setup phase

      duration:

      0.00023369910195469856
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034144893288612366
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015314295887947083
      

      outcome:

      passed
      

    Function: test_arithmetic_eval_runtime_errors

    • Test 193
      params: expr="1 / 0", exception=""

      📌 Runtime Parameters

      params:
        expr: 1 / 0
        exception: <class 'ZeroDivisionError'>
      id: 1 / 0-ZeroDivisionError
      

      📌 Setup phase

      duration:

      0.0002197357825934887
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001829788088798523
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001455540768802166
      

      outcome:

      passed
      
    • Test 194
      params: expr="10 % 0", exception=""

      📌 Runtime Parameters

      params:
        expr: 10 % 0
        exception: <class 'ZeroDivisionError'>
      id: 10 % 0-ZeroDivisionError
      

      📌 Setup phase

      duration:

      0.0002221851609647274
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018330197781324387
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014652078971266747
      

      outcome:

      passed
      

    Function: test_forgiving_eval

    • Test 195
      params: expr="1 + 2", expected=3

      📌 Runtime Parameters

      params:
        expr: 1 + 2
        expected: 3
      id: 1 + 2-3
      

      📌 Setup phase

      duration:

      0.00022478075698018074
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016071880236268044
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013932585716247559
      

      outcome:

      passed
      
    • Test 196
      params: expr="bad + 2", expected="bad + 2"

      📌 Runtime Parameters

      params:
        expr: bad + 2
        expected: bad + 2
      id: bad + 2-bad + 2
      

      📌 Setup phase

      duration:

      0.00021572783589363098
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001694108359515667
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001415656879544258
      

      outcome:

      passed
      
    • Test 197
      params: expr="1 / 0", expected="1 / 0"

      📌 Runtime Parameters

      params:
        expr: 1 / 0
        expected: 1 / 0
      id: 1 / 0-1 / 0
      

      📌 Setup phase

      duration:

      0.00023527396842837334
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015522120520472527
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013441825285553932
      

      outcome:

      passed
      
    • Test 198
      params: expr="2 ** 10", expected="2 ** 10"

      📌 Runtime Parameters

      params:
        expr: 2 ** 10
        expected: 2 ** 10
      id: 2 ** 10-2 ** 10
      

      📌 Setup phase

      duration:

      0.00023805489763617516
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019682478159666061
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015560118481516838
      

      outcome:

      passed
      

    Function: test_defaulting_eval

    • Test 199
      params: expr="3 * 4", default=0, expected=12

      📌 Runtime Parameters

      params:
        expr: 3 * 4
        default: 0
        expected: 12
      id: 3 * 4-0-12
      

      📌 Setup phase

      duration:

      0.0002657659351825714
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015660235658288002
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017146393656730652
      

      outcome:

      passed
      
    • Test 200
      params: expr="invalid + 1", default=99, expected=99

      📌 Runtime Parameters

      params:
        expr: invalid + 1
        default: 99
        expected: 99
      id: invalid + 1-99-99
      

      📌 Setup phase

      duration:

      0.0002719997428357601
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016484595835208893
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016167806461453438
      

      outcome:

      passed
      
    • Test 201
      params: expr="1 / 0", default=-1, expected=-1

      📌 Runtime Parameters

      params:
        expr: 1 / 0
        default: -1
        expected: -1
      id: 1 / 0--1--1
      

      📌 Setup phase

      duration:

      0.00026644300669431686
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001723109744489193
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015633460134267807
      

      outcome:

      passed
      
    • Test 202
      params: expr="2 ** 10", default=42, expected=42

      📌 Runtime Parameters

      params:
        expr: 2 ** 10
        default: 42
        expected: 42
      id: 2 ** 10-42-42
      

      📌 Setup phase

      duration:

      0.00028263917192816734
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016399798914790154
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015805475413799286
      

      outcome:

      passed
      
  • 📄 test_utils_exceptions.py

    Function: test_chained_exception_various

    • Test 203
      params: func="", expected_output="High-level task failed\ncaused by KeyError: 'missing'"

      📌 Runtime Parameters

      params:
        func: <function cause_key_error at 0x7f21854c5d30>
        expected_output: High-level task failed
      caused by KeyError: 'missing'
      id: cause_key_error-High-level task failed\ncaused by KeyError: 'missing'
      

      📌 Setup phase

      duration:

      0.0002502943389117718
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020978599786758423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016835564747452736
      

      outcome:

      passed
      
    • Test 204
      params: func="", expected_output="High-level task failed\ncaused by IndexError: list index out of range"

      📌 Runtime Parameters

      params:
        func: <function cause_index_error at 0x7f21854c5e50>
        expected_output: High-level task failed
      caused by IndexError: list index out of range
      id: cause_index_error-High-level task failed\ncaused by IndexError: list index out of range
      

      📌 Setup phase

      duration:

      0.00022998731583356857
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015031127259135246
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001488691195845604
      

      outcome:

      passed
      
    • Test 205
      params: func="", expected_output="High-level task failed\ncaused by ZeroDivisionError: division by zero"

      📌 Runtime Parameters

      params:
        func: <function cause_zero_division at 0x7f21854c5ee0>
        expected_output: High-level task failed
      caused by ZeroDivisionError: division by zero
      id: cause_zero_division-High-level task failed\ncaused by ZeroDivisionError: division by zero
      

      📌 Setup phase

      duration:

      0.0002257651649415493
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015758397057652473
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016000214964151382
      

      outcome:

      passed
      
    • Test 206
      params: func="", expected_output="High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number'"

      📌 Runtime Parameters

      params:
        func: <function cause_value_error at 0x7f21854c5f70>
        expected_output: High-level task failed
      caused by ValueError: invalid literal for int() with base 10: 'not_a_number'
      id: cause_value_error-High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number'
      

      📌 Setup phase

      duration:

      0.00024423282593488693
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016542011871933937
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014499900862574577
      

      outcome:

      passed
      
    • Test 207
      params: func="", expected_output="High-level task failed\ncaused by TypeError: can only concatenate str (not \"int\") to str"

      📌 Runtime Parameters

      params:
        func: <function cause_type_error at 0x7f211f20b040>
        expected_output: High-level task failed
      caused by TypeError: can only concatenate str (not "int") to str
      id: cause_type_error-High-level task failed\ncaused by TypeError: can only concatenate str (not "int") to str
      

      📌 Setup phase

      duration:

      0.00024461420252919197
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001470218412578106
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001535317860543728
      

      outcome:

      passed
      

    Function: test_printed_exception

    • Test 208
      params: func="", expected_output="KeyError: 'missing'"

      📌 Runtime Parameters

      params:
        func: <function cause_key_error at 0x7f21854c5d30>
        expected_output: KeyError: 'missing'
      id: cause_key_error-KeyError: 'missing'
      

      📌 Setup phase

      duration:

      0.0008294768631458282
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012768348678946495
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004649357870221138
      

      outcome:

      passed
      
    • Test 209
      params: func="", expected_output="IndexError: list index out of range"

      📌 Runtime Parameters

      params:
        func: <function cause_index_error at 0x7f21854c5e50>
        expected_output: IndexError: list index out of range
      id: cause_index_error-IndexError: list index out of range
      

      📌 Setup phase

      duration:

      0.0006160628981888294
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009541097097098827
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00043517258018255234
      

      outcome:

      passed
      
    • Test 210
      params: func="", expected_output="ZeroDivisionError: division by zero"

      📌 Runtime Parameters

      params:
        func: <function cause_zero_division at 0x7f21854c5ee0>
        expected_output: ZeroDivisionError: division by zero
      id: cause_zero_division-ZeroDivisionError: division by zero
      

      📌 Setup phase

      duration:

      0.0005668750964105129
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007859012112021446
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00044005410745739937
      

      outcome:

      passed
      
    • Test 211
      params: func="", expected_output="ValueError: invalid literal for int() with base 10: 'not_a_number'"

      📌 Runtime Parameters

      params:
        func: <function cause_value_error at 0x7f21854c5f70>
        expected_output: ValueError: invalid literal for int() with base 10: 'not_a_number'
      id: cause_value_error-ValueError: invalid literal for int() with base 10: 'not_a_number'
      

      📌 Setup phase

      duration:

      0.0006188820116221905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001010328996926546
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00044682715088129044
      

      outcome:

      passed
      
    • Test 212
      params: func="", expected_output="TypeError: can only concatenate str (not \"int\") to str"

      📌 Runtime Parameters

      params:
        func: <function cause_type_error at 0x7f211f20b040>
        expected_output: TypeError: can only concatenate str (not "int") to str
      id: cause_type_error-TypeError: can only concatenate str (not "int") to str
      

      📌 Setup phase

      duration:

      0.0005517653189599514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011742101050913334
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000471367035061121
      

      outcome:

      passed
      
  • 📄 test_utils_get_adj.py

    Function: test_get_adj_success

    • Test 213

      📌 Setup phase

      duration:

      0.00014162017032504082
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008797277696430683
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011529680341482162
      

      outcome:

      passed
      

    Function: test_get_adj_not_found

    • Test 214

      📌 Setup phase

      duration:

      0.0004811398684978485
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001022465992718935
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00040912721306085587
      

      outcome:

      passed
      

    Function: test_ensure_adjs_mixed

    • Test 215

      📌 Setup phase

      duration:

      0.00013701524585485458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007777530699968338
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013508368283510208
      

      outcome:

      passed
      

    Function: test_get_adjs_filter

    • Test 216

      📌 Setup phase

      duration:

      0.00011807819828391075
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009113471023738384
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012379512190818787
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_invalid_name_raises

    • Test 219

      📌 Setup phase

      duration:

      0.0001272442750632763
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002683401107788086
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011588912457227707
      

      outcome:

      passed
      

    Function: test_motor_init_list_has_no_disabled

    • Test 220

      📌 Setup phase

      duration:

      0.00012116087600588799
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015456229448318481
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010733725503087044
      

      outcome:

      passed
      

    Function: test_motor_pv_connection_skipped_by_default

    • Test 222

      📌 Setup phase

      duration:

      0.0001271967776119709
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003775302320718765
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011826818808913231
      

      outcome:

      passed
      

    Function: test_motor_adds_all_extras_pvs

    • Test 223

      📌 Setup phase

      duration:

      0.00014346512034535408
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003579813055694103
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011892616748809814
      

      outcome:

      passed
      

    Function: test_motor_PV_method_exists_and_works

    • Test 224

      📌 Setup phase

      duration:

      0.00011162878945469856
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003596274182200432
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001300252042710781
      

      outcome:

      passed
      
  • 📄 test_utils_ipy.py

    Function: test_devices_repr_fallback_and_ignore

    • Test 225

      📌 Setup phase

      duration:

      0.0007759821601212025
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008823219686746597
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025578588247299194
      

      outcome:

      passed
      
  • 📄 test_utils_jsonext.py

    Function: test_json_validate_save_load

    • Test 226
      params: input_obj="[1 2 3]", expected=[1, 2, 3]

      📌 Runtime Parameters

      params:
        input_obj: [1 2 3]
        expected:
          - 1
          - 2
          - 3
      id: input_obj0-expected0
      

      📌 Setup phase

      duration:

      0.0009806822054088116
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007123039104044437
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024812575429677963
      

      outcome:

      passed
      
    • Test 227
      params: input_obj="42", expected=42

      📌 Runtime Parameters

      params:
        input_obj: 42
        expected: 42
      id: input_obj1-42
      

      📌 Setup phase

      duration:

      0.0007323808968067169
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00044629722833633423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019147992134094238
      

      outcome:

      passed
      
    • Test 228
      params: input_obj="(1-1j)", expected={"real": 1.0, "imag": -1.0}

      📌 Runtime Parameters

      params:
        input_obj: (1-1j)
        expected:
          real: 1.0
          imag: -1.0
      id: (1-1j)-expected2
      

      📌 Setup phase

      duration:

      0.0006188871338963509
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00044430186972022057
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019533373415470123
      

      outcome:

      passed
      
    • Test 229
      params: input_obj="/tmp/file.txt", expected="/tmp/file.txt"

      📌 Runtime Parameters

      params:
        input_obj: /tmp/file.txt
        expected: /tmp/file.txt
      id: input_obj3-/tmp/file.txt
      

      📌 Setup phase

      duration:

      0.0006210571154952049
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003605559468269348
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020705582574009895
      

      outcome:

      passed
      
    • Test 230
      params: input_obj="{1, 2, 3}", expected=[1, 2, 3]

      📌 Runtime Parameters

      params:
        input_obj: {1, 2, 3}
        expected:
          - 1
          - 2
          - 3
      id: input_obj4-expected4
      

      📌 Setup phase

      duration:

      0.0006359140388667583
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003934623673558235
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020727794617414474
      

      outcome:

      passed
      
    • Test 231
      params: input_obj="{'a': array([10, 20])}", expected={"a": [10, 20]}

      📌 Runtime Parameters

      params:
        input_obj: {'a': array([10, 20])}
        expected:
          a:
            - 10
            - 20
      id: input_obj5-expected5
      

      📌 Setup phase

      duration:

      0.0005977028049528599
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004088059067726135
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018608802929520607
      

      outcome:

      passed
      
    • Test 232
      params: input_obj="{'c': (2+3j)}", expected={"c": {"real": 2.0, "imag": 3.0}}

      📌 Runtime Parameters

      params:
        input_obj: {'c': (2+3j)}
        expected:
          c:
            real: 2.0
            imag: 3.0
      id: input_obj6-expected6
      

      📌 Setup phase

      duration:

      0.0007465649396181107
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004192632623016834
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018617883324623108
      

      outcome:

      passed
      
    • Test 233
      params: input_obj="{'nested': {'arr': array(10, 20],\n [30, 40), 'complex_num': (-1+5j), 'files': [PosixPath('/file1'), PosixPath('/file2')], 'set_values': {200, 100}, 'inner': {'num': 7}}}", expected={"nested": {"arr": 10, 20], [30, 40, "complex_num": {"real": -1.0, "imag": 5.0}, "files": ["/file1", "/file2"], "set_values": [100, 200], "inner": {"num": 7}}}

      📌 Runtime Parameters

      params:
        input_obj: {'nested': {'arr': array([[10, 20],
             [30, 40]]), 'complex_num': (-1+5j), 'files': [PosixPath('/file1'), PosixPath('/file2')], 'set_values': {200, 100}, 'inner': {'num': 7}}}
        expected:
          nested:
            arr:
              -           - 10
                - 20
              -           - 30
                - 40
            complex_num:
              real: -1.0
              imag: 5.0
            files:
              - /file1
              - /file2
            set_values:
              - 100
              - 200
            inner:
              num: 7
      id: input_obj7-expected7
      

      📌 Setup phase

      duration:

      0.0006097801961004734
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005997880361974239
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001882258802652359
      

      outcome:

      passed
      
  • 📄 test_utils_lazypv.py

    Function: test_getattr

    • Test 234

      📌 Setup phase

      duration:

      0.00014005322009325027
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003053802065551281
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011453218758106232
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_custom_log_outputs

    • Test 235
      params: levelname="LONG", logfunc=" at 0x7f211f212820>", message="This is a LONG message"

      📌 Runtime Parameters

      params:
        levelname: LONG
        logfunc: <function <lambda> at 0x7f211f212820>
        message: This is a LONG message
      id: LONG-<lambda>-This is a LONG message
      

      📌 Setup phase

      duration:

      0.0015690987929701805
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008073491044342518
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002718362957239151
      

      outcome:

      passed
      
    • Test 236
      params: levelname="ENLARGE", logfunc=" at 0x7f211f2128b0>", message="Please ENLARGE this!"

      📌 Runtime Parameters

      params:
        levelname: ENLARGE
        logfunc: <function <lambda> at 0x7f211f2128b0>
        message: Please ENLARGE this!
      id: ENLARGE-<lambda>-Please ENLARGE this!
      

      📌 Setup phase

      duration:

      0.0004450008273124695
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004329271614551544
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002218778245151043
      

      outcome:

      passed
      
  • 📄 test_utils_logign.py

    Function: test_ignore_log_msg_behavior

    • Test 238
      params: levelname="WARNING", msg_to_ignore="This should be ignored", msg_to_keep="This should appear"

      📌 Runtime Parameters

      params:
        levelname: WARNING
        msg_to_ignore: This should be ignored
        msg_to_keep: This should appear
      id: WARNING-This should be ignored-This should appear
      

      📌 Setup phase

      duration:

      0.000710776075720787
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008755959570407867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023742299526929855
      

      outcome:

      passed
      
    • Test 239
      params: levelname="ENLARGE", msg_to_ignore="ENLARGE this", msg_to_keep="Keep this ENLARGE"

      📌 Runtime Parameters

      params:
        levelname: ENLARGE
        msg_to_ignore: ENLARGE this
        msg_to_keep: Keep this ENLARGE
      id: ENLARGE-ENLARGE this-Keep this ENLARGE
      

      📌 Setup phase

      duration:

      0.0004153619520366192
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00048431800678372383
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021508242934942245
      

      outcome:

      passed
      

    Function: test_ignore_only_by_level

    • Test 240

      📌 Setup phase

      duration:

      0.0002416498027741909
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00040668295696377754
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016498100012540817
      

      outcome:

      passed
      

    Function: test_ignore_only_by_msg

    • Test 241

      📌 Setup phase

      duration:

      0.0002496517263352871
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003771847113966942
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017864257097244263
      

      outcome:

      passed
      

    Function: test_filter_removed_after_context

    • Test 242

      📌 Setup phase

      duration:

      0.00024150870740413666
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00038079312071204185
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019366992637515068
      

      outcome:

      passed
      
  • 📄 test_utils_metaclasses.py

    Function: test_combine_classes_combines_methods

    • Test 243

      📌 Setup phase

      duration:

      0.00012561772018671036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020910287275910378
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001021786592900753
      

      outcome:

      passed
      

    Function: test_registryabc_combines_registrymeta_and_abcmeta

    • Test 244

      📌 Setup phase

      duration:

      0.00011927308514714241
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005750786047428846
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013096816837787628
      

      outcome:

      passed
      
  • 📄 test_utils_namespace.py

    Function: test_namespace_pretty_repr_mixed_and_nested

    • Test 245

      📌 Setup phase

      duration:

      0.00012431107461452484
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028673000633716583
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011593103408813477
      

      outcome:

      passed
      
  • 📄 test_utils_npy.py

    Function: test_nice_arange

    • Test 246
      params: start=0, stop=5, step=1, expected="[0. 1. 2. 3. 4. 5.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 1
        expected: [0. 1. 2. 3. 4. 5.]
      id: 0-5-1-expected0
      

      📌 Setup phase

      duration:

      0.0003820369020104408
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.021282103843986988
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025785667821764946
      

      outcome:

      passed
      
    • Test 248
      params: start=1, stop=2, step=0.3, expected="[1. 1.33333333 1.66666667 2. ]"

      📌 Runtime Parameters

      params:
        start: 1
        stop: 2
        step: 0.3
        expected: [1.         1.33333333 1.66666667 2.        ]
      id: 1-2-0.3-expected2
      

      📌 Setup phase

      duration:

      0.0003933529369533062
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004918682388961315
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021360302343964577
      

      outcome:

      passed
      

    Function: test_nice_linspace

    • Test 251
      params: start=0, stop=10, num=4, expected="[ 0. 2.5 5. 7.5 10. ]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 10
        num: 4
        expected: [ 0.   2.5  5.   7.5 10. ]
      id: 0-10-4-expected0
      

      📌 Setup phase

      duration:

      0.0003366377204656601
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003727274015545845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000192269217222929
      

      outcome:

      passed
      
    • Test 252
      params: start=5, stop=15, num=2, expected="[ 5. 10. 15.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 15
        num: 2
        expected: [ 5. 10. 15.]
      id: 5-15-2-expected1
      

      📌 Setup phase

      duration:

      0.00035327812656760216
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034288177266716957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019570579752326012
      

      outcome:

      passed
      
    • Test 253
      params: start=-5, stop=5, num=4, expected="[-5. -2.5 0. 2.5 5. ]"

      📌 Runtime Parameters

      params:
        start: -5
        stop: 5
        num: 4
        expected: [-5.  -2.5  0.   2.5  5. ]
      id: -5-5-4-expected2
      

      📌 Setup phase

      duration:

      0.00034390203654766083
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003435756079852581
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018345890566706657
      

      outcome:

      passed
      
    • Test 254
      params: start=0, stop=1, num=3, expected="[0. 0.33333333 0.66666667 1. ]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 1
        num: 3
        expected: [0.         0.33333333 0.66666667 1.        ]
      id: 0-1-3-expected3
      

      📌 Setup phase

      duration:

      0.00033453525975346565
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003243749961256981
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001920349895954132
      

      outcome:

      passed
      
    • Test 255
      params: start=2, stop=2, num=3, expected="[2. 2. 2. 2.]"

      📌 Runtime Parameters

      params:
        start: 2
        stop: 2
        num: 3
        expected: [2. 2. 2. 2.]
      id: 2-2-3-expected4
      

      📌 Setup phase

      duration:

      0.0003489619120955467
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035984907299280167
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002032672055065632
      

      outcome:

      passed
      
    • Test 256
      params: start=3, stop=0, num=3, expected="[3. 2. 1. 0.]"

      📌 Runtime Parameters

      params:
        start: 3
        stop: 0
        num: 3
        expected: [3. 2. 1. 0.]
      id: 3-0-3-expected5
      

      📌 Setup phase

      duration:

      0.00032939203083515167
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00033447612076997757
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019166292622685432
      

      outcome:

      passed
      
    • Test 257
      params: start=0, stop=1, num=0, expected="[0.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 1
        num: 0
        expected: [0.]
      id: 0-1-0-expected6
      

      📌 Setup phase

      duration:

      0.00031354278326034546
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003297682851552963
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019065896049141884
      

      outcome:

      passed
      

    Function: test_nice_steps_centered

    • Test 258
      params: start=-2, stop=2, step=2, endpoint=true, expected="[-2. 0. 2.]"

      📌 Runtime Parameters

      params:
        start: -2
        stop: 2
        step: 2
        endpoint: True
        expected: [-2.  0.  2.]
      id: -2-2-2-True-expected0
      

      📌 Setup phase

      duration:

      0.0003920122981071472
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036281393840909004
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002173469401896
      

      outcome:

      passed
      
    • Test 259
      params: start=0, stop=5, step=2, endpoint=true, expected="[0. 2. 4.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: True
        expected: [0. 2. 4.]
      id: 0-5-2-True-expected1
      

      📌 Setup phase

      duration:

      0.00037623289972543716
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003348090685904026
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020217290148139
      

      outcome:

      passed
      
    • Test 260
      params: start=0, stop=5, step=2, endpoint=false, expected="[0. 2.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: False
        expected: [0. 2.]
      id: 0-5-2-False-expected2
      

      📌 Setup phase

      duration:

      0.0003753639757633209
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036138808354735374
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002042311243712902
      

      outcome:

      passed
      
    • Test 261
      params: start=-1, stop=2, step=1.5, endpoint=true, expected="[-1.5 0. 1.5]"

      📌 Runtime Parameters

      params:
        start: -1
        stop: 2
        step: 1.5
        endpoint: True
        expected: [-1.5  0.   1.5]
      id: -1-2-1.5-True-expected3
      

      📌 Setup phase

      duration:

      0.0003919992595911026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003269151784479618
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019790977239608765
      

      outcome:

      passed
      

    Function: test_nice_steps_left_aligned

    • Test 264
      params: start=-1, stop=2, step=1.5, endpoint=true, expected="[-1. 0.5 2. ]"

      📌 Runtime Parameters

      params:
        start: -1
        stop: 2
        step: 1.5
        endpoint: True
        expected: [-1.   0.5  2. ]
      id: -1-2-1.5-True-expected2
      

      📌 Setup phase

      duration:

      0.00038041407242417336
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003719138912856579
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020563695579767227
      

      outcome:

      passed
      
    • Test 265
      params: start=-1, stop=2, step=1.5, endpoint=false, expected="[-1. 0.5]"

      📌 Runtime Parameters

      params:
        start: -1
        stop: 2
        step: 1.5
        endpoint: False
        expected: [-1.   0.5]
      id: -1-2-1.5-False-expected3
      

      📌 Setup phase

      duration:

      0.00038389163091778755
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034952908754348755
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020339107140898705
      

      outcome:

      passed
      

    Function: test_within_scalar

    • Test 276
      params: val=5, vmin=0, vmax=10, expected=true

      📌 Runtime Parameters

      params:
        val: 5
        vmin: 0
        vmax: 10
        expected: True
      id: 5-0-10-True
      

      📌 Setup phase

      duration:

      0.0003442610614001751
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015333807095885277
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000169241800904274
      

      outcome:

      passed
      
    • Test 277
      params: val=5, vmin=6, vmax=10, expected=false

      📌 Runtime Parameters

      params:
        val: 5
        vmin: 6
        vmax: 10
        expected: False
      id: 5-6-10-False
      

      📌 Setup phase

      duration:

      0.0003000842407345772
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001462348736822605
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017489120364189148
      

      outcome:

      passed
      
    • Test 278
      params: val=5, vmin=null, vmax=10, expected=true

      📌 Runtime Parameters

      params:
        val: 5
        vmin: None
        vmax: 10
        expected: True
      id: 5-None-10-True
      

      📌 Setup phase

      duration:

      0.00030732201412320137
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013494305312633514
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017314497381448746
      

      outcome:

      passed
      
    • Test 279
      params: val=5, vmin=0, vmax=null, expected=true

      📌 Runtime Parameters

      params:
        val: 5
        vmin: 0
        vmax: None
        expected: True
      id: 5-0-None-True
      

      📌 Setup phase

      duration:

      0.0003037489950656891
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014183996245265007
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017007719725370407
      

      outcome:

      passed
      
    • Test 280
      params: val=5, vmin=null, vmax=null, expected=true

      📌 Runtime Parameters

      params:
        val: 5
        vmin: None
        vmax: None
        expected: True
      id: 5-None-None-True
      

      📌 Setup phase

      duration:

      0.00030267471447587013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013844016939401627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016273930668830872
      

      outcome:

      passed
      

    Function: test_within_fraction

    • Test 281
      params: data=[1, 2, 3, 4, 5], vmin=2, vmax=5, expected=0.6

      📌 Runtime Parameters

      params:
        data:
          - 1
          - 2
          - 3
          - 4
          - 5
        vmin: 2
        vmax: 5
        expected: 0.6
      id: data0-2-5-0.6
      

      📌 Setup phase

      duration:

      0.00030313292518258095
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00029452284798026085
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018589338287711143
      

      outcome:

      passed
      
    • Test 282
      params: data=[10, 20, 30], vmin=5, vmax=25, expected=0.6666666666666666

      📌 Runtime Parameters

      params:
        data:
          - 10
          - 20
          - 30
        vmin: 5
        vmax: 25
        expected: 0.6666666666666666
      id: data1-5-25-0.6666666666666666
      

      📌 Setup phase

      duration:

      0.00034010782837867737
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002522687427699566
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001759510487318039
      

      outcome:

      passed
      
    • Test 283
      params: data=[1, 2, 3], vmin=null, vmax=2, expected=0.3333333333333333

      📌 Runtime Parameters

      params:
        data:
          - 1
          - 2
          - 3
        vmin: None
        vmax: 2
        expected: 0.3333333333333333
      id: data2-None-2-0.3333333333333333
      

      📌 Setup phase

      duration:

      0.0003321659751236439
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023519014939665794
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017464905977249146
      

      outcome:

      passed
      
    • Test 284
      params: data=[], vmin=0, vmax=1, expected=0

      📌 Runtime Parameters

      params:
        data:
      []
        vmin: 0
        vmax: 1
        expected: 0
      id: data3-0-1-0
      

      📌 Setup phase

      duration:

      0.0003287871368229389
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023143505677580833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017388397827744484
      

      outcome:

      passed
      

    Function: test_fraction_to_percentage

    • Test 285
      params: fraction=0.456, ndigits=1, expected=45.6

      📌 Runtime Parameters

      params:
        fraction: 0.456
        ndigits: 1
        expected: 45.6
      id: 0.456-1-45.6
      

      📌 Setup phase

      duration:

      0.0002775820903480053
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015424098819494247
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015643518418073654
      

      outcome:

      passed
      
    • Test 286
      params: fraction=0.12345, ndigits=2, expected=12.35

      📌 Runtime Parameters

      params:
        fraction: 0.12345
        ndigits: 2
        expected: 12.35
      id: 0.12345-2-12.35
      

      📌 Setup phase

      duration:

      0.0002623768523335457
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013848207890987396
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015632621943950653
      

      outcome:

      passed
      
    • Test 287
      params: fraction=0.9999, ndigits=0, expected=100.0

      📌 Runtime Parameters

      params:
        fraction: 0.9999
        ndigits: 0
        expected: 100.0
      id: 0.9999-0-100.0
      

      📌 Setup phase

      duration:

      0.00027049705386161804
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013991724699735641
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001467759720981121
      

      outcome:

      passed
      

    Function: test_get_dtype

    • Test 288
      params: val="[1 2 3]", expected=""

      📌 Runtime Parameters

      params:
        val: [1 2 3]
        expected: <class 'numpy.ndarray'>
      id: val0-ndarray
      

      📌 Setup phase

      duration:

      0.00021519791334867477
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015535298734903336
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015263631939888
      

      outcome:

      passed
      
    • Test 289
      params: val=[1, 2, 3], expected=""

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected: <class 'list'>
      id: val1-list
      

      📌 Setup phase

      duration:

      0.00022611673921346664
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014022225514054298
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015093805268406868
      

      outcome:

      passed
      
    • Test 290
      params: val=3.14, expected=""

      📌 Runtime Parameters

      params:
        val: 3.14
        expected: <class 'float'>
      id: 3.14-float
      

      📌 Setup phase

      duration:

      0.00021576788276433945
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013619521632790565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013441499322652817
      

      outcome:

      passed
      

    Function: test_get_shape

    • Test 291
      params: val="1 2]\n [3 4", expected=[2, 2]

      📌 Runtime Parameters

      params:
        val: [[1 2]
       [3 4]]
        expected:
          - 2
          - 2
      id: val0-expected0
      

      📌 Setup phase

      duration:

      0.0002248678356409073
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014090165495872498
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014378270134329796
      

      outcome:

      passed
      
    • Test 292
      params: val=[1, 2, 3], expected=[]

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected:
      []
      id: val1-expected1
      

      📌 Setup phase

      duration:

      0.00022346526384353638
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001442600041627884
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013848301023244858
      

      outcome:

      passed
      
    • Test 293
      params: val=42, expected=[]

      📌 Runtime Parameters

      params:
        val: 42
        expected:
      []
      id: 42-expected2
      

      📌 Setup phase

      duration:

      0.000212749931961298
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013331323862075806
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013751164078712463
      

      outcome:

      passed
      

    Function: test_is_array

    • Test 294
      params: val="[1 2 3]", expected=true

      📌 Runtime Parameters

      params:
        val: [1 2 3]
        expected: True
      id: val0-True
      

      📌 Setup phase

      duration:

      0.00022359006106853485
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013396376743912697
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001406027004122734
      

      outcome:

      passed
      
    • Test 295
      params: val=[1, 2, 3], expected=false

      📌 Runtime Parameters

      params:
        val:
          - 1
          - 2
          - 3
        expected: False
      id: val1-False
      

      📌 Setup phase

      duration:

      0.00022861408069729805
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014463718980550766
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013550929725170135
      

      outcome:

      passed
      
    • Test 296
      params: val=42, expected=false

      📌 Runtime Parameters

      params:
        val: 42
        expected: False
      id: 42-False
      

      📌 Setup phase

      duration:

      0.00021954113617539406
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013115117326378822
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013164104893803596
      

      outcome:

      passed
      
  • 📄 test_utils_path.py

    Function: test_can_create_all_files_user_says_yes

    • Test 297

      📌 Setup phase

      duration:

      0.00012031290680170059
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007090223953127861
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011016195639967918
      

      outcome:

      passed
      

    Function: test_can_create_all_files_user_says_no

    • Test 298

      📌 Setup phase

      duration:

      0.00011827377602458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004111388698220253
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010868813842535019
      

      outcome:

      passed
      

    Function: test_make_missing_dir_creates_folder

    • Test 299

      📌 Setup phase

      duration:

      0.00011318083852529526
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000502806156873703
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001309090293943882
      

      outcome:

      passed
      

    Function: test_glob_files_returns_matching_files_only

    • Test 300

      📌 Setup phase

      duration:

      0.0001163720153272152
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010516848415136337
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001389291137456894
      

      outcome:

      passed
      

    Function: test_filter_files_excludes_directories

    • Test 301

      📌 Setup phase

      duration:

      0.00011529307812452316
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007296507246792316
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012094201520085335
      

      outcome:

      passed
      
  • 📄 test_utils_picklio.py

    Function: test_pickle_and_unpickle

    • Test 302
      params: test_obj={"a": 1, "b": [2, 3], "c": {"world": "ok"}}

      📌 Runtime Parameters

      params:
        test_obj:
          a: 1
          b:
            - 2
            - 3
          c:
            world: ok
      id: test_obj0
      

      📌 Setup phase

      duration:

      0.0006265109404921532
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004084738902747631
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001610051840543747
      

      outcome:

      passed
      
    • Test 303
      params: test_obj=[1, 2, 3, 4, 5]

      📌 Runtime Parameters

      params:
        test_obj:
          - 1
          - 2
          - 3
          - 4
          - 5
      id: test_obj1
      

      📌 Setup phase

      duration:

      0.0005726679228246212
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002864161506295204
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015952391549944878
      

      outcome:

      passed
      
    • Test 304
      params: test_obj="simple string"

      📌 Runtime Parameters

      params:
        test_obj: simple string
      id: simple string
      

      📌 Setup phase

      duration:

      0.0005574887618422508
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00029198499396443367
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001575881615281105
      

      outcome:

      passed
      
    • Test 305
      params: test_obj=42

      📌 Runtime Parameters

      params:
        test_obj: 42
      id: 42
      

      📌 Setup phase

      duration:

      0.0005311369895935059
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00033502187579870224
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001557101495563984
      

      outcome:

      passed
      
    • Test 306
      params: test_obj=3.14159

      📌 Runtime Parameters

      params:
        test_obj: 3.14159
      id: 3.14159
      

      📌 Setup phase

      duration:

      0.0005360627546906471
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002833539620041847
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016104476526379585
      

      outcome:

      passed
      
    • Test 307
      params: test_obj=[true, false, null]

      📌 Runtime Parameters

      params:
        test_obj:
          - True
          - (vide)
          - (vide)
      id: test_obj5
      

      📌 Setup phase

      duration:

      0.0005708159878849983
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003104391507804394
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022076815366744995
      

      outcome:

      passed
      
    • Test 308
      params: test_obj={"complex": [{"list": [1, 2]}, {"dict": {"x": 10}}]}

      📌 Runtime Parameters

      params:
        test_obj:
          complex:
            -         list:
                - 1
                - 2
            -         dict:
                x: 10
      id: test_obj6
      

      📌 Setup phase

      duration:

      0.000517627689987421
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003893338143825531
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001609339378774166
      

      outcome:

      passed
      
  • 📄 test_utils_printing.py

    Function: test_maxlen_valid

    • Test 309
      params: seq=["a", "abc", ""], expected=3

      📌 Runtime Parameters

      params:
        seq:
          - a
          - abc
          - (vide)
        expected: 3
      id: seq0-3
      

      📌 Setup phase

      duration:

      0.00024412712082266808
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001495140604674816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021559838205575943
      

      outcome:

      passed
      
    • Test 310
      params: seq=[], expected=0

      📌 Runtime Parameters

      params:
        seq:
      []
        expected: 0
      id: seq1-0
      

      📌 Setup phase

      duration:

      0.00022669415920972824
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000164765864610672
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013802200555801392
      

      outcome:

      passed
      
    • Test 311
      params: seq=1, 2], [3], [4, 5, 6, expected=3

      📌 Runtime Parameters

      params:
        seq:
          -       - 1
            - 2
          -       - 3
          -       - 4
            - 5
            - 6
        expected: 3
      id: seq2-3
      

      📌 Setup phase

      duration:

      0.0002263188362121582
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015833694487810135
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013594608753919601
      

      outcome:

      passed
      
    • Test 312
      params: seq=[{"a": 2, "b": 3}, {}, {"c": 4}], expected=2

      📌 Runtime Parameters

      params:
        seq:
          -       a: 2
            b: 3
          - (vide)
          -       c: 4
        expected: 2
      id: seq3-2
      

      📌 Setup phase

      duration:

      0.00022027874365448952
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001422320492565632
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013461196795105934
      

      outcome:

      passed
      

    Function: test_strlen

    • Test 313
      params: value=42, expected=2

      📌 Runtime Parameters

      params:
        value: 42
        expected: 2
      id: 42-2
      

      📌 Setup phase

      duration:

      0.0002465369179844856
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015674205496907234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013821618631482124
      

      outcome:

      passed
      
    • Test 314
      params: value="hello", expected=5

      📌 Runtime Parameters

      params:
        value: hello
        expected: 5
      id: hello-5
      

      📌 Setup phase

      duration:

      0.00023110583424568176
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014180829748511314
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001389840617775917
      

      outcome:

      passed
      
    • Test 315
      params: value=false, expected=5

      📌 Runtime Parameters

      params:
        value: False
        expected: 5
      id: False-5
      

      📌 Setup phase

      duration:

      0.00021617300808429718
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013375794515013695
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014249468222260475
      

      outcome:

      passed
      
    • Test 316
      params: value=null, expected=4

      📌 Runtime Parameters

      params:
        value: None
        expected: 4
      id: None-4
      

      📌 Setup phase

      duration:

      0.0002207527868449688
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013759778812527657
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015364866703748703
      

      outcome:

      passed
      
    • Test 317
      params: value=[1, 2, 3], expected=9

      📌 Runtime Parameters

      params:
        value:
          - 1
          - 2
          - 3
        expected: 9
      id: value4-9
      

      📌 Setup phase

      duration:

      0.0002154707908630371
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014225905761122704
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014392612501978874
      

      outcome:

      passed
      
    • Test 318
      params: value={"a": 1}, expected=8

      📌 Runtime Parameters

      params:
        value:
          a: 1
        expected: 8
      id: value5-8
      

      📌 Setup phase

      duration:

      0.00021365797147154808
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013552885502576828
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001388760283589363
      

      outcome:

      passed
      
    • Test 319
      params: value=[1, 2], expected=6

      📌 Runtime Parameters

      params:
        value:
          - 1
          - 2
        expected: 6
      id: value6-6
      

      📌 Setup phase

      duration:

      0.00022021867334842682
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017121899873018265
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014143763110041618
      

      outcome:

      passed
      
    • Test 320
      params: value="", expected=0

      📌 Runtime Parameters

      params:
        value: None
        expected: 0
      id: -0
      

      📌 Setup phase

      duration:

      0.00023310212418437004
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016439566388726234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014153588563203812
      

      outcome:

      passed
      
    • Test 321
      params: value="this is a phrase", expected=16

      📌 Runtime Parameters

      params:
        value: this is a phrase
        expected: 16
      id: this is a phrase-16
      

      📌 Setup phase

      duration:

      0.00023557618260383606
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001344289630651474
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021940097212791443
      

      outcome:

      passed
      

    Function: test_maxstrlen

    • Test 322
      params: seq=[1, true, 3.1415], expected=6

      📌 Runtime Parameters

      params:
        seq:
          - 1
          - True
          - 3.1415
        expected: 6
      id: seq0-6
      

      📌 Setup phase

      duration:

      0.00023685023188591003
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015286821871995926
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013808580115437508
      

      outcome:

      passed
      
    • Test 323
      params: seq=["aa", "bbb", "c"], expected=3

      📌 Runtime Parameters

      params:
        seq:
          - aa
          - bbb
          - c
        expected: 3
      id: seq1-3
      

      📌 Setup phase

      duration:

      0.00022123521193861961
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014662928879261017
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016142195090651512
      

      outcome:

      passed
      
    • Test 324
      params: seq=1, 2], [], [1, 2, 3, expected=9

      📌 Runtime Parameters

      params:
        seq:
          -       - 1
            - 2
          - (vide)
          -       - 1
            - 2
            - 3
        expected: 9
      id: seq2-9
      

      📌 Setup phase

      duration:

      0.00022791791707277298
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014337105676531792
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000143412034958601
      

      outcome:

      passed
      
    • Test 325
      params: seq=[{"a": 1}, {}, {"a": 1, "b": 2}], expected=16

      📌 Runtime Parameters

      params:
        seq:
          -       a: 1
          - (vide)
          -       a: 1
            b: 2
        expected: 16
      id: seq3-16
      

      📌 Setup phase

      duration:

      0.0002201627939939499
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014650775119662285
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018598884344100952
      

      outcome:

      passed
      
    • Test 326
      params: seq=[null, false, 12345], expected=5

      📌 Runtime Parameters

      params:
        seq:
          - (vide)
          - (vide)
          - 12345
        expected: 5
      id: seq4-5
      

      📌 Setup phase

      duration:

      0.00022599799558520317
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016617309302091599
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001485450193285942
      

      outcome:

      passed
      

    Function: test_transpose_matrix

    • Test 327
      params: data=1, 2], [3, 4, expected=1, 3], [2, 4

      📌 Runtime Parameters

      params:
        data:
          -       - 1
            - 2
          -       - 3
            - 4
        expected:
          -       - 1
            - 3
          -       - 2
            - 4
      id: data0-expected0
      

      📌 Setup phase

      duration:

      0.00023313378915190697
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014083972200751305
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013374583795666695
      

      outcome:

      passed
      
    • Test 328

      📌 Runtime Parameters

      params:
        data:
          -       - a
            - b
          -       - c
            - d
        expected:
          -       - a
            - c
          -       - b
            - d
      id: data1-expected1
      

      📌 Setup phase

      duration:

      0.00027791084721684456
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014512008056044579
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001387977972626686
      

      outcome:

      passed
      
    • Test 329
      params: data={"x": 1}, {"y": 2}], [{"x": 3}, {"y": 4}, expected={"x": 1}, {"x": 3}], [{"y": 2}, {"y": 4}

      📌 Runtime Parameters

      params:
        data:
          -       -         x: 1
            -         y: 2
          -       -         x: 3
            -         y: 4
        expected:
          -       -         x: 1
            -         x: 3
          -       -         y: 2
            -         y: 4
      id: data2-expected2
      

      📌 Setup phase

      duration:

      0.00021964684128761292
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014518573880195618
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001418660394847393
      

      outcome:

      passed
      

    Function: test_prepend

    • Test 330
      params: initial=[1, 2, 3], prepend=1, expected=[1, 2, 3]

      📌 Runtime Parameters

      params:
        initial:
          - 1
          - 2
          - 3
        prepend: 1
        expected:
          - 1
          - 2
          - 3
      id: initial0-1-expected0
      

      📌 Setup phase

      duration:

      0.0002672099508345127
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013724900782108307
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019555678591132164
      

      outcome:

      passed
      
    • Test 331
      params: initial=["a", "b", "c"], prepend="a", expected=["a", "b", "c"]

      📌 Runtime Parameters

      params:
        initial:
          - a
          - b
          - c
        prepend: a
        expected:
          - a
          - b
          - c
      id: initial1-a-expected1
      

      📌 Setup phase

      duration:

      0.000268308911472559
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014612078666687012
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015486404299736023
      

      outcome:

      passed
      
    • Test 332
      params: initial=[{"a": 1}, {"b": 2}], prepend={"a": 1}, expected=[{"a": 1}, {"b": 2}]

      📌 Runtime Parameters

      params:
        initial:
          -       a: 1
          -       b: 2
        prepend:
          a: 1
        expected:
          -       a: 1
          -       b: 2
      id: initial2-prepend2-expected2
      

      📌 Setup phase

      duration:

      0.00026792101562023163
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017780903726816177
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001626899465918541
      

      outcome:

      passed
      
    • Test 333
      params: initial=1], [2], [3, prepend=[1], expected=1], [2], [3

      📌 Runtime Parameters

      params:
        initial:
          -       - 1
          -       - 2
          -       - 3
        prepend:
          - 1
        expected:
          -       - 1
          -       - 2
          -       - 3
      id: initial3-prepend3-expected3
      

      📌 Setup phase

      duration:

      0.00027602212503552437
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013577286154031754
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015191268175840378
      

      outcome:

      passed
      

    Function: test_fmt_table_line

    • Test 334
      params: entries=["a", "bbb"], widths=[3, 5], expected=" a bbb"

      📌 Runtime Parameters

      params:
        entries:
          - a
          - bbb
        widths:
          - 3
          - 5
        expected:   a   bbb
      id: entries0-widths0-  a   bbb
      

      📌 Setup phase

      duration:

      0.00027107493951916695
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014479877427220345
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001467461697757244
      

      outcome:

      passed
      
    • Test 335
      params: entries=[1, 2], widths=[2, 2], expected=" 1 2"

      📌 Runtime Parameters

      params:
        entries:
          - 1
          - 2
        widths:
          - 2
          - 2
        expected:  1  2
      id: entries1-widths1- 1  2
      

      📌 Setup phase

      duration:

      0.0002549341879785061
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001464681699872017
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017503788694739342
      

      outcome:

      passed
      
    • Test 336
      params: entries=["long", "val"], widths=[6, 4], expected=" long val"

      📌 Runtime Parameters

      params:
        entries:
          - long
          - val
        widths:
          - 6
          - 4
        expected:   long  val
      id: entries2-widths2-  long  val
      

      📌 Setup phase

      duration:

      0.00025876425206661224
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014034798368811607
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015850085765123367
      

      outcome:

      passed
      
    • Test 337
      params: entries=[true, false], widths=[5, 6], expected=" True False"

      📌 Runtime Parameters

      params:
        entries:
          - True
          - (vide)
        widths:
          - 5
          - 6
        expected:  True  False
      id: entries3-widths3- True  False
      

      📌 Setup phase

      duration:

      0.0002600010484457016
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016996171325445175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001514991745352745
      

      outcome:

      passed
      
    • Test 338
      params: entries=[123, 4567], widths=[5, 5], expected=" 123 4567"

      📌 Runtime Parameters

      params:
        entries:
          - 123
          - 4567
        widths:
          - 5
          - 5
        expected:   123  4567
      id: entries4-widths4-  123  4567
      

      📌 Setup phase

      duration:

      0.0002536820247769356
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001472681760787964
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015190988779067993
      

      outcome:

      passed
      
    • Test 339
      params: entries=["text with space", "end"], widths=[16, 5], expected=" text with space end"

      📌 Runtime Parameters

      params:
        entries:
          - text with space
          - end
        widths:
          - 16
          - 5
        expected:  text with space   end
      id: entries5-widths5- text with space   end
      

      📌 Setup phase

      duration:

      0.0002803727984428406
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013947207480669022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015230383723974228
      

      outcome:

      passed
      
    • Test 340
      params: entries=[{"a": 1}, {"b": 2}], widths=[10, 10], expected=" {'a': 1} {'b': 2}"

      📌 Runtime Parameters

      params:
        entries:
          -       a: 1
          -       b: 2
        widths:
          - 10
          - 10
        expected:   {'a': 1}   {'b': 2}
      id: entries6-widths6-  {'a': 1}   {'b': 2}
      

      📌 Setup phase

      duration:

      0.00028182612732052803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001493869349360466
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014579575508832932
      

      outcome:

      passed
      
    • Test 341
      params: entries=1, 2], [3, 4, widths=[10, 10], expected=" [1, 2] [3, 4]"

      📌 Runtime Parameters

      params:
        entries:
          -       - 1
            - 2
          -       - 3
            - 4
        widths:
          - 10
          - 10
        expected:     [1, 2]     [3, 4]
      id: entries7-widths7-    [1, 2]     [3, 4]
      

      📌 Setup phase

      duration:

      0.000261595007032156
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001439349725842476
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001722811721265316
      

      outcome:

      passed
      

    Function: test_fmt_label_sep

    • Test 342
      params: widths=[3, 4], line="-", expected="--- ----"

      📌 Runtime Parameters

      params:
        widths:
          - 3
          - 4
        line: -
        expected: --- ----
      id: widths0------ ----
      

      📌 Setup phase

      duration:

      0.0002636159770190716
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014155404642224312
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016043102368712425
      

      outcome:

      passed
      
    • Test 343
      params: widths=[2, 3], line="=", expected="== ==="

      📌 Runtime Parameters

      params:
        widths:
          - 2
          - 3
        line: =
        expected: == ===
      id: widths1-=-== ===
      

      📌 Setup phase

      duration:

      0.00026381202042102814
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015642866492271423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014838622882962227
      

      outcome:

      passed
      
    • Test 344
      params: widths=[5, 2], line="*", expected="***** **"

      📌 Runtime Parameters

      params:
        widths:
          - 5
          - 2
        line: *
        expected: ***** **
      id: widths2-*-***** **
      

      📌 Setup phase

      duration:

      0.0002698390744626522
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014356384053826332
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015139300376176834
      

      outcome:

      passed
      

    Function: test_printable_dict_with_header

    • Test 345
      params: d={"medium": true, "very_long_key": 3.14, "x": 1}, header="HeaderTest", expected_lines=["HeaderTest:", "-----------", "medium: True", "very_long_key: 3.14", "x: 1", ""]

      📌 Runtime Parameters

      params:
        d:
          medium: True
          very_long_key: 3.14
          x: 1
        header: HeaderTest
        expected_lines:
          - HeaderTest:
          - -----------
          - medium:        True
          - very_long_key: 3.14
          - x:             1
          - (vide)
      id: d0-HeaderTest-expected_lines0
      

      📌 Setup phase

      duration:

      0.000667062122374773
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023282133042812347
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016545504331588745
      

      outcome:

      passed
      

    Function: test_printable_dict_of_dicts

    • Test 346

      📌 Setup phase

      duration:

      0.00011734617874026299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00025463011115789413
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010564923286437988
      

      outcome:

      passed
      

    Function: test_printable_table

    • Test 347
      params: data="X1", true, 0.1234, {"meta": "ok"}], ["AnotherSample", false, 98765.4321, {"meta": [1, 2, 3]}], ["Z", null, 0.0, {"meta": {"nested_key": 42}}, labels=["ID", "✓ Success?", "SuperPrecisionValue", "Result Metadata"], expected="A: ID\nB: ✓ Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n# A B C D\n- ------------- ----- ---------- ----------------------------\n0 X1 True 0.1234 {'meta': 'ok'}\n1 AnotherSample False 98765.4321 {'meta': [1, 2, 3]}\n2 Z None 0.0 {'meta': {'nested_key': 42}}"

      📌 Runtime Parameters

      params:
        data:
          -       - X1
            - True
            - 0.1234
            -         meta: ok
          -       - AnotherSample
            - (vide)
            - 98765.4321
            -         meta:
                - 1
                - 2
                - 3
          -       - Z
            - (vide)
            - (vide)
            -         meta:
                nested_key: 42
        labels:
          - ID
          -  Success?
          - SuperPrecisionValue
          - Result Metadata
        expected: A: ID
      B:  Success?
      C: SuperPrecisionValue
      D: Result Metadata
      
      #             A     B          C                            D
      - ------------- ----- ---------- ----------------------------
      0            X1  True     0.1234               {'meta': 'ok'}
      1 AnotherSample False 98765.4321          {'meta': [1, 2, 3]}
      2             Z  None        0.0 {'meta': {'nested_key': 42}}
      id: data0-labels0-A: ID\nB: \u2713 Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n#             A     B          C                            D\n- ------------- ----- ---------- ----------------------------\n0            X1  True     0.1234               {'meta': 'ok'}\n1 AnotherSample False 98765.4321          {'meta': [1, 2, 3]}\n2             Z  None        0.0 {'meta': {'nested_key': 42}}
      

      📌 Setup phase

      duration:

      0.00030595529824495316
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003197020851075649
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016312208026647568
      

      outcome:

      passed
      
  • 📄 test_utils_rangebar.py

    Function: test_full_progress_bar

    • Test 356

      📌 Setup phase

      duration:

      0.0003827689215540886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024807779118418694
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018573226407170296
      

      outcome:

      passed
      

    Function: test_half_progress_bar

    • Test 357

      📌 Setup phase

      duration:

      0.0002826913259923458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022565806284546852
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016561802476644516
      

      outcome:

      passed
      

    Function: test_zero_progress_bar

    • Test 358

      📌 Setup phase

      duration:

      0.0002661999315023422
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024067191407084465
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000175397377461195
      

      outcome:

      passed
      

    Function: test_overflow_bar

    • Test 359

      📌 Setup phase

      duration:

      0.0002735094167292118
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002123657613992691
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018983101472258568
      

      outcome:

      passed
      

    Function: test_underflow_bar

    • Test 360

      📌 Setup phase

      duration:

      0.00029460713267326355
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021514901891350746
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017480598762631416
      

      outcome:

      passed
      

    Function: test_repr

    • Test 361

      📌 Setup phase

      duration:

      0.00011435803025960922
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015771528705954552
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012391991913318634
      

      outcome:

      passed
      

    Function: test_each_value_separately

    • Test 362
      params: value=0, expected_bar_part=" "

      📌 Runtime Parameters

      params:
        value: 0
        expected_bar_part:           
      id: 0-          
      

      📌 Setup phase

      duration:

      0.00043146591633558273
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020541483536362648
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002524987794458866
      

      outcome:

      passed
      
    • Test 363
      params: value=10, expected_bar_part="█ "

      📌 Runtime Parameters

      params:
        value: 10
        expected_bar_part:          
      id: 10-\u2588         
      

      📌 Setup phase

      duration:

      0.00038828374817967415
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002368488349020481
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019337423145771027
      

      outcome:

      passed
      
    • Test 364
      params: value=25, expected_bar_part="██▌ "

      📌 Runtime Parameters

      params:
        value: 25
        expected_bar_part: ██▌       
      id: 25-\u2588\u2588\u258c       
      

      📌 Setup phase

      duration:

      0.000367503147572279
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019595399498939514
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019221706315875053
      

      outcome:

      passed
      
    • Test 365
      params: value=27, expected_bar_part="██▊ "

      📌 Runtime Parameters

      params:
        value: 27
        expected_bar_part: ██▊       
      id: 27-\u2588\u2588\u258a       
      

      📌 Setup phase

      duration:

      0.00036353711038827896
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018931878730654716
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018524331972002983
      

      outcome:

      passed
      
    • Test 366
      params: value=49, expected_bar_part="████▉ "

      📌 Runtime Parameters

      params:
        value: 49
        expected_bar_part: ████▉     
      id: 49-\u2588\u2588\u2588\u2588\u2589     
      

      📌 Setup phase

      duration:

      0.0003567649982869625
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001923050731420517
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018593017011880875
      

      outcome:

      passed
      
    • Test 367
      params: value=50, expected_bar_part="█████ "

      📌 Runtime Parameters

      params:
        value: 50
        expected_bar_part: █████     
      id: 50-\u2588\u2588\u2588\u2588\u2588     
      

      📌 Setup phase

      duration:

      0.00036688707768917084
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020329607650637627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020566489547491074
      

      outcome:

      passed
      
    • Test 368
      params: value=51, expected_bar_part="█████▏ "

      📌 Runtime Parameters

      params:
        value: 51
        expected_bar_part: █████▏    
      id: 51-\u2588\u2588\u2588\u2588\u2588\u258f    
      

      📌 Setup phase

      duration:

      0.00036982586607337
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020848633721470833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001860302872955799
      

      outcome:

      passed
      
    • Test 369
      params: value=73, expected_bar_part="███████▎ "

      📌 Runtime Parameters

      params:
        value: 73
        expected_bar_part: ███████▎  
      id: 73-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e  
      

      📌 Setup phase

      duration:

      0.0003725830465555191
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001921551302075386
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002011498436331749
      

      outcome:

      passed
      
    • Test 370
      params: value=75, expected_bar_part="███████▌ "

      📌 Runtime Parameters

      params:
        value: 75
        expected_bar_part: ███████▌  
      id: 75-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  
      

      📌 Setup phase

      duration:

      0.0003605121746659279
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001855902373790741
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019451696425676346
      

      outcome:

      passed
      
    • Test 371
      params: value=90, expected_bar_part="█████████ "

      📌 Runtime Parameters

      params:
        value: 90
        expected_bar_part: █████████ 
      id: 90-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 
      

      📌 Setup phase

      duration:

      0.00036333315074443817
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020916108042001724
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019506504759192467
      

      outcome:

      passed
      
    • Test 372
      params: value=100, expected_bar_part="██████████"

      📌 Runtime Parameters

      params:
        value: 100
        expected_bar_part: ██████████
      id: 100-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588
      

      📌 Setup phase

      duration:

      0.000367908738553524
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018707197159528732
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019476981833577156
      

      outcome:

      passed
      
  • 📄 test_utils_readable.py

    Function: test_readable_seconds

    • Test 373
      params: seconds=59.4, expected="59 seconds"

      📌 Runtime Parameters

      params:
        seconds: 59.4
        expected: 59 seconds
      id: 59.4-59 seconds
      

      📌 Setup phase

      duration:

      0.00022567622363567352
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001684296876192093
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014321086928248405
      

      outcome:

      passed
      
    • Test 374
      params: seconds=59.9, expected="60 seconds"

      📌 Runtime Parameters

      params:
        seconds: 59.9
        expected: 60 seconds
      id: 59.9-60 seconds
      

      📌 Setup phase

      duration:

      0.00022894609719514847
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013641733676195145
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013350835070014
      

      outcome:

      passed
      
    • Test 375
      params: seconds=119.9, expected="120 seconds"

      📌 Runtime Parameters

      params:
        seconds: 119.9
        expected: 120 seconds
      id: 119.9-120 seconds
      

      📌 Setup phase

      duration:

      0.00022284500300884247
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014916108921170235
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013810163363814354
      

      outcome:

      passed
      
    • Test 376
      params: seconds=120.1, expected="2 minutes"

      📌 Runtime Parameters

      params:
        seconds: 120.1
        expected: 2 minutes
      id: 120.1-2 minutes
      

      📌 Setup phase

      duration:

      0.00020892499014735222
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001395680010318756
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013604667037725449
      

      outcome:

      passed
      
    • Test 377
      params: seconds=3599.9, expected="60 minutes"

      📌 Runtime Parameters

      params:
        seconds: 3599.9
        expected: 60 minutes
      id: 3599.9-60 minutes
      

      📌 Setup phase

      duration:

      0.00022477097809314728
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013640709221363068
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013157492503523827
      

      outcome:

      passed
      
    • Test 378
      params: seconds=3600.1, expected="60 minutes"

      📌 Runtime Parameters

      params:
        seconds: 3600.1
        expected: 60 minutes
      id: 3600.1-60 minutes
      

      📌 Setup phase

      duration:

      0.0002202298492193222
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001423656940460205
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001367758959531784
      

      outcome:

      passed
      
    • Test 379
      params: seconds=7199.9, expected="120 minutes"

      📌 Runtime Parameters

      params:
        seconds: 7199.9
        expected: 120 minutes
      id: 7199.9-120 minutes
      

      📌 Setup phase

      duration:

      0.00021855207160115242
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013450905680656433
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013850722461938858
      

      outcome:

      passed
      
    • Test 380
      params: seconds=7200.1, expected="2 hours"

      📌 Runtime Parameters

      params:
        seconds: 7200.1
        expected: 2 hours
      id: 7200.1-2 hours
      

      📌 Setup phase

      duration:

      0.0002249409444630146
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001516193151473999
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017339596524834633
      

      outcome:

      passed
      
    • Test 381
      params: seconds=90.4, expected="90 seconds"

      📌 Runtime Parameters

      params:
        seconds: 90.4
        expected: 90 seconds
      id: 90.4-90 seconds
      

      📌 Setup phase

      duration:

      0.00022637657821178436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001394590362906456
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001375991851091385
      

      outcome:

      passed
      
    • Test 382
      params: seconds=90.6, expected="91 seconds"

      📌 Runtime Parameters

      params:
        seconds: 90.6
        expected: 91 seconds
      id: 90.6-91 seconds
      

      📌 Setup phase

      duration:

      0.00022006873041391373
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016162032261490822
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014105718582868576
      

      outcome:

      passed
      
    • Test 383
      params: seconds=121.9, expected="2 minutes"

      📌 Runtime Parameters

      params:
        seconds: 121.9
        expected: 2 minutes
      id: 121.9-2 minutes
      

      📌 Setup phase

      duration:

      0.00021956069394946098
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014253705739974976
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002528699114918709
      

      outcome:

      passed
      
    • Test 384
      params: seconds=1296000.0, expected="2 weeks"

      📌 Runtime Parameters

      params:
        seconds: 1296000.0
        expected: 2 weeks
      id: 1296000.0-2 weeks
      

      📌 Setup phase

      duration:

      0.00024129962548613548
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014457199722528458
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013751303777098656
      

      outcome:

      passed
      
    • Test 385
      params: seconds=2592000.0, expected="4 weeks"

      📌 Runtime Parameters

      params:
        seconds: 2592000.0
        expected: 4 weeks
      id: 2592000.0-4 weeks
      

      📌 Setup phase

      duration:

      0.00022964086383581161
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014361413195729256
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001366427168250084
      

      outcome:

      passed
      
    • Test 386
      params: seconds=2800000.0, expected="5 weeks"

      📌 Runtime Parameters

      params:
        seconds: 2800000.0
        expected: 5 weeks
      id: 2800000.0-5 weeks
      

      📌 Setup phase

      duration:

      0.00021761609241366386
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001375940628349781
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001342357136309147
      

      outcome:

      passed
      
    • Test 387
      params: seconds=3888000.0, expected="6 weeks"

      📌 Runtime Parameters

      params:
        seconds: 3888000.0
        expected: 6 weeks
      id: 3888000.0-6 weeks
      

      📌 Setup phase

      duration:

      0.0002214629203081131
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015272479504346848
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014684861525893211
      

      outcome:

      passed
      
    • Test 388
      params: seconds=5097600.0, expected="8 weeks"

      📌 Runtime Parameters

      params:
        seconds: 5097600.0
        expected: 8 weeks
      id: 5097600.0-8 weeks
      

      📌 Setup phase

      duration:

      0.00022567808628082275
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014423299580812454
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001478581689298153
      

      outcome:

      passed
      
    • Test 389
      params: seconds=5184000.0, expected="9 weeks"

      📌 Runtime Parameters

      params:
        seconds: 5184000.0
        expected: 9 weeks
      id: 5184000.0-9 weeks
      

      📌 Setup phase

      duration:

      0.00020943814888596535
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013921409845352173
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014984887093305588
      

      outcome:

      passed
      
    • Test 390
      params: seconds=5270400.0, expected="2 months"

      📌 Runtime Parameters

      params:
        seconds: 5270400.0
        expected: 2 months
      id: 5270400.0-2 months
      

      📌 Setup phase

      duration:

      0.00022445200011134148
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013891281560063362
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001375330612063408
      

      outcome:

      passed
      
    • Test 391
      params: seconds=23328000.0, expected="9 months"

      📌 Runtime Parameters

      params:
        seconds: 23328000.0
        expected: 9 months
      id: 23328000.0-9 months
      

      📌 Setup phase

      duration:

      0.0002521867863833904
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015261629596352577
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013998616486787796
      

      outcome:

      passed
      
    • Test 392
      params: seconds=31104000.0, expected="12 months"

      📌 Runtime Parameters

      params:
        seconds: 31104000.0
        expected: 12 months
      id: 31104000.0-12 months
      

      📌 Setup phase

      duration:

      0.000219705980271101
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014205696061253548
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013577193021774292
      

      outcome:

      passed
      
    • Test 393
      params: seconds=33696000.0, expected="13 months"

      📌 Runtime Parameters

      params:
        seconds: 33696000.0
        expected: 13 months
      id: 33696000.0-13 months
      

      📌 Setup phase

      duration:

      0.00020816829055547714
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013828696683049202
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001355716958642006
      

      outcome:

      passed
      
    • Test 394
      params: seconds=59616000.0, expected="23 months"

      📌 Runtime Parameters

      params:
        seconds: 59616000.0
        expected: 23 months
      id: 59616000.0-23 months
      

      📌 Setup phase

      duration:

      0.0002283817157149315
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013684900477528572
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013564201071858406
      

      outcome:

      passed
      
    • Test 395
      params: seconds=62208000.0, expected="24 months"

      📌 Runtime Parameters

      params:
        seconds: 62208000.0
        expected: 24 months
      id: 62208000.0-24 months
      

      📌 Setup phase

      duration:

      0.00022248271852731705
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013845227658748627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013029109686613083
      

      outcome:

      passed
      
    • Test 396
      params: seconds=64208000.0, expected="2 years"

      📌 Runtime Parameters

      params:
        seconds: 64208000.0
        expected: 2 years
      id: 64208000.0-2 years
      

      📌 Setup phase

      duration:

      0.00021638907492160797
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001411670818924904
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013991491869091988
      

      outcome:

      passed
      
  • 📄 test_utils_registry.py

    Function: test_metaclass_creates_weakset

    • Test 397

      📌 Setup phase

      duration:

      0.00013534491881728172
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006590909324586391
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011948402971029282
      

      outcome:

      passed
      

    Function: test_metaclass_tracks_instances

    • Test 398

      📌 Setup phase

      duration:

      0.0001164688728749752
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023482367396354675
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010344572365283966
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 399

      📌 Setup phase

      duration:

      0.00018442515283823013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00051103625446558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013296818360686302
      

      outcome:

      passed
      

    Function: test_instance_tracking

    • Test 400

      📌 Setup phase

      duration:

      0.00017215684056282043
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020361319184303284
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001374129205942154
      

      outcome:

      passed
      

    Function: test_collect_instances_recursive

    • Test 401

      📌 Setup phase

      duration:

      0.00017163995653390884
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012233518064022064
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014438433572649956
      

      outcome:

      passed
      

    Function: test_instances_function

    • Test 402

      📌 Setup phase

      duration:

      0.00017839623615145683
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008326047100126743
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014629680663347244
      

      outcome:

      passed
      

    Function: test_non_registry_class_error

    • Test 403

      📌 Setup phase

      duration:

      0.00011645490303635597
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002135811373591423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010506995022296906
      

      outcome:

      passed
      

    Function: test_signature_preservation

    • Test 404

      📌 Setup phase

      duration:

      0.00010568415746092796
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023070676252245903
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011051679030060768
      

      outcome:

      passed
      
  • 📄 test_utils_richcfg.py

    Function: test_rich_inspector_outputs_more_than_builtin

    • Test 405

      📌 Setup phase

      duration:

      0.00019750604405999184
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.09378733905032277
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.555960558
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.5611384
        msecs: 561.138391494751
        relativeCreated: 10872.9887008667
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.00022830814123153687
      

      outcome:

      passed
      
  • 📄 test_utils_run_later.py

    Function: test_init_and_repr

    • Test 406

      📌 Setup phase

      duration:

      0.00013919919729232788
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020926212891936302
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010914681479334831
      

      outcome:

      passed
      

    Function: test_call

    • Test 407

      📌 Setup phase

      duration:

      0.00011308304965496063
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015570223331451416
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.979074820876122e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_string

    • Test 408

      📌 Setup phase

      duration:

      0.00010531861335039139
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015435833483934402
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.706011041998863e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_list

    • Test 409

      📌 Setup phase

      duration:

      0.00010652095079421997
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016270997002720833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010885810479521751
      

      outcome:

      passed
      

    Function: test_matmul_with_single_int

    • Test 410

      📌 Setup phase

      duration:

      0.00010335724800825119
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014514382928609848
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.412923827767372e-05
      

      outcome:

      passed
      

    Function: test_run_at_future_triggered_and_logs

    • Test 411

      📌 Setup phase

      duration:

      0.0003070239908993244
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20505690900608897
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.661599549
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.0808864
        msecs: 80.8863639831543
        relativeCreated: -18783997607.26333
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.762157887
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.1814709
        msecs: 181.4708709716797
        relativeCreated: -18783997506.678818
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.0002942020073533058
      

      outcome:

      passed
      

    Function: test_run_at_already_past

    • Test 412

      📌 Setup phase

      duration:

      0.0003195996396243572
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003233649767935276
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018442515283823013
      

      outcome:

      passed
      

    Function: test_run_in_future_triggered_and_logs

    • Test 413

      📌 Setup phase

      duration:

      0.00024555204436182976
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20164521597325802
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.862765241
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.0741267
        msecs: 74.1267204284668
        relativeCreated: -18783997614.022972
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.963257234
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735732800.1746106
        msecs: 174.61061477661133
        relativeCreated: -18783997513.539078
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.00030052708461880684
      

      outcome:

      passed
      

    Function: test_run_in_past

    • Test 414

      📌 Setup phase

      duration:

      0.0003371359780430794
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035566510632634163
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001782611943781376
      

      outcome:

      passed
      

    Function: test_run_later_with_seconds

    • Test 415

      📌 Setup phase

      duration:

      0.0002536657266318798
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20182786788791418
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.63790912
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735740000.0702648
        msecs: 70.26481628417969
        relativeCreated: -18776797617.884872
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.164333054
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1735740000.1707888
        msecs: 170.78876495361328
        relativeCreated: -18776797517.360924
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.00027759838849306107
      

      outcome:

      passed
      

    Function: test_run_later_with_past_datetime

    • Test 416

      📌 Setup phase

      duration:

      0.0003189118579030037
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00032761506736278534
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017952173948287964
      

      outcome:

      passed
      

    Function: test_run_at_tqdm_multiple_updates

    • Test 417

      📌 Setup phase

      duration:

      0.0003046160563826561
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.2016293639317155
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.264799131
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.2648962
        msecs: 264.8961544036865
        relativeCreated: 11576.746463775635
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.365338303
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.3654394
        msecs: 365.43941497802734
        relativeCreated: 11677.289724349976
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.00031288107857108116
      

      outcome:

      passed
      

    Function: test_today_basic

    • Test 418

      📌 Setup phase

      duration:

      0.0001446218229830265
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006948141381144524
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012587523087859154
      

      outcome:

      passed
      

    Function: test_tomorrow_basic

    • Test 419

      📌 Setup phase

      duration:

      0.00011813919991254807
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035892194136977196
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011572800576686859
      

      outcome:

      passed
      

    Function: test_yesterday_basic

    • Test 420

      📌 Setup phase

      duration:

      0.00011332705616950989
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005397810600697994
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001250668428838253
      

      outcome:

      passed
      

    Function: test_today_matmul_string

    • Test 421

      📌 Setup phase

      duration:

      0.00011538108810782433
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003342060372233391
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011685909703373909
      

      outcome:

      passed
      

    Function: test_tomorrow_matmul_list

    • Test 422

      📌 Setup phase

      duration:

      0.00010922364890575409
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00033585168421268463
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010673608630895615
      

      outcome:

      passed
      

    Function: test_yesterday_matmul_single

    • Test 423

      📌 Setup phase

      duration:

      0.00011431891471147537
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003371918573975563
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011183181777596474
      

      outcome:

      passed
      
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_real_local_verbose

    • Test 424

      📌 Setup phase

      duration:

      0.00017331307753920555
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.593555788975209
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.465897568
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.466092
        msecs: 466.0921096801758
        relativeCreated: 11777.942419052124
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.566576996
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.566683
        msecs: 566.6830539703369
        relativeCreated: 11878.533363342285
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.667090468
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.6671977
        msecs: 667.1977043151855
        relativeCreated: 11979.048013687134
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.767613465
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.7677276
        msecs: 767.7276134490967
        relativeCreated: 12079.577922821045
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.868213856
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.8684275
        msecs: 868.4275150299072
        relativeCreated: 12180.277824401855
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364809.969014464
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516809.969235
        msecs: 969.2349433898926
        relativeCreated: 12281.08525276184
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.69762557
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.0698612
        msecs: 69.86117362976074
        relativeCreated: 12381.711483001709
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.170289878
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.170398
        msecs: 170.39799690246582
        relativeCreated: 12482.248306274414
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.270826681
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.2709308
        msecs: 270.9307670593262
        relativeCreated: 12582.781076431274
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.371360051
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.3714626
        msecs: 371.4625835418701
        relativeCreated: 12683.312892913818
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.471885646
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.4719853
        msecs: 471.9853401184082
        relativeCreated: 12783.835649490356
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.572389175
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.5724995
        msecs: 572.4995136260986
        relativeCreated: 12884.349822998047
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.672829187
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.6729395
        msecs: 672.9395389556885
        relativeCreated: 12984.789848327637
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.773370309
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.7734778
        msecs: 773.4777927398682
        relativeCreated: 13085.328102111816
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.873907277
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.8740134
        msecs: 874.0134239196777
        relativeCreated: 13185.863733291626
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364810.974468006
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516810.9745827
        msecs: 974.5826721191406
        relativeCreated: 13286.432981491089
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Teardown phase

      duration:

      0.0002682507038116455
      

      outcome:

      passed
      
  • 📄 test_utils_shortcut.py

    Function: TestShortcutInitialization

    • Test 425

      📌 Setup phase

      duration:

      0.0004020337946712971
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021790480241179466
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001472090370953083
      

      outcome:

      passed
      
    • Test 426

      📌 Setup phase

      duration:

      0.00019676191732287407
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001528039574623108
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016329437494277954
      

      outcome:

      passed
      

    Function: test_run_method

    • Test 427

      📌 Setup phase

      duration:

      0.00037351762875914574
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006182319484651089
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022196723148226738
      

      outcome:

      passed
      

    Function: test_repr_output

    • Test 428

      📌 Setup phase

      duration:

      0.00018076039850711823
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016852514818310738
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012767594307661057
      

      outcome:

      passed
      

    Function: test_source_with_regular_function

    • Test 429

      📌 Setup phase

      duration:

      0.00018550874665379524
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001206445973366499
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001642056740820408
      

      outcome:

      passed
      

    Function: test_source_error_handling

    • Test 430

      📌 Setup phase

      duration:

      0.0001850668340921402
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008468548767268658
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014914479106664658
      

      outcome:

      passed
      

    Function: test_as_shortcut_basic

    • Test 431

      📌 Setup phase

      duration:

      0.0002061566337943077
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015593087300658226
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001341043971478939
      

      outcome:

      passed
      

    Function: test_as_shortcut_with_name

    • Test 432

      📌 Setup phase

      duration:

      0.00017626024782657623
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014940137043595314
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000151726882904768
      

      outcome:

      passed
      

    Function: test_as_shortcut_factory_pattern

    • Test 433

      📌 Setup phase

      duration:

      0.00016594212502241135
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001727859489619732
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013334490358829498
      

      outcome:

      passed
      

    Function: TestShortcutsSingleton

    • Test 434

      📌 Setup phase

      duration:

      0.0004107840359210968
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015570968389511108
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014855340123176575
      

      outcome:

      passed
      
    • Test 435

      📌 Setup phase

      duration:

      0.00024423422291874886
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023220200091600418
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001653009094297886
      

      outcome:

      passed
      
    • Test 436

      📌 Setup phase

      duration:

      0.0002587302587926388
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017810100689530373
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001482679508626461
      

      outcome:

      passed
      
    • Test 437

      📌 Setup phase

      duration:

      0.0002431478351354599
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018147006630897522
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014128396287560463
      

      outcome:

      passed
      
    • Test 438

      📌 Setup phase

      duration:

      0.00025378912687301636
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023619504645466805
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014666607603430748
      

      outcome:

      passed
      

    Function: TestFullIntegration

    • Test 439

      📌 Setup phase

      duration:

      0.0003505968488752842
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006398889236152172
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022348901256918907
      

      outcome:

      passed
      
    • Test 440

      📌 Setup phase

      duration:

      0.0002479380927979946
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020422367379069328
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001568840816617012
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 441

      📌 Setup phase

      duration:

      0.00017274590209126472
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014542602002620697
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012647686526179314
      

      outcome:

      passed
      
  • 📄 test_utils_snapshot.py

    Function: test_snapshot

    • Test 442
      params: test_input="v1", "Visible", false], ["h1", "Hidden", true, expected=["Visible"], kwargs={}

      📌 Runtime Parameters

      params:
        test_input:
          -       - v1
            - Visible
            - (vide)
          -       - h1
            - Hidden
            - True
        expected:
          - Visible
        kwargs:
      {}
      id: exclude_internals
      

      📌 Setup phase

      duration:

      0.00033584004268050194
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005951276980340481
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017256475985050201
      

      outcome:

      passed
      
    • Test 443
      params: test_input="v1", "Visible", false], ["h1", "Hidden", true, expected=["Visible", "Hidden"], kwargs={"include_internal": true}

      📌 Runtime Parameters

      params:
        test_input:
          -       - v1
            - Visible
            - (vide)
          -       - h1
            - Hidden
            - True
        expected:
          - Visible
          - Hidden
        kwargs:
          include_internal: True
      id: include_internals
      

      📌 Setup phase

      duration:

      0.00028782058507204056
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00045546330511569977
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017741182819008827
      

      outcome:

      passed
      
    • Test 444
      params: test_input=[], expected=[], kwargs={}

      📌 Runtime Parameters

      params:
        test_input:
      []
        expected:
      []
        kwargs:
      {}
      id: empty_case
      

      📌 Setup phase

      duration:

      0.0003132070414721966
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015343818813562393
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015382980927824974
      

      outcome:

      passed
      
    • Test 445
      params: test_input="3", "Charlie"], ["1", "Alpha"], ["2", "Beta", expected=["Alpha", "Beta", "Charlie"], kwargs="{'sort_key': }"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 3
            - Charlie
          -       - 1
            - Alpha
          -       - 2
            - Beta
        expected:
          - Alpha
          - Beta
          - Charlie
        kwargs: {'sort_key': <class 'str'>}
      id: sort_str
      

      📌 Setup phase

      duration:

      0.0002738148905336857
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005560889840126038
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001720287837088108
      

      outcome:

      passed
      
    • Test 446
      params: test_input="z3", "C"], ["a1", "A"], ["m2", "B", expected=["A", "B", "C"], kwargs="{'sort_key': at 0x7f218523f5e0>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - z3
            - C
          -       - a1
            - A
          -       - m2
            - B
        expected:
          - A
          - B
          - C
        kwargs: {'sort_key': <function <lambda> at 0x7f218523f5e0>}
      id: sort_id
      

      📌 Setup phase

      duration:

      0.00027190521359443665
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005692481063306332
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016902107745409012
      

      outcome:

      passed
      
    • Test 447
      params: test_input="3", "Charlie"], ["1", "alpha"], ["2", "Beta", expected=["alpha", "Beta", "Charlie"], kwargs="{'sort_key': at 0x7f218523f670>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 3
            - Charlie
          -       - 1
            - alpha
          -       - 2
            - Beta
        expected:
          - alpha
          - Beta
          - Charlie
        kwargs: {'sort_key': <function <lambda> at 0x7f218523f670>}
      id: sort_case_insensitive
      

      📌 Setup phase

      duration:

      0.000270182266831398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005601118318736553
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001691337674856186
      

      outcome:

      passed
      
    • Test 448
      params: test_input="1", "A"], ["2", "BB"], ["3", "CCC", expected=["A", "BB", "CCC"], kwargs="{'sort_key': at 0x7f218523f700>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 1
            - A
          -       - 2
            - BB
          -       - 3
            - CCC
        expected:
          - A
          - BB
          - CCC
        kwargs: {'sort_key': <function <lambda> at 0x7f218523f700>}
      id: sort_length
      

      📌 Setup phase

      duration:

      0.0002830149605870247
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006628939881920815
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017268862575292587
      

      outcome:

      passed
      
    • Test 449
      params: test_input="1", "A"], ["2", "B"], ["3", "C", expected=["C", "B", "A"], kwargs="{'sort_key': at 0x7f218523f790>}"

      📌 Runtime Parameters

      params:
        test_input:
          -       - 1
            - A
          -       - 2
            - B
          -       - 3
            - C
        expected:
          - C
          - B
          - A
        kwargs: {'sort_key': <function <lambda> at 0x7f218523f790>}
      id: sort_reverse
      

      📌 Setup phase

      duration:

      0.0002763299271464348
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005551809445023537
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001721121370792389
      

      outcome:

      passed
      
  • 📄 test_utils_termtitle.py

    Function: test_terminal_title_with_tmux

    • Test 450

      📌 Setup phase

      duration:

      0.00014486396685242653
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.014821221120655537
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001944778487086296
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_complete_progress_bar

    • Test 451

      📌 Setup phase

      duration:

      0.00014640018343925476
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.004054727964103222
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012422073632478714
      

      outcome:

      passed
      

    Function: test_set_progress_multiple_points

    • Test 452

      📌 Setup phase

      duration:

      0.000119043979793787
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0016720360144972801
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013903481885790825
      

      outcome:

      passed
      

    Function: test_format_sizeof_alignment

    • Test 453

      📌 Setup phase

      duration:

      0.0001214449293911457
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015755416825413704
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010518170893192291
      

      outcome:

      passed
      

    Function: test_custom_unit

    • Test 455

      📌 Setup phase

      duration:

      0.00012606196105480194
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.004851351026445627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011957110837101936
      

      outcome:

      passed
      

    Function: test_clamp_above_total

    • Test 456

      📌 Setup phase

      duration:

      0.00011940626427531242
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005051959306001663
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011105602607131004
      

      outcome:

      passed
      

    Function: test_clamp_below_zero

    • Test 457

      📌 Setup phase

      duration:

      0.0001160111278295517
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006313812918961048
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011679297313094139
      

      outcome:

      passed
      
  • 📄 test_utils_trinary.py

    Function: test_check_trinary_valid_values

    • Test 458

      📌 Setup phase

      duration:

      0.00012889504432678223
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001697773113846779
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010584015399217606
      

      outcome:

      passed
      

    Function: test_check_trinary_invalid_value

    • Test 459

      📌 Setup phase

      duration:

      0.0001055723987519741
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037955259904265404
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011247582733631134
      

      outcome:

      passed
      

    Function: test_check_trinary_with_custom_allowed_values

    • Test 460

      📌 Setup phase

      duration:

      0.00011185416951775551
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016805902123451233
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010813772678375244
      

      outcome:

      passed
      
  • 📄 test_utils_typecast.py

    Function: test_downcast_success

    • Test 461

      📌 Setup phase

      duration:

      0.00012378161773085594
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017536990344524384
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001038331538438797
      

      outcome:

      passed
      

    Function: test_upcast_success

    • Test 462

      📌 Setup phase

      duration:

      0.00010930700227618217
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015473226085305214
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.961286559700966e-05
      

      outcome:

      passed
      

    Function: test_downcast_invalid

    • Test 463

      📌 Setup phase

      duration:

      0.00010709092020988464
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00031607411801815033
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010931771248579025
      

      outcome:

      passed
      

    Function: test_upcast_invalid

    • Test 464

      📌 Setup phase

      duration:

      0.00011052889749407768
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016983924433588982
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010824482887983322
      

      outcome:

      passed
      

    Function: test_object_identity_preserved

    • Test 465

      📌 Setup phase

      duration:

      0.00010361522436141968
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015346193686127663
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011249072849750519
      

      outcome:

      passed
      

    Function: test_ensure_subclass_valid

    • Test 466

      📌 Setup phase

      duration:

      0.00010493211448192596
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013241032138466835
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010548485442996025
      

      outcome:

      passed
      

    Function: test_ensure_subclass_invalid

    • Test 467

      📌 Setup phase

      duration:

      0.00010192766785621643
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016517005860805511
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001268591731786728
      

      outcome:

      passed
      

    Function: test_cast_changes_class

    • Test 468

      📌 Setup phase

      duration:

      0.00010671606287360191
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001407158561050892
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.856326505541801e-05
      

      outcome:

      passed
      

    Function: test_cast_preserves_identity

    • Test 469

      📌 Setup phase

      duration:

      0.00010286318138241768
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001280689612030983
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010091299191117287
      

      outcome:

      passed
      
  • 📄 test_utils_utils.py

    Function: test_singleton_instance

    • Test 470

      📌 Setup phase

      duration:

      0.00011542486026883125
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014764023944735527
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.824521839618683e-05
      

      outcome:

      passed
      

    Function: test_singleton_identity

    • Test 471

      📌 Setup phase

      duration:

      0.00010650092735886574
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013615796342492104
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.839190170168877e-05
      

      outcome:

      passed
      

    Function: test_typename

    • Test 472
      params: obj=null, expected="NoneType"

      📌 Runtime Parameters

      params:
        obj: None
        expected: NoneType
      id: None-NoneType
      

      📌 Setup phase

      duration:

      0.0003123059868812561
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001529976725578308
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014731287956237793
      

      outcome:

      passed
      
    • Test 473
      params: obj=true, expected="bool"

      📌 Runtime Parameters

      params:
        obj: True
        expected: bool
      id: True-bool
      

      📌 Setup phase

      duration:

      0.00023625511676073074
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013744831085205078
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014048069715499878
      

      outcome:

      passed
      
    • Test 474
      params: obj=42, expected="int"

      📌 Runtime Parameters

      params:
        obj: 42
        expected: int
      id: 42-int
      

      📌 Setup phase

      duration:

      0.00022206688299775124
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013392465189099312
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013544969260692596
      

      outcome:

      passed
      
    • Test 475
      params: obj=3.14, expected="float"

      📌 Runtime Parameters

      params:
        obj: 3.14
        expected: float
      id: 3.14-float
      

      📌 Setup phase

      duration:

      0.00022051669657230377
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013703526929020882
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013782503083348274
      

      outcome:

      passed
      
    • Test 476
      params: obj="text", expected="str"

      📌 Runtime Parameters

      params:
        obj: text
        expected: str
      id: text-str
      

      📌 Setup phase

      duration:

      0.00021757883951067924
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014724908396601677
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001377509906888008
      

      outcome:

      passed
      
    • Test 477
      params: obj="{1, 2, 3}", expected="set"

      📌 Runtime Parameters

      params:
        obj: {1, 2, 3}
        expected: set
      id: obj5-set
      

      📌 Setup phase

      duration:

      0.0002100490964949131
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014090724289417267
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013844016939401627
      

      outcome:

      passed
      
    • Test 478
      params: obj=1], [2, 3, expected="list"

      📌 Runtime Parameters

      params:
        obj:
          -       - 1
          -       - 2
            - 3
        expected: list
      id: obj6-list
      

      📌 Setup phase

      duration:

      0.00022553326562047005
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001362641341984272
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001402050256729126
      

      outcome:

      passed
      
    • Test 479
      params: obj=[{"a": [1, 2]}, {"b": [3, 4]}], expected="list"

      📌 Runtime Parameters

      params:
        obj:
          -       a:
              - 1
              - 2
          -       b:
              - 3
              - 4
        expected: list
      id: obj7-list
      

      📌 Setup phase

      duration:

      0.00022034905850887299
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013376399874687195
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001354580745100975
      

      outcome:

      passed
      
    • Test 480
      params: obj={"key": [{"nested": 1}, [2, 3]]}, expected="dict"

      📌 Runtime Parameters

      params:
        obj:
          key:
            -         nested: 1
            -         - 2
              - 3
        expected: dict
      id: obj8-dict
      

      📌 Setup phase

      duration:

      0.00021842308342456818
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013705529272556305
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001383339986205101
      

      outcome:

      passed
      
    • Test 481
      params: obj=" at 0x7f2185225ee0>", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function <lambda> at 0x7f2185225ee0>
        expected: function
      id: <lambda>-function
      

      📌 Setup phase

      duration:

      0.0002936362288892269
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001620519906282425
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001438399776816368
      

      outcome:

      passed
      
    • Test 482
      params: obj="", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function sample_function at 0x7f2185225e50>
        expected: function
      id: sample_function-function
      

      📌 Setup phase

      duration:

      0.00022626807913184166
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013546692207455635
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013964809477329254
      

      outcome:

      passed
      
    • Test 483
      params: obj=".nested at 0x7f2185225f70>", expected="function"

      📌 Runtime Parameters

      params:
        obj: <function sample_function.<locals>.nested at 0x7f2185225f70>
        expected: function
      id: nested-function
      

      📌 Setup phase

      duration:

      0.00022629788145422935
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013720476999878883
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001671849749982357
      

      outcome:

      passed
      
    • Test 484
      params: obj="", expected="builtin_function_or_method"

      📌 Runtime Parameters

      params:
        obj: <built-in function len>
        expected: builtin_function_or_method
      id: len-builtin_function_or_method
      

      📌 Setup phase

      duration:

      0.00026173004880547523
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015360210090875626
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014717504382133484
      

      outcome:

      passed
      
    • Test 485
      params: obj="", expected="builtin_function_or_method"

      📌 Runtime Parameters

      params:
        obj: <built-in function sum>
        expected: builtin_function_or_method
      id: sum-builtin_function_or_method
      

      📌 Setup phase

      duration:

      0.0002129250206053257
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014587398618459702
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014596059918403625
      

      outcome:

      passed
      
    • Test 486
      params: obj="", expected="module"

      📌 Runtime Parameters

      params:
        obj: <module 'math' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/lib-dynload/math.cpython-38-x86_64-linux-gnu.so'>
        expected: module
      id: math-module
      

      📌 Setup phase

      duration:

      0.00023910915479063988
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001382729969918728
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001412699930369854
      

      outcome:

      passed
      
    • Test 487
      params: obj="", expected="module"

      📌 Runtime Parameters

      params:
        obj: <module 'sys' (built-in)>
        expected: module
      id: sys-module
      

      📌 Setup phase

      duration:

      0.00022298982366919518
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000138069037348032
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001532859168946743
      

      outcome:

      passed
      
    • Test 488
      params: obj="", expected="type"

      📌 Runtime Parameters

      params:
        obj: <class 'function'>
        expected: type
      id: function-type
      

      📌 Setup phase

      duration:

      0.00022360030561685562
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013892818242311478
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013994984328746796
      

      outcome:

      passed
      
    • Test 489
      params: obj=" at 0x7f2185031cf0>", expected="generator"

      📌 Runtime Parameters

      params:
        obj: <generator object <genexpr> at 0x7f2185031cf0>
        expected: generator
      id: <genexpr>-generator
      

      📌 Setup phase

      duration:

      0.0002105478197336197
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001489478163421154
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001386171206831932
      

      outcome:

      passed
      
    • Test 490
      params: obj="", expected="list_iterator"

      📌 Runtime Parameters

      params:
        obj: <list_iterator object at 0x7f2185051640>
        expected: list_iterator
      id: obj18-list_iterator
      

      📌 Setup phase

      duration:

      0.00022196676582098007
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013368483632802963
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001361318863928318
      

      outcome:

      passed
      

    Function: test_next_int

    • Test 491
      params: nums=[1, 2, 3], expected=4

      📌 Runtime Parameters

      params:
        nums:
          - 1
          - 2
          - 3
        expected: 4
      id: nums0-4
      

      📌 Setup phase

      duration:

      0.00023519480600953102
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014253705739974976
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013770628720521927
      

      outcome:

      passed
      
    • Test 492
      params: nums=[10, 20], expected=21

      📌 Runtime Parameters

      params:
        nums:
          - 10
          - 20
        expected: 21
      id: nums1-21
      

      📌 Setup phase

      duration:

      0.00020812498405575752
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001388760283589363
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014981534332036972
      

      outcome:

      passed
      
    • Test 493
      params: nums=[], expected=0

      📌 Runtime Parameters

      params:
        nums:
      []
        expected: 0
      id: nums2-0
      

      📌 Setup phase

      duration:

      0.00022251298651099205
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013252627104520798
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014246301725506783
      

      outcome:

      passed
      

    Function: test_zero_pad

    • Test 494
      params: i=7, n=3, expected="007"

      📌 Runtime Parameters

      params:
        i: 7
        n: 3
        expected: 007
      id: 7-3-007
      

      📌 Setup phase

      duration:

      0.00026813894510269165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001387372612953186
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000151932705193758
      

      outcome:

      passed
      
    • Test 495
      params: i=123, n=5, expected="00123"

      📌 Runtime Parameters

      params:
        i: 123
        n: 5
        expected: 00123
      id: 123-5-00123
      

      📌 Setup phase

      duration:

      0.00028176093474030495
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014088675379753113
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001510349102318287
      

      outcome:

      passed
      
    • Test 496
      params: i=0, n=2, expected="00"

      📌 Runtime Parameters

      params:
        i: 0
        n: 2
        expected: 00
      id: 0-2-00
      

      📌 Setup phase

      duration:

      0.0002668006345629692
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013918336480855942
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016260892152786255
      

      outcome:

      passed
      

    Function: test_iround

    • Test 497
      params: val=3.6, expected=4

      📌 Runtime Parameters

      params:
        val: 3.6
        expected: 4
      id: 3.6-4
      

      📌 Setup phase

      duration:

      0.0002132500521838665
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015132734552025795
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014328816905617714
      

      outcome:

      passed
      
    • Test 498
      params: val=2.1, expected=2

      📌 Runtime Parameters

      params:
        val: 2.1
        expected: 2
      id: 2.1-2
      

      📌 Setup phase

      duration:

      0.00022435327991843224
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014994945377111435
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001377267763018608
      

      outcome:

      passed
      
    • Test 499
      params: val=-1.5, expected=-2

      📌 Runtime Parameters

      params:
        val: -1.5
        expected: -2
      id: -1.5--2
      

      📌 Setup phase

      duration:

      0.00022012321278452873
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013349531218409538
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013880198821425438
      

      outcome:

      passed
      
    • Test 500
      params: val=-1.4, expected=-1

      📌 Runtime Parameters

      params:
        val: -1.4
        expected: -1
      id: -1.4--1
      

      📌 Setup phase

      duration:

      0.00022867275401949883
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013872189447283745
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013648159801959991
      

      outcome:

      passed
      

    Function: test_sorted_naturally

    • Test 501
      params: items=["file1", "file10", "file2"], expected=["file1", "file2", "file10"]

      📌 Runtime Parameters

      params:
        items:
          - file1
          - file10
          - file2
        expected:
          - file1
          - file2
          - file10
      id: items0-expected0
      

      📌 Setup phase

      duration:

      0.00023018661886453629
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001794961281120777
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014176778495311737
      

      outcome:

      passed
      
    • Test 502
      params: items=["z9", "z10", "z2", "z1"], expected=["z1", "z2", "z9", "z10"]

      📌 Runtime Parameters

      params:
        items:
          - z9
          - z10
          - z2
          - z1
        expected:
          - z1
          - z2
          - z9
          - z10
      id: items1-expected1
      

      📌 Setup phase

      duration:

      0.00022802408784627914
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001795073039829731
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001390739344060421
      

      outcome:

      passed
      

    Function: test_sorted_naturally_reverse

    • Test 503
      params: items=["file1", "file10", "file2"], expected=["file10", "file2", "file1"]

      📌 Runtime Parameters

      params:
        items:
          - file1
          - file10
          - file2
        expected:
          - file10
          - file2
          - file1
      id: items0-expected0
      

      📌 Setup phase

      duration:

      0.0002214028500020504
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015396904200315475
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014724116772413254
      

      outcome:

      passed
      
  • 📄 test_utils_xrange.py

    Function: test_xrange_finite

    • Test 504
      params: args=[10], kwargs={}, expected=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

      📌 Runtime Parameters

      params:
        args:
          - 10
        kwargs:
      {}
        expected:
          - (vide)
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
      id: args0-kwargs0-expected0
      

      📌 Setup phase

      duration:

      0.00028269505128264427
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001591891050338745
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019044196233153343
      

      outcome:

      passed
      
    • Test 505
      params: args=[0, 10], kwargs={}, expected=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]

      📌 Runtime Parameters

      params:
        args:
          - (vide)
          - 10
        kwargs:
      {}
        expected:
          - (vide)
          - 1
          - 2
          - 3
          - 4
          - 5
          - 6
          - 7
          - 8
          - 9
      id: args1-kwargs1-expected1
      

      📌 Setup phase

      duration:

      0.0003127441741526127
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002211560495197773
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001592007465660572
      

      outcome:

      passed
      
    • Test 506
      params: args=[0, 10, 2], kwargs={}, expected=[0, 2, 4, 6, 8]

      📌 Runtime Parameters

      params:
        args:
          - (vide)
          - 10
          - 2
        kwargs:
      {}
        expected:
          - (vide)
          - 2
          - 4
          - 6
          - 8
      id: args2-kwargs2-expected2
      

      📌 Setup phase

      duration:

      0.0002837139181792736
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014407793059945107
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000160308089107275
      

      outcome:

      passed
      
    • Test 507
      params: args=[10], kwargs={"step": 2}, expected=[0, 2, 4, 6, 8]

      📌 Runtime Parameters

      params:
        args:
          - 10
        kwargs:
          step: 2
        expected:
          - (vide)
          - 2
          - 4
          - 6
          - 8
      id: args3-kwargs3-expected3
      

      📌 Setup phase

      duration:

      0.00026033585891127586
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014108512550592422
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017170794308185577
      

      outcome:

      passed
      

    Function: test_xrange_infinite

    • Test 508
      params: args=[], kwargs={}, expected_repr="count(0)"

      📌 Runtime Parameters

      params:
        args:
      []
        kwargs:
      {}
        expected_repr: count(0)
      id: args0-kwargs0-count(0)
      

      📌 Setup phase

      duration:

      0.00026339292526245117
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014802208170294762
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015650223940610886
      

      outcome:

      passed
      
    • Test 509
      params: args=[], kwargs={"step": 2}, expected_repr="count(0, 2)"

      📌 Runtime Parameters

      params:
        args:
      []
        kwargs:
          step: 2
        expected_repr: count(0, 2)
      id: args1-kwargs1-count(0, 2)
      

      📌 Setup phase

      duration:

      0.00027932319790124893
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015204818919301033
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015030894428491592
      

      outcome:

      passed
      

    Function: test_xrange_too_many_args

    • Test 510
      params: args=[1, 2, 3, 4]

      📌 Runtime Parameters

      params:
        args:
          - 1
          - 2
          - 3
          - 4
      id: args0
      

      📌 Setup phase

      duration:

      0.0001746630296111107
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004495372995734215
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0006470531225204468
      

      outcome:

      passed
      
Failed (36)
  • 📄 test_utils_debug.py

    Function: test_short_repr

    • Test 134
      params: value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", cutoff=10, expected="'aaaaaaaaaa..."

      📌 Runtime Parameters

      params:
        value: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
        cutoff: 10
        expected: 'aaaaaaaaaa...
      id: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...
      

      📌 Setup phase

      duration:

      0.00048350030556321144
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009655430912971497
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_debug.py
      lineno: 66
      message: assert "'aaaaaaaaa..." == "'aaaaaaaaaa..."
      
        - 'aaaaaaaaaa...
        ?  -
        + 'aaaaaaaaa...
      

      traceback:

      -   path: tests/test_utils_debug.py
        lineno: 66
        message: AssertionError
      

      longrepr:

      value = 'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa'
      cutoff = 10, expected = "'aaaaaaaaaa..."
      
          @pytest.mark.parametrize(
              "value, cutoff, expected",
              [
                  ("abc", 10, "'abc'"),
                  ("a" * 100, 10, "'aaaaaaaaaa..."),
                  (12345, 10, "12345"),
                  ([0]*100, 15, str(repr([0]*100))[:15] + "..."),
                  (None, 10, "None"),
                  (type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxx..."),
              ]
          )
      
          def test_short_repr(value, cutoff, expected):
      >       assert short_repr(value, cutoff) == expected
      E       assert "'aaaaaaaaa..." == "'aaaaaaaaaa..."
      E         
      E         - 'aaaaaaaaaa...
      E         ?  -
      E         + 'aaaaaaaaa...
      
      tests/test_utils_debug.py:66: AssertionError
      

      📌 Teardown phase

      duration:

      0.00047011999413371086
      

      outcome:

      passed
      
    • Test 138
      params: value="Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)", cutoff=20, expected="Obj(xxxxxxxxxxxxxxxxx..."

      📌 Runtime Parameters

      params:
        value: Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)
        cutoff: 20
        expected: Obj(xxxxxxxxxxxxxxxxx...
      id: value5-20-Obj(xxxxxxxxxxxxxxxxx...
      

      📌 Setup phase

      duration:

      0.0004733898676931858
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009483783505856991
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_debug.py
      lineno: 66
      message: AssertionError: assert 'Obj(xxxxxxxxxxxxxxxx...' == 'Obj(xxxxxxxxxxxxxxxxx...'
      
        - Obj(xxxxxxxxxxxxxxxxx...
        ?                     -
        + Obj(xxxxxxxxxxxxxxxx...
      

      traceback:

      -   path: tests/test_utils_debug.py
        lineno: 66
        message: AssertionError
      

      longrepr:

      value = Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx), cutoff = 20
      expected = 'Obj(xxxxxxxxxxxxxxxxx...'
      
          @pytest.mark.parametrize(
              "value, cutoff, expected",
              [
                  ("abc", 10, "'abc'"),
                  ("a" * 100, 10, "'aaaaaaaaaa..."),
                  (12345, 10, "12345"),
                  ([0]*100, 15, str(repr([0]*100))[:15] + "..."),
                  (None, 10, "None"),
                  (type("Obj", (), {"__repr__": lambda self: "Obj(" + "x"*50 + ")"})(), 20, "Obj(xxxxxxxxxxxxxxxxx..."),
              ]
          )
      
          def test_short_repr(value, cutoff, expected):
      >       assert short_repr(value, cutoff) == expected
      E       AssertionError: assert 'Obj(xxxxxxxxxxxxxxxx...' == 'Obj(xxxxxxxxxxxxxxxxx...'
      E         
      E         - Obj(xxxxxxxxxxxxxxxxx...
      E         ?                     -
      E         + Obj(xxxxxxxxxxxxxxxx...
      
      tests/test_utils_debug.py:66: AssertionError
      

      📌 Teardown phase

      duration:

      0.0003270539455115795
      

      outcome:

      passed
      
  • 📄 test_utils_elog.py

    Function: test_check_required_attributes

    • Test 159

      📌 Setup phase

      duration:

      0.0001218658871948719
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002931224647909403
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo?cmd=Config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 31
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2184f11b20>
      method = 'GET', url = '/demo?cmd=Config', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query='cmd=Config', fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2184f117c0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo?cmd=Config', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2184f11b20>
      _stacktrace = <traceback object at 0x7f2131fd55c0>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo?cmd=Config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
          def test_check_required_attributes():
              url = "http://localhost:8080/demo?cmd=Config"
      >       response = requests.get(url, auth=("robot", "testpassword"))
      
      tests/test_utils_elog.py:31: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2184f117c0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo?cmd=Config (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184eae4f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.0002253078855574131
      

      outcome:

      passed
      

    Function: test_post

    • Test 160

      📌 Setup phase

      duration:

      0.00013729091733694077
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.009499642997980118
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
      lineno: 601
      message: elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 114
        message: None
      -   path: slic/utils/elog.py
        lineno: 16
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 307
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 601
        message: LogbookServerProblem
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f21855a9250>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f218531ce50>
      method = 'POST', url = '/demo/'
      body = b'--3aa20d41ff42e79e36d243b7f1d2863d\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--3aa20d41ff42e7...-Disposition: form-data; name="Text"; filename=""\r\n\r\nThis is a message\r\n--3aa20d41ff42e79e36d243b7f1d2863d--\r\n'
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '735', 'Content-Type': 'multipart/form-data; boundary=3aa20d41ff42e79e36d243b7f1d2863d'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f21855a9250>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f21855a9250>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f213102b5e0>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'POST', url = '/demo/', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21855a9250>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f218531ce50>
      _stacktrace = <traceback object at 0x7f21312584c0>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21855a9250>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f213102b130>
      message = 'This is a message', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754516803, 'cmd': 'Submit', 'exp': 'demo', ...}
      attachments = [], suppress_email_notification = False, encoding = None
      timeout = None, kwargs = {'Author': 'robot'}
      new_attachment_list = [('Text', ('', b'This is a message'))]
      objects_to_close = []
      attributes_to_edit = {'Author': b'robot', 'When': 1754516803, 'cmd': b'Submit', 'exp': b'demo', ...}
      
          def post(self, message, msg_id=None, reply=False, attributes=None, attachments=None,
                   suppress_email_notification=False, encoding=None, timeout=None, **kwargs):
              """
              Posts message to the logbook. If msg_id is not specified new message will be created, otherwise existing
              message will be edited, or a reply (if reply=True) to it will be created. This method returns the msg_id
              of the newly created message.
      
              :param message: string with message text
              :param msg_id: ID number of message to edit or reply. If not specified new message is created.
              :param reply: If 'True' reply to existing message is created instead of editing it
              :param attributes: Dictionary of attributes. Following attributes are used internally by the elog and will be
                                 ignored: Text, Date, Encoding, Reply to, In reply to, Locked by, Attachment
              :param attachments: list of:
                                        - file like objects which read() will return bytes (if file_like_object.name is not
                                          defined, default name "attachment<i>" will be used.
                                        - paths to the files
                                  All items will be appended as attachment to the elog entry. In case of unknown
                                  attachment an exception LogbookInvalidAttachment will be raised.
              :param suppress_email_notification: If set to True or 1, E-Mail notification will be suppressed, defaults to False.
              :param encoding: Defines encoding of the message. Can be: 'plain' -> plain text, 'html'->html-text,
                               'ELCode' --> elog formatting syntax
              :param timeout: Define the timeout to be used by the post request. Its value is directly passed to the requests
                              post. Use None to disable the request timeout.
              :param kwargs: Anything in the kwargs will be interpreted as attribute. e.g.: logbook.post('Test text',
                             Author='Rok Vintar), "Author" will be sent as an attribute. If named same as one of the
                             attributes defined in "attributes", kwargs will have priority.
      
              :return: msg_id
              """
      
              attributes = attributes or {}
              attributes = {**attributes, **kwargs}  # kwargs as attributes with higher priority
      
              attachments = attachments or []
      
              if encoding is not None:
                  if encoding not in ['plain', 'HTML', 'ELCode']:
                      raise LogbookMessageRejected('Invalid message encoding. Valid options: plain, HTML, ELCode.')
                  attributes['Encoding'] = encoding
      
              if suppress_email_notification:
                  attributes["suppress"] = 1
      
              # THE ATTACHMENT STRATEGY WHEN DEALING WITH POST MODIFICATION
              #
              # 1. Does the message on the server have already attachments?
              #    1.1 - We read the message getting the existing attachment list.
              #    1.2 - Add to the attributes dictionary one line for each attachment like this:
              #       attributes['attachmentN'] = timestamped_filename_name
              #
              # 2. Do we have new attachments?
              #    2.1 - Those are in the new_attachment_list. This is a list of this type:
              #       [ ('attfileN', ('filename', fileobject)) ]
              #    2.2 - We need to loop over all the new attachments:
              #       2.2.1 - Does a file already on the server with the same name exist?
              #         2.2.1.1 - No: OK. Then we go ahead with the next attachment.
              #         2.2.1.2 - Yes:
              #           2.2.1.2.1 - Are the two files identical?
              #               2.2.1.2.1.1 - Yes: then we remove this current entry from the new_attachment_list and we leave the one
              #                      already on server.
              #               2.2.1.2.1.2 - No:
              #                  2.2.1.2.1.2.1 - Then the file has been update.
              #                  2.2.1.2.1.2.2 - We need to remove the file on server first (using special post)
              #                  2.2.1.2.1.2.3 - We have to remove the old attachment from the attributes dictionary.
              #
      
              if attachments:
                  # here we accomplish point 2.1.
                  # new_attachment_list is something like [ ('attfileN', ('filename', fileobject)) ]
                  new_attachment_list, objects_to_close = self._prepare_attachments(attachments)
              else:
                  objects_to_close = list()
                  new_attachment_list = list()
      
              attributes_to_edit = dict()
              if msg_id:
                  # Message exists, we can continue
                  if reply:
                      # Verify that there is a message on the server, otherwise do not reply to it!
                      self._check_if_message_on_server(msg_id)  # raises exception in case of none existing message
                      attributes['reply_to'] = str(msg_id)
                  else:  # Edit existing
                      attributes['edit_id'] = str(msg_id)
                      attributes['skiplock'] = '1'
      
                      # here we accomplish point 1.1.
                      # existing_attachments_list is something like:
                      # [ 'https://elog.url.com/logbook/timestamped_filename' ]
                      msg_to_edit, attributes_to_edit, existing_attachments_list = self.read(msg_id)
      
                      for attribute, data in attributes.items():
                          new_data = attributes.get(attribute)
                          if new_data is not None:
                              attributes_to_edit[attribute] = new_data
      
                      i = 0
                      existing_attachments_filename_list = list()
                      for attachment in existing_attachments_list:
                          # here we accomplish point 1.2. We strip the timestamped_filename from the whole URL.
                          attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
                          existing_attachments_filename_list.append(os.path.basename(attachment)[14:])
                          i += 1
      
                      # let's accomplish 2.2. Loop over all new attachment
                      duplicate_attachment_list = list()
                      for new_attachment in new_attachment_list:
                          # the new_attachment_list is something like:
                          # [ ('attfileN', ('filename', fileobject)) ]
                          new_attachment_filename = new_attachment[1][0]
                          if new_attachment_filename in existing_attachments_filename_list:
                              # a file with the same name existing already on the server.
                              # we need to check if the two files are the same.
                              # read the content of the new file
                              new_attachment_content = new_attachment[1][1].read()
                              # don't forget to reset the fileobj to the beginning of the file
                              new_attachment[1][1].seek(0)
                              # get the existing attachment content
                              attachment_index = existing_attachments_filename_list.index(new_attachment_filename)
                              existing_attachment_content = self.download_attachment(
                                  url=existing_attachments_list[attachment_index],
                                  timeout=timeout
                              )
                              # check if the two contents are the same
                              if new_attachment_content == existing_attachment_content:
                                  # yes. then we don't upload a second copy. we remove the current entry from the list
                                  duplicate_attachment_list.append(new_attachment)
                              else:
                                  # no. they are not the same file. we will replace the existing file with the new one
                                  # first: we need to remove the attachment from the server using the dedicated method
                                  self.delete_attachment(msg_id, attributes=attributes_to_edit,
                                                         attachment_id=attachment_index,
                                                         timeout=timeout, text=msg_to_edit)
                                  # now we can remove this attachment from the auxiliary lists.
                                  existing_attachments_filename_list.pop(attachment_index)
                                  existing_attachments_list.pop(attachment_index)
                                  # now we need to rebuild the attributes dictionary for the part concerning the attachments.
                                  # we remove all of them first
                                  keys_to_be_removed = list()
                                  for key in attributes_to_edit.keys():
                                      if key.startswith('attachment'):
                                          keys_to_be_removed.append(key)
                                      if key.startswith('delatt'):
                                          keys_to_be_removed.append(key)
                                  for key in keys_to_be_removed:
                                      del attributes_to_edit[key]
      
                                  # now we rebuild it
                                  for i, attachment in enumerate(existing_attachments_list):
                                      attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
      
                      # remove all duplicate attachments from the new_attachment_list
                      for attach in duplicate_attachment_list:
                          new_attachment_list.remove(attach)
      
              else:
                  # As we create a new message, specify creation time if not already specified in attributes
                  if 'When' not in attributes:
                      attributes['When'] = int(datetime.now().timestamp())
      
              if not attributes_to_edit:
                  attributes_to_edit = attributes
      
              # Remove any attributes that should not be sent
              _remove_reserved_attributes(attributes_to_edit)
      
              # Make requests module think that Text is a "file". This is the only way to force requests to send data as
              # multipart/form-data even if there are no attachments. Elog understands only multipart/form-data
              new_attachment_list.append(('Text', ('', message.encode('iso-8859-1'))))
      
              # Base attributes are common to all messages
              self._add_base_msg_attributes(attributes_to_edit)
      
              # Keys in attributes cannot have certain characters like whitespaces or dashes for the http request
              attributes_to_edit = _replace_special_characters_in_attribute_keys(attributes_to_edit)
      
              # All string values in the attributes must be encoded in latin1
              attributes_to_edit = _encode_values(attributes_to_edit)
      
              try:
      >           response = requests.post(self._url, data=attributes_to_edit, files=new_attachment_list,
                                           allow_redirects=False, verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:288: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:115: in post
          return request("post", url, data=data, json=json, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f213102b5e0>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21855a9250>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      self = <urllib3.connection.HTTPConnection object at 0x7f213128a340>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f213128aca0>
      method = 'GET', url = '/demo/None', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Cookie': 'unm=robot;upwd=me1T.2jUUqQNa1wNuey9zNBOmOa4eILOaPb.ZSZjpn4;'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/None', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f213128a340>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f213128aaf0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo/None', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f213128aca0>
      _stacktrace = <traceback object at 0x7f21311b0840>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f213102b130>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
      >           response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:581: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f213128aaf0>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
          def test_post():
              elog = get_test_elog()
      
              title = "AUTHOR_OVERRIDE_TEST"
              text = "This is a message"
              author = "robot"
      
      >       resp = elog.post(text, Author=author)
      
      tests/test_utils_elog.py:114: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      slic/utils/elog.py:16: in post
          return self._log.post(*args, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:307: in post
          self._check_if_message_on_server(msg_id)  # raises exceptions if no message or no response from server
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <elog.logbook.Logbook object at 0x7f213102b130>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
                  response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
                  # If there is no message code 200 will be returned (OK) and _validate_response will not recognise it
                  # but there will be some error in the html code.
                  resp_message, resp_headers, resp_msg_id = _validate_response(response)
                  # If there is no message, code 200 will be returned (OK) but there will be some error indication in
                  # the html code.
                  if re.findall('<td.*?class="errormsg".*?>.*?</td>',
                                resp_message.decode('utf-8', 'ignore'),
                                flags=re.DOTALL):
                      raise LogbookInvalidMessageID('Message with ID: ' + str(msg_id) + ' does not exist on logbook.')
      
              except requests.Timeout as e:
                  # Catch here a timeout o the post request.
                  # Raise the logbook exception and let the user handle it
                  raise LogbookServerTimeout('{0} method cannot be completed because of a network timeout:\n' +
                                             '{1}'.format(sys._getframe().f_code.co_name, e))
      
              except requests.RequestException as e:
      >           raise LogbookServerProblem('No response from the logbook server.\nDetails: ' + '{0}'.format(e))
      E           elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      E           Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f213128a340>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:601: LogbookServerProblem
      

      📌 Teardown phase

      duration:

      0.0002238992601633072
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_with_direct_password_and_real_check

    • Test 161

      📌 Setup phase

      duration:

      0.00013531232252717018
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005187573377043009
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21311154f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 54
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f21311154f0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131115dc0>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f21311154f0>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f21311154f0>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2130f50280>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21311154f0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131115dc0>
      _stacktrace = <traceback object at 0x7f2130f65640>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21311154f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
          def test_get_default_elog_instance_with_direct_password_and_real_check():
              url = "http://localhost:8080/demo"
              user = "robot"
              password = "testpassword"
      
              elog_instance, returned_user = get_default_elog_instance(url, user=user, password=password)
      
              assert returned_user == user
              assert hasattr(elog_instance, "post")
      
      >       r = requests.get(url, auth=(user, password))
      
      tests/test_utils_elog.py:54: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2130f50280>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f21311154f0>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.0002231840044260025
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_asks_password_and_opens

    • Test 162

      📌 Setup phase

      duration:

      0.00014508329331874847
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005951678846031427
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131ab3610>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 72
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f2131ab3610>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131ab32e0>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f2131ab3610>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2131ab3610>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2131ab3d30>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131ab3610>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131ab32e0>
      _stacktrace = <traceback object at 0x7f2131103ec0>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131ab3610>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      mock_home = <MagicMock name='home' id='139780533044992'>
      mock_getpass = <MagicMock name='getpass' id='139780535305168'>
      
          @patch("slic.utils.elog.getpass")
          @patch("slic.utils.elog.Path.home")
          def test_get_default_elog_instance_asks_password_and_opens(mock_home, mock_getpass):
              mock_home.return_value = Path("/does/not/exist")  # Fausse home → lecture échoue
              mock_getpass.return_value = "testpassword"
      
              url = "http://localhost:8080/demo"
              user = "robot"
      
              elog_instance, returned_user = get_default_elog_instance(url, user=user)
      
              assert returned_user == user
              assert hasattr(elog_instance, "post")
      
      >       r = requests.get(url, auth=(user, mock_getpass.return_value))
      
      tests/test_utils_elog.py:72: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2131ab3d30>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131ab3610>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.00022700801491737366
      

      outcome:

      passed
      

    Function: test_get_default_elog_with_path_home

    • Test 163

      📌 Setup phase

      duration:

      0.00013934075832366943
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0066883377730846405
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
      lineno: 700
      message: requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184f11a00>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 99
        message: None
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 73
        message: in get
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/api.py
        lineno: 59
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 589
        message: in request
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py
        lineno: 703
        message: in send
      -   path: .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py
        lineno: 700
        message: ConnectionError
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f2184f11a00>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2184f11af0>
      method = 'GET', url = '/demo', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Authorization': 'Basic cm9ib3Q6dGVzdHBhc3N3b3Jk'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f2184f11a00>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2184f11a00>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2184f11730>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184f11a00>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2184f11af0>
      _stacktrace = <traceback object at 0x7f2131b01e80>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184f11a00>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      mock_home = <MagicMock name='home' id='139780544317856'>
      mock_getuser = <MagicMock name='getuser' id='139780533650288'>
      mock_getpass = <MagicMock name='getpass' id='139780533963936'>
      
          @patch("slic.utils.elog.getpass")
          @patch("slic.utils.elog.getuser")
          @patch("slic.utils.elog.Path.home")
          def test_get_default_elog_with_path_home(mock_home, mock_getuser, mock_getpass):
              fake_user = "robot"
              fake_pw = "testpassword"
              mock_getuser.return_value = fake_user
              mock_getpass.return_value = fake_pw  # fallback safety
      
              tmp_home = Path("/tmp/fake_home_for_robot")
              tmp_home.mkdir(parents=True, exist_ok=True)
              pw_file = tmp_home / ".elog_psi"
              pw_file.write_text(fake_pw)
              mock_home.return_value = tmp_home
      
              url = "http://localhost:8080/demo"
      
              try:
                  elog_instance, returned_user = get_default_elog_instance(url)
      
                  assert returned_user == fake_user
                  assert hasattr(elog_instance, "post")
      
      >           r = requests.get(url, auth=(fake_user, fake_pw))
      
      tests/test_utils_elog.py:99: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2184f11730>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = True
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2184f11a00>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      

      📌 Teardown phase

      duration:

      0.00028896285220980644
      

      outcome:

      passed
      

    Function: test_screenshot

    • Test 164

      📌 Setup phase

      duration:

      0.00014475081115961075
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00896908389404416
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
      lineno: 601
      message: elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused'))
      

      traceback:

      -   path: tests/test_utils_elog.py
        lineno: 137
        message: None
      -   path: slic/utils/elog.py
        lineno: 21
        message: in screenshot
      -   path: slic/utils/elog.py
        lineno: 16
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 307
        message: in post
      -   path: .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py
        lineno: 601
        message: LogbookServerProblem
      

      longrepr:

      self = <urllib3.connection.HTTPConnection object at 0x7f212d62dd90>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2185ead190>
      method = 'POST', url = '/demo/'
      body = b'--3e92fd86062f2bbec6e9d95c9983b87b\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--3e92fd86062f2b...-data; name="Text"; filename=""\r\n\r\nSCREENSHOT_INTEGRATION_TEST_MSG_456\r\n--3e92fd86062f2bbec6e9d95c9983b87b--\r\n'
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Content-Length': '885', 'Content-Type': 'multipart/form-data; boundary=3e92fd86062f2bbec6e9d95c9983b87b'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f212d62dd90>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f212d62dd90>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2185ead100>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'POST', url = '/demo/', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f212d62dd90>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2185ead190>
      _stacktrace = <traceback object at 0x7f213100e7c0>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f212d62dd90>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f21310e8700>
      message = 'SCREENSHOT_INTEGRATION_TEST_MSG_456', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754516804, 'cmd': 'Submit', 'exp': 'demo', ...}
      attachments = ['/tmp/tmpk6vtl3yz.png'], suppress_email_notification = False
      encoding = None, timeout = None, kwargs = {'Author': 'robot'}
      new_attachment_list = [('attfile0', ('tmpk6vtl3yz.png', <_io.BufferedReader name='/tmp/tmpk6vtl3yz.png'>)), ('Text', ('', b'SCREENSHOT_INTEGRATION_TEST_MSG_456'))]
      objects_to_close = [<_io.BufferedReader name='/tmp/tmpk6vtl3yz.png'>]
      attributes_to_edit = {'Author': b'robot', 'When': 1754516804, 'cmd': b'Submit', 'exp': b'demo', ...}
      
          def post(self, message, msg_id=None, reply=False, attributes=None, attachments=None,
                   suppress_email_notification=False, encoding=None, timeout=None, **kwargs):
              """
              Posts message to the logbook. If msg_id is not specified new message will be created, otherwise existing
              message will be edited, or a reply (if reply=True) to it will be created. This method returns the msg_id
              of the newly created message.
      
              :param message: string with message text
              :param msg_id: ID number of message to edit or reply. If not specified new message is created.
              :param reply: If 'True' reply to existing message is created instead of editing it
              :param attributes: Dictionary of attributes. Following attributes are used internally by the elog and will be
                                 ignored: Text, Date, Encoding, Reply to, In reply to, Locked by, Attachment
              :param attachments: list of:
                                        - file like objects which read() will return bytes (if file_like_object.name is not
                                          defined, default name "attachment<i>" will be used.
                                        - paths to the files
                                  All items will be appended as attachment to the elog entry. In case of unknown
                                  attachment an exception LogbookInvalidAttachment will be raised.
              :param suppress_email_notification: If set to True or 1, E-Mail notification will be suppressed, defaults to False.
              :param encoding: Defines encoding of the message. Can be: 'plain' -> plain text, 'html'->html-text,
                               'ELCode' --> elog formatting syntax
              :param timeout: Define the timeout to be used by the post request. Its value is directly passed to the requests
                              post. Use None to disable the request timeout.
              :param kwargs: Anything in the kwargs will be interpreted as attribute. e.g.: logbook.post('Test text',
                             Author='Rok Vintar), "Author" will be sent as an attribute. If named same as one of the
                             attributes defined in "attributes", kwargs will have priority.
      
              :return: msg_id
              """
      
              attributes = attributes or {}
              attributes = {**attributes, **kwargs}  # kwargs as attributes with higher priority
      
              attachments = attachments or []
      
              if encoding is not None:
                  if encoding not in ['plain', 'HTML', 'ELCode']:
                      raise LogbookMessageRejected('Invalid message encoding. Valid options: plain, HTML, ELCode.')
                  attributes['Encoding'] = encoding
      
              if suppress_email_notification:
                  attributes["suppress"] = 1
      
              # THE ATTACHMENT STRATEGY WHEN DEALING WITH POST MODIFICATION
              #
              # 1. Does the message on the server have already attachments?
              #    1.1 - We read the message getting the existing attachment list.
              #    1.2 - Add to the attributes dictionary one line for each attachment like this:
              #       attributes['attachmentN'] = timestamped_filename_name
              #
              # 2. Do we have new attachments?
              #    2.1 - Those are in the new_attachment_list. This is a list of this type:
              #       [ ('attfileN', ('filename', fileobject)) ]
              #    2.2 - We need to loop over all the new attachments:
              #       2.2.1 - Does a file already on the server with the same name exist?
              #         2.2.1.1 - No: OK. Then we go ahead with the next attachment.
              #         2.2.1.2 - Yes:
              #           2.2.1.2.1 - Are the two files identical?
              #               2.2.1.2.1.1 - Yes: then we remove this current entry from the new_attachment_list and we leave the one
              #                      already on server.
              #               2.2.1.2.1.2 - No:
              #                  2.2.1.2.1.2.1 - Then the file has been update.
              #                  2.2.1.2.1.2.2 - We need to remove the file on server first (using special post)
              #                  2.2.1.2.1.2.3 - We have to remove the old attachment from the attributes dictionary.
              #
      
              if attachments:
                  # here we accomplish point 2.1.
                  # new_attachment_list is something like [ ('attfileN', ('filename', fileobject)) ]
                  new_attachment_list, objects_to_close = self._prepare_attachments(attachments)
              else:
                  objects_to_close = list()
                  new_attachment_list = list()
      
              attributes_to_edit = dict()
              if msg_id:
                  # Message exists, we can continue
                  if reply:
                      # Verify that there is a message on the server, otherwise do not reply to it!
                      self._check_if_message_on_server(msg_id)  # raises exception in case of none existing message
                      attributes['reply_to'] = str(msg_id)
                  else:  # Edit existing
                      attributes['edit_id'] = str(msg_id)
                      attributes['skiplock'] = '1'
      
                      # here we accomplish point 1.1.
                      # existing_attachments_list is something like:
                      # [ 'https://elog.url.com/logbook/timestamped_filename' ]
                      msg_to_edit, attributes_to_edit, existing_attachments_list = self.read(msg_id)
      
                      for attribute, data in attributes.items():
                          new_data = attributes.get(attribute)
                          if new_data is not None:
                              attributes_to_edit[attribute] = new_data
      
                      i = 0
                      existing_attachments_filename_list = list()
                      for attachment in existing_attachments_list:
                          # here we accomplish point 1.2. We strip the timestamped_filename from the whole URL.
                          attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
                          existing_attachments_filename_list.append(os.path.basename(attachment)[14:])
                          i += 1
      
                      # let's accomplish 2.2. Loop over all new attachment
                      duplicate_attachment_list = list()
                      for new_attachment in new_attachment_list:
                          # the new_attachment_list is something like:
                          # [ ('attfileN', ('filename', fileobject)) ]
                          new_attachment_filename = new_attachment[1][0]
                          if new_attachment_filename in existing_attachments_filename_list:
                              # a file with the same name existing already on the server.
                              # we need to check if the two files are the same.
                              # read the content of the new file
                              new_attachment_content = new_attachment[1][1].read()
                              # don't forget to reset the fileobj to the beginning of the file
                              new_attachment[1][1].seek(0)
                              # get the existing attachment content
                              attachment_index = existing_attachments_filename_list.index(new_attachment_filename)
                              existing_attachment_content = self.download_attachment(
                                  url=existing_attachments_list[attachment_index],
                                  timeout=timeout
                              )
                              # check if the two contents are the same
                              if new_attachment_content == existing_attachment_content:
                                  # yes. then we don't upload a second copy. we remove the current entry from the list
                                  duplicate_attachment_list.append(new_attachment)
                              else:
                                  # no. they are not the same file. we will replace the existing file with the new one
                                  # first: we need to remove the attachment from the server using the dedicated method
                                  self.delete_attachment(msg_id, attributes=attributes_to_edit,
                                                         attachment_id=attachment_index,
                                                         timeout=timeout, text=msg_to_edit)
                                  # now we can remove this attachment from the auxiliary lists.
                                  existing_attachments_filename_list.pop(attachment_index)
                                  existing_attachments_list.pop(attachment_index)
                                  # now we need to rebuild the attributes dictionary for the part concerning the attachments.
                                  # we remove all of them first
                                  keys_to_be_removed = list()
                                  for key in attributes_to_edit.keys():
                                      if key.startswith('attachment'):
                                          keys_to_be_removed.append(key)
                                      if key.startswith('delatt'):
                                          keys_to_be_removed.append(key)
                                  for key in keys_to_be_removed:
                                      del attributes_to_edit[key]
      
                                  # now we rebuild it
                                  for i, attachment in enumerate(existing_attachments_list):
                                      attributes_to_edit[f'attachment{i}'] = os.path.basename(attachment)
      
                      # remove all duplicate attachments from the new_attachment_list
                      for attach in duplicate_attachment_list:
                          new_attachment_list.remove(attach)
      
              else:
                  # As we create a new message, specify creation time if not already specified in attributes
                  if 'When' not in attributes:
                      attributes['When'] = int(datetime.now().timestamp())
      
              if not attributes_to_edit:
                  attributes_to_edit = attributes
      
              # Remove any attributes that should not be sent
              _remove_reserved_attributes(attributes_to_edit)
      
              # Make requests module think that Text is a "file". This is the only way to force requests to send data as
              # multipart/form-data even if there are no attachments. Elog understands only multipart/form-data
              new_attachment_list.append(('Text', ('', message.encode('iso-8859-1'))))
      
              # Base attributes are common to all messages
              self._add_base_msg_attributes(attributes_to_edit)
      
              # Keys in attributes cannot have certain characters like whitespaces or dashes for the http request
              attributes_to_edit = _replace_special_characters_in_attribute_keys(attributes_to_edit)
      
              # All string values in the attributes must be encoded in latin1
              attributes_to_edit = _encode_values(attributes_to_edit)
      
              try:
      >           response = requests.post(self._url, data=attributes_to_edit, files=new_attachment_list,
                                           allow_redirects=False, verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:288: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:115: in post
          return request("post", url, data=data, json=json, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f2185ead100>
      request = <PreparedRequest [POST]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/ (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f212d62dd90>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      self = <urllib3.connection.HTTPConnection object at 0x7f2131262040>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
      >           sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:199: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:85: in create_connection
          raise err
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      address = ('localhost', 8080), timeout = None, source_address = None
      socket_options = [(6, 1, 1)]
      
          def create_connection(
              address: tuple[str, int],
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              source_address: tuple[str, int] | None = None,
              socket_options: _TYPE_SOCKET_OPTIONS | None = None,
          ) -> socket.socket:
              """Connect to *address* and return the socket object.
      
              Convenience function.  Connect to *address* (a 2-tuple ``(host,
              port)``) and return the socket object.  Passing the optional
              *timeout* parameter will set the timeout on the socket instance
              before attempting to connect.  If no *timeout* is supplied, the
              global default timeout setting returned by :func:`socket.getdefaulttimeout`
              is used.  If *source_address* is set it must be a tuple of (host, port)
              for the socket to bind as a source address before making the connection.
              An host of '' or port 0 tells the OS to use the default.
              """
      
              host, port = address
              if host.startswith("["):
                  host = host.strip("[]")
              err = None
      
              # Using the value from allowed_gai_family() in the context of getaddrinfo lets
              # us select whether to work with IPv4 DNS records, IPv6 records, or both.
              # The original create_connection function always returns all records.
              family = allowed_gai_family()
      
              try:
                  host.encode("idna")
              except UnicodeError:
                  raise LocationParseError(f"'{host}', label empty or too long") from None
      
              for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
                  af, socktype, proto, canonname, sa = res
                  sock = None
                  try:
                      sock = socket.socket(af, socktype, proto)
      
                      # If provided, set socket level options before connecting.
                      _set_socket_options(sock, socket_options)
      
                      if timeout is not _DEFAULT_TIMEOUT:
                          sock.settimeout(timeout)
                      if source_address:
                          sock.bind(source_address)
      >               sock.connect(sa)
      E               ConnectionRefusedError: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/connection.py:73: ConnectionRefusedError
      
      The above exception was the direct cause of the following exception:
      
      self = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131262e80>
      method = 'GET', url = '/demo/None', body = None
      headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive', 'Cookie': 'unm=robot;upwd=me1T.2jUUqQNa1wNuey9zNBOmOa4eILOaPb.ZSZjpn4;'}
      retries = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      redirect = False, assert_same_host = False
      timeout = Timeout(connect=None, read=None, total=None), pool_timeout = None
      release_conn = False, chunked = False, body_pos = None, preload_content = False
      decode_content = False, response_kw = {}
      parsed_url = Url(scheme=None, auth=None, host=None, port=None, path='/demo/None', query=None, fragment=None)
      destination_scheme = None, conn = None, release_this_conn = True
      http_tunnel_required = False, err = None, clean_exit = False
      
          def urlopen(  # type: ignore[override]
              self,
              method: str,
              url: str,
              body: _TYPE_BODY | None = None,
              headers: typing.Mapping[str, str] | None = None,
              retries: Retry | bool | int | None = None,
              redirect: bool = True,
              assert_same_host: bool = True,
              timeout: _TYPE_TIMEOUT = _DEFAULT_TIMEOUT,
              pool_timeout: int | None = None,
              release_conn: bool | None = None,
              chunked: bool = False,
              body_pos: _TYPE_BODY_POSITION | None = None,
              preload_content: bool = True,
              decode_content: bool = True,
              **response_kw: typing.Any,
          ) -> BaseHTTPResponse:
              """
              Get a connection from the pool and perform an HTTP request. This is the
              lowest level call for making a request, so you'll need to specify all
              the raw details.
      
              .. note::
      
                 More commonly, it's appropriate to use a convenience method
                 such as :meth:`request`.
      
              .. note::
      
                 `release_conn` will only behave as expected if
                 `preload_content=False` because we want to make
                 `preload_content=False` the default behaviour someday soon without
                 breaking backwards compatibility.
      
              :param method:
                  HTTP request method (such as GET, POST, PUT, etc.)
      
              :param url:
                  The URL to perform the request on.
      
              :param body:
                  Data to send in the request body, either :class:`str`, :class:`bytes`,
                  an iterable of :class:`str`/:class:`bytes`, or a file-like object.
      
              :param headers:
                  Dictionary of custom headers to send, such as User-Agent,
                  If-None-Match, etc. If None, pool headers are used. If provided,
                  these headers completely replace any pool-specific headers.
      
              :param retries:
                  Configure the number of retries to allow before raising a
                  :class:`~urllib3.exceptions.MaxRetryError` exception.
      
                  If ``None`` (default) will retry 3 times, see ``Retry.DEFAULT``. Pass a
                  :class:`~urllib3.util.retry.Retry` object for fine-grained control
                  over different types of retries.
                  Pass an integer number to retry connection errors that many times,
                  but no other types of errors. Pass zero to never retry.
      
                  If ``False``, then retries are disabled and any exception is raised
                  immediately. Also, instead of raising a MaxRetryError on redirects,
                  the redirect response will be returned.
      
              :type retries: :class:`~urllib3.util.retry.Retry`, False, or an int.
      
              :param redirect:
                  If True, automatically handle redirects (status codes 301, 302,
                  303, 307, 308). Each redirect counts as a retry. Disabling retries
                  will disable redirect, too.
      
              :param assert_same_host:
                  If ``True``, will make sure that the host of the pool requests is
                  consistent else will raise HostChangedError. When ``False``, you can
                  use the pool on an HTTP proxy and request foreign hosts.
      
              :param timeout:
                  If specified, overrides the default timeout for this one
                  request. It may be a float (in seconds) or an instance of
                  :class:`urllib3.util.Timeout`.
      
              :param pool_timeout:
                  If set and the pool is set to block=True, then this method will
                  block for ``pool_timeout`` seconds and raise EmptyPoolError if no
                  connection is available within the time period.
      
              :param bool preload_content:
                  If True, the response's body will be preloaded into memory.
      
              :param bool decode_content:
                  If True, will attempt to decode the body based on the
                  'content-encoding' header.
      
              :param release_conn:
                  If False, then the urlopen call will not release the connection
                  back into the pool once a response is received (but will release if
                  you read the entire contents of the response such as when
                  `preload_content=True`). This is useful if you're not preloading
                  the response's content immediately. You will need to call
                  ``r.release_conn()`` on the response ``r`` to return the connection
                  back into the pool. If None, it takes the value of ``preload_content``
                  which defaults to ``True``.
      
              :param bool chunked:
                  If True, urllib3 will send the body using chunked transfer
                  encoding. Otherwise, urllib3 will send the body using the standard
                  content-length form. Defaults to False.
      
              :param int body_pos:
                  Position to seek to in file-like body in the event of a retry or
                  redirect. Typically this won't need to be set because urllib3 will
                  auto-populate the value when needed.
              """
              parsed_url = parse_url(url)
              destination_scheme = parsed_url.scheme
      
              if headers is None:
                  headers = self.headers
      
              if not isinstance(retries, Retry):
                  retries = Retry.from_int(retries, redirect=redirect, default=self.retries)
      
              if release_conn is None:
                  release_conn = preload_content
      
              # Check host
              if assert_same_host and not self.is_same_host(url):
                  raise HostChangedError(self, url, retries)
      
              # Ensure that the URL we're connecting to is properly encoded
              if url.startswith("/"):
                  url = to_str(_encode_target(url))
              else:
                  url = to_str(parsed_url.url)
      
              conn = None
      
              # Track whether `conn` needs to be released before
              # returning/raising/recursing. Update this variable if necessary, and
              # leave `release_conn` constant throughout the function. That way, if
              # the function recurses, the original value of `release_conn` will be
              # passed down into the recursive call, and its value will be respected.
              #
              # See issue #651 [1] for details.
              #
              # [1] <https://github.com/urllib3/urllib3/issues/651>
              release_this_conn = release_conn
      
              http_tunnel_required = connection_requires_http_tunnel(
                  self.proxy, self.proxy_config, destination_scheme
              )
      
              # Merge the proxy headers. Only done when not using HTTP CONNECT. We
              # have to copy the headers dict so we can safely change it without those
              # changes being reflected in anyone else's copy.
              if not http_tunnel_required:
                  headers = headers.copy()  # type: ignore[attr-defined]
                  headers.update(self.proxy_headers)  # type: ignore[union-attr]
      
              # Must keep the exception bound to a separate variable or else Python 3
              # complains about UnboundLocalError.
              err = None
      
              # Keep track of whether we cleanly exited the except block. This
              # ensures we do proper cleanup in finally.
              clean_exit = False
      
              # Rewind body position, if needed. Record current position
              # for future rewinds in the event of a redirect/retry.
              body_pos = set_file_position(body, body_pos)
      
              try:
                  # Request a connection from the queue.
                  timeout_obj = self._get_timeout(timeout)
                  conn = self._get_conn(timeout=pool_timeout)
      
                  conn.timeout = timeout_obj.connect_timeout  # type: ignore[assignment]
      
                  # Is this a closed/new connection that requires CONNECT tunnelling?
                  if self.proxy is not None and http_tunnel_required and conn.is_closed:
                      try:
                          self._prepare_proxy(conn)
                      except (BaseSSLError, OSError, SocketTimeout) as e:
                          self._raise_timeout(
                              err=e, url=self.proxy.url, timeout_value=conn.timeout
                          )
                          raise
      
                  # If we're going to release the connection in ``finally:``, then
                  # the response doesn't need to know about the connection. Otherwise
                  # it will also try to release it and we'll have a double-release
                  # mess.
                  response_conn = conn if not release_conn else None
      
                  # Make the request on the HTTPConnection object
      >           response = self._make_request(
                      conn,
                      method,
                      url,
                      timeout=timeout_obj,
                      body=body,
                      headers=headers,
                      chunked=chunked,
                      retries=retries,
                      response_conn=response_conn,
                      preload_content=preload_content,
                      decode_content=decode_content,
                      **response_kw,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:789: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:495: in _make_request
          conn.request(
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:441: in request
          self.endheaders()
      .pixi/envs/default/lib/python3.8/http/client.py:1251: in endheaders
          self._send_output(message_body, encode_chunked=encode_chunked)
      .pixi/envs/default/lib/python3.8/http/client.py:1011: in _send_output
          self.send(msg)
      .pixi/envs/default/lib/python3.8/http/client.py:951: in send
          self.connect()
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:279: in connect
          self.sock = self._new_conn()
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <urllib3.connection.HTTPConnection object at 0x7f2131262040>
      
          def _new_conn(self) -> socket.socket:
              """Establish a socket connection and set nodelay settings on it.
      
              :return: New socket connection.
              """
              try:
                  sock = connection.create_connection(
                      (self._dns_host, self.port),
                      self.timeout,
                      source_address=self.source_address,
                      socket_options=self.socket_options,
                  )
              except socket.gaierror as e:
                  raise NameResolutionError(self.host, self, e) from e
              except SocketTimeout as e:
                  raise ConnectTimeoutError(
                      self,
                      f"Connection to {self.host} timed out. (connect timeout={self.timeout})",
                  ) from e
      
              except OSError as e:
      >           raise NewConnectionError(
                      self, f"Failed to establish a new connection: {e}"
                  ) from e
      E           urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connection.py:214: NewConnectionError
      
      The above exception was the direct cause of the following exception:
      
      self = <requests.adapters.HTTPAdapter object at 0x7f21852e5d60>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
      >           resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:667: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/connectionpool.py:843: in urlopen
          retries = retries.increment(
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = Retry(total=0, connect=None, read=False, redirect=None, status=None)
      method = 'GET', url = '/demo/None', response = None
      error = NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2131262e80>
      _stacktrace = <traceback object at 0x7f2131037080>
      
          def increment(
              self,
              method: str | None = None,
              url: str | None = None,
              response: BaseHTTPResponse | None = None,
              error: Exception | None = None,
              _pool: ConnectionPool | None = None,
              _stacktrace: TracebackType | None = None,
          ) -> Self:
              """Return a new Retry object with incremented retry counters.
      
              :param response: A response object, or None, if the server did not
                  return a response.
              :type response: :class:`~urllib3.response.BaseHTTPResponse`
              :param Exception error: An error encountered during the request, or
                  None if the response was received successfully.
      
              :return: A new ``Retry`` object.
              """
              if self.total is False and error:
                  # Disabled, indicate to re-raise the error.
                  raise reraise(type(error), error, _stacktrace)
      
              total = self.total
              if total is not None:
                  total -= 1
      
              connect = self.connect
              read = self.read
              redirect = self.redirect
              status_count = self.status
              other = self.other
              cause = "unknown"
              status = None
              redirect_location = None
      
              if error and self._is_connection_error(error):
                  # Connect retry?
                  if connect is False:
                      raise reraise(type(error), error, _stacktrace)
                  elif connect is not None:
                      connect -= 1
      
              elif error and self._is_read_error(error):
                  # Read retry?
                  if read is False or method is None or not self._is_method_retryable(method):
                      raise reraise(type(error), error, _stacktrace)
                  elif read is not None:
                      read -= 1
      
              elif error:
                  # Other retry?
                  if other is not None:
                      other -= 1
      
              elif response and response.get_redirect_location():
                  # Redirect retry?
                  if redirect is not None:
                      redirect -= 1
                  cause = "too many redirects"
                  response_redirect_location = response.get_redirect_location()
                  if response_redirect_location:
                      redirect_location = response_redirect_location
                  status = response.status
      
              else:
                  # Incrementing because of a server error like a 500 in
                  # status_forcelist and the given method is in the allowed_methods
                  cause = ResponseError.GENERIC_ERROR
                  if response and response.status:
                      if status_count is not None:
                          status_count -= 1
                      cause = ResponseError.SPECIFIC_ERROR.format(status_code=response.status)
                      status = response.status
      
              history = self.history + (
                  RequestHistory(method, url, error, status, redirect_location),
              )
      
              new_retry = self.new(
                  total=total,
                  connect=connect,
                  read=read,
                  redirect=redirect,
                  status=status_count,
                  other=other,
                  history=history,
              )
      
              if new_retry.is_exhausted():
                  reason = error or ResponseError(cause)
      >           raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
      E           urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/urllib3/util/retry.py:519: MaxRetryError
      
      During handling of the above exception, another exception occurred:
      
      self = <elog.logbook.Logbook object at 0x7f21310e8700>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
      >           response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:581: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:73: in get
          return request("get", url, params=params, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/api.py:59: in request
          return session.request(method=method, url=url, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:589: in request
          resp = self.send(prep, **send_kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/requests/sessions.py:703: in send
          r = adapter.send(request, **kwargs)
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <requests.adapters.HTTPAdapter object at 0x7f21852e5d60>
      request = <PreparedRequest [GET]>, stream = False
      timeout = Timeout(connect=None, read=None, total=None), verify = False
      cert = None, proxies = OrderedDict()
      
          def send(
              self, request, stream=False, timeout=None, verify=True, cert=None, proxies=None
          ):
              """Sends PreparedRequest object. Returns Response object.
      
              :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.
              :param stream: (optional) Whether to stream the request content.
              :param timeout: (optional) How long to wait for the server to send
                  data before giving up, as a float, or a :ref:`(connect timeout,
                  read timeout) <timeouts>` tuple.
              :type timeout: float or tuple or urllib3 Timeout object
              :param verify: (optional) Either a boolean, in which case it controls whether
                  we verify the server's TLS certificate, or a string, in which case it
                  must be a path to a CA bundle to use
              :param cert: (optional) Any user-provided SSL certificate to be trusted.
              :param proxies: (optional) The proxies dictionary to apply to the request.
              :rtype: requests.Response
              """
      
              try:
                  conn = self.get_connection_with_tls_context(
                      request, verify, proxies=proxies, cert=cert
                  )
              except LocationValueError as e:
                  raise InvalidURL(e, request=request)
      
              self.cert_verify(conn, request.url, verify, cert)
              url = self.request_url(request, proxies)
              self.add_headers(
                  request,
                  stream=stream,
                  timeout=timeout,
                  verify=verify,
                  cert=cert,
                  proxies=proxies,
              )
      
              chunked = not (request.body is None or "Content-Length" in request.headers)
      
              if isinstance(timeout, tuple):
                  try:
                      connect, read = timeout
                      timeout = TimeoutSauce(connect=connect, read=read)
                  except ValueError:
                      raise ValueError(
                          f"Invalid timeout {timeout}. Pass a (connect, read) timeout tuple, "
                          f"or a single float to set both timeouts to the same value."
                      )
              elif isinstance(timeout, TimeoutSauce):
                  pass
              else:
                  timeout = TimeoutSauce(connect=timeout, read=timeout)
      
              try:
                  resp = conn.urlopen(
                      method=request.method,
                      url=url,
                      body=request.body,
                      headers=request.headers,
                      redirect=False,
                      assert_same_host=False,
                      preload_content=False,
                      decode_content=False,
                      retries=self.max_retries,
                      timeout=timeout,
                      chunked=chunked,
                  )
      
              except (ProtocolError, OSError) as err:
                  raise ConnectionError(err, request=request)
      
              except MaxRetryError as e:
                  if isinstance(e.reason, ConnectTimeoutError):
                      # TODO: Remove this in 3.0.0: see #2811
                      if not isinstance(e.reason, NewConnectionError):
                          raise ConnectTimeout(e, request=request)
      
                  if isinstance(e.reason, ResponseError):
                      raise RetryError(e, request=request)
      
                  if isinstance(e.reason, _ProxyError):
                      raise ProxyError(e, request=request)
      
                  if isinstance(e.reason, _SSLError):
                      # This branch is for urllib3 v1.22 and later.
                      raise SSLError(e, request=request)
      
      >           raise ConnectionError(e, request=request)
      E           requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/requests/adapters.py:700: ConnectionError
      
      During handling of the above exception, another exception occurred:
      
      mock_screenshot_class = <MagicMock name='Screenshot' id='139780533287088'>
      
          @patch("slic.utils.elog.Screenshot")
          def test_screenshot(mock_screenshot_class):
              with tempfile.NamedTemporaryFile(delete=False, suffix=".png") as tmp:
                  fake_path = tmp.name
                  tmp.write(b"fake image data")
      
              mock_instance = mock_screenshot_class.return_value
              mock_instance.shoot.return_value = [fake_path]
      
              elog = get_test_elog()
      
              test_msg = "SCREENSHOT_INTEGRATION_TEST_MSG_456"
      >       entry_id = elog.screenshot(message=test_msg)
      
      tests/test_utils_elog.py:137: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      slic/utils/elog.py:21: in screenshot
          self.post(message, **kwargs)
      slic/utils/elog.py:16: in post
          return self._log.post(*args, **kwargs)
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:307: in post
          self._check_if_message_on_server(msg_id)  # raises exceptions if no message or no response from server
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      self = <elog.logbook.Logbook object at 0x7f21310e8700>, msg_id = None
      timeout = None
      
          def _check_if_message_on_server(self, msg_id, timeout=None):
              """Try to load page for specific message. If there is a html tag like <td class="errormsg"> then there is no
              such message.
      
              :param msg_id: ID of message to be checked
              :params timeout: The value of timeout to be passed to the get request
              :return:
              """
      
              request_headers = dict()
              if self._user or self._password:
                  request_headers['Cookie'] = self._make_user_and_pswd_cookie()
              try:
                  response = requests.get(self._url + str(msg_id), headers=request_headers, allow_redirects=False,
                                          verify=False, timeout=timeout)
      
                  # If there is no message code 200 will be returned (OK) and _validate_response will not recognise it
                  # but there will be some error in the html code.
                  resp_message, resp_headers, resp_msg_id = _validate_response(response)
                  # If there is no message, code 200 will be returned (OK) but there will be some error indication in
                  # the html code.
                  if re.findall('<td.*?class="errormsg".*?>.*?</td>',
                                resp_message.decode('utf-8', 'ignore'),
                                flags=re.DOTALL):
                      raise LogbookInvalidMessageID('Message with ID: ' + str(msg_id) + ' does not exist on logbook.')
      
              except requests.Timeout as e:
                  # Catch here a timeout o the post request.
                  # Raise the logbook exception and let the user handle it
                  raise LogbookServerTimeout('{0} method cannot be completed because of a network timeout:\n' +
                                             '{1}'.format(sys._getframe().f_code.co_name, e))
      
              except requests.RequestException as e:
      >           raise LogbookServerProblem('No response from the logbook server.\nDetails: ' + '{0}'.format(e))
      E           elog.logbook_exceptions.LogbookServerProblem: No response from the logbook server.
      E           Details: HTTPConnectionPool(host='localhost', port=8080): Max retries exceeded with url: /demo/None (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f2131262040>: Failed to establish a new connection: [Errno 111] Connection refused'))
      
      .pixi/envs/default/lib/python3.8/site-packages/elog/logbook.py:601: LogbookServerProblem
      

      📌 Teardown phase

      duration:

      0.00027840491384267807
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_instantiation_fast_vs_epics

    • Test 217

      📌 Setup phase

      duration:

      0.00012470688670873642
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.1062618913128972
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 37
      message: AssertionError: Fast version (0.010116s) should be faster than EPICS (0.000272s)
      assert 0.010115887876600027 < 0.00027177417650818824
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 37
        message: AssertionError
      

      longrepr:

      def test_motor_instantiation_fast_vs_epics():
      
              fast_times = []
              slow_times = []
      
              # Mock to simulate a real EPICS moteur
              with patch('epics.Motor.get') as mock_get:
                  mock_get.return_value = 'motor'
      
                  # Mean of 10 runs
                  for _ in range(10):
                      t0 = time.perf_counter()
                      m_fast = Motor("TEST:MOTOR_t1")
                      t1 = time.perf_counter()
      
                      t2 = time.perf_counter()
                      m_slow = epics.Motor("TEST:MOTOR_t2")
                      t3 = time.perf_counter()
      
                      fast_times.append(t1 - t0)
                      slow_times.append(t3 - t2)
      
              avg_fast = sum(fast_times) / len(fast_times)
              avg_slow = sum(slow_times) / len(slow_times)
      
      >       assert avg_fast < avg_slow, f"Fast version ({avg_fast:.6f}s) should be faster than EPICS ({avg_slow:.6f}s)"
      E       AssertionError: Fast version (0.010116s) should be faster than EPICS (0.000272s)
      E       assert 0.010115887876600027 < 0.00027177417650818824
      
      tests/test_utils_hastyepics.py:37: AssertionError
      

      📌 Teardown phase

      duration:

      0.0004394170828163624
      

      outcome:

      passed
      

    Function: test_motor_without_suffix_and_dot

    • Test 218

      📌 Setup phase

      duration:

      0.0002237199805676937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0018404540605843067
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 42
      message: AssertionError: assert 'TEST:MOTOR_1.' == 'TEST:MOTOR_1'
      
        - TEST:MOTOR_1
        + TEST:MOTOR_1.
        ?             +
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 42
        message: AssertionError
      

      longrepr:

      def test_motor_without_suffix_and_dot():
              # Suffix .VAL ... dot should be stripped from name
              m1 = Motor("TEST:MOTOR_1.VAL")
      >       assert m1._prefix == "TEST:MOTOR_1"
      E       AssertionError: assert 'TEST:MOTOR_1.' == 'TEST:MOTOR_1'
      E         
      E         - TEST:MOTOR_1
      E         + TEST:MOTOR_1.
      E         ?             +
      
      tests/test_utils_hastyepics.py:42: AssertionError
      

      📌 Teardown phase

      duration:

      0.00015371711924672127
      

      outcome:

      passed
      

    Function: test_motor_initializes_device_attrs

    • Test 221

      📌 Setup phase

      duration:

      0.00010786391794681549
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014342493377625942
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 79
      message: AssertionError: VAL is not a valid PV object
      assert False
       +  where False = isinstance(None, <class 'epics.pv.PV'>)
       +    where <class 'epics.pv.PV'> = <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'>.PV
       +      where <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'> = epics.pv
      

      traceback:

      -   path: tests/test_utils_hastyepics.py
        lineno: 79
        message: AssertionError
      

      longrepr:

      def test_motor_initializes_device_attrs():
              # Check that Motor correctly initializes all Device PVs from _init_list
              m = Motor("TEST:MOTOR")
      
      
              print("_init_list contents:", m._init_list)
              print("All attributes on motor:", dir(m))
      
              for attr in m._init_list:
                  print(f"\nChecking attribute: {attr}")
                  assert hasattr(m, attr), f"Motor is missing attribute: {attr}"
                  pv = getattr(m, attr)
      
                  print(f"PV object: {pv}")
                  print("Type:", type(pv))
                  if pv is not None:
                      print(f"PV name: {pv.pvname}")
                      print(f"PV connected: {pv.connected}")
      
      >           assert isinstance(pv, epics.pv.PV), f"{attr} is not a valid PV object"
      E           AssertionError: VAL is not a valid PV object
      E           assert False
      E            +  where False = isinstance(None, <class 'epics.pv.PV'>)
      E            +    where <class 'epics.pv.PV'> = <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'>.PV
      E            +      where <module 'epics.pv' from '/workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pyepics-3.4.3-py3.9.egg/epics/pv.py'> = epics.pv
      
      tests/test_utils_hastyepics.py:79: AssertionError
      

      📌 Teardown phase

      duration:

      0.00015926873311400414
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_import_logging_once_per_module

    • Test 237

      📌 Setup phase

      duration:

      0.00013641314581036568
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.8449157853610814
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_logcfg.py
      lineno: 78
      message: AssertionError: Expected 1 import log for 'math', found 0
      assert 0 == 1
      

      traceback:

      -   path: tests/test_utils_logcfg.py
        lineno: 78
        message: AssertionError
      

      longrepr:

      def test_import_logging_once_per_module():
              code = textwrap.dedent("""
                  from slic.utils.logcfg import *
                  import math
                  import io
                  import random
              """)
      
              with tempfile.NamedTemporaryFile("w", suffix=".py", delete=False) as tmp:
                  tmp.write(code)
                  tmp_path = tmp.name
      
              env = os.environ.copy()
              root_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
              env["PYTHONPATH"] = root_path + os.pathsep + env.get("PYTHONPATH", "")
      
              result = subprocess.run([sys.executable, tmp_path], capture_output=True, text=True, env=env)
              os.remove(tmp_path)
      
              assert result.returncode == 0, f"Script failed:\n{result.stderr}"
      
              stderr = result.stderr
              print(stderr)
              lines = stderr.splitlines()
              for mod in ["math", "io", "random"]:
                  count = sum(1 for line in lines if f"importing: {mod}" in line)
      >           assert count == 1, f"Expected 1 import log for '{mod}', found {count}"
      E           AssertionError: Expected 1 import log for 'math', found 0
      E           assert 0 == 1
      
      tests/test_utils_logcfg.py:78: AssertionError
      

      📌 Teardown phase

      duration:

      0.00042102299630641937
      

      outcome:

      passed
      
  • 📄 test_utils_npy.py

    Function: test_nice_arange

    • Test 247
      params: start=5, stop=0, step=-1, expected="[5. 4. 3. 2. 1. 0.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 0
        step: -1
        expected: [5. 4. 3. 2. 1. 0.]
      id: 5-0--1-expected1
      

      📌 Setup phase

      duration:

      0.000395940151065588
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010857367888092995
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-06, atol=0
      
      Mismatched elements: 6 / 6 (100%)
      Max absolute difference: 5.
      Max relative difference: 3.
       x: array([0., 1., 2., 3., 4., 5.])
       y: array([5., 4., 3., 2., 1., 0.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 16
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 5, stop = 0, step = -1, expected = array([5., 4., 3., 2., 1., 0.])
      
          @pytest.mark.parametrize("start, stop, step, expected", [
              (0, 5, 1, np.linspace(0, 5, 6)),                       # regular integer step
              (5, 0, -1, np.linspace(5, 0, 6)),                      # reversed with negative step
              (1, 2, 0.3, np.linspace(1, 2, 4)),                     # step doesn't divide evenly
              (-2, 2, 1.5, np.linspace(-2, 2, 3)),                   # centered range
              (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)),            # reversed float
          ])
          def test_nice_arange(start, stop, step, expected):
      >       np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6)
      
      tests/test_utils_npy.py:16: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2131b5f790>, array([0., 1., 2., 3., 4., 5.]), array([5., 4., 3., 2., 1., 0.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-06, atol=0
      E           
      E           Mismatched elements: 6 / 6 (100%)
      E           Max absolute difference: 5.
      E           Max relative difference: 3.
      E            x: array([0., 1., 2., 3., 4., 5.])
      E            y: array([5., 4., 3., 2., 1., 0.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.0003344770520925522
      

      outcome:

      passed
      
    • Test 249
      params: start=-2, stop=2, step=1.5, expected="[-2. 0. 2.]"

      📌 Runtime Parameters

      params:
        start: -2
        stop: 2
        step: 1.5
        expected: [-2.  0.  2.]
      id: -2-2-1.5-expected3
      

      📌 Setup phase

      duration:

      0.00035826629027724266
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005484670400619507
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-06, atol=0
      
      (shapes (4,), (3,) mismatch)
       x: array([-2.      , -0.666667,  0.666667,  2.      ])
       y: array([-2.,  0.,  2.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 16
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = -2, stop = 2, step = 1.5, expected = array([-2.,  0.,  2.])
      
          @pytest.mark.parametrize("start, stop, step, expected", [
              (0, 5, 1, np.linspace(0, 5, 6)),                       # regular integer step
              (5, 0, -1, np.linspace(5, 0, 6)),                      # reversed with negative step
              (1, 2, 0.3, np.linspace(1, 2, 4)),                     # step doesn't divide evenly
              (-2, 2, 1.5, np.linspace(-2, 2, 3)),                   # centered range
              (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)),            # reversed float
          ])
          def test_nice_arange(start, stop, step, expected):
      >       np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6)
      
      tests/test_utils_npy.py:16: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f21312d1b80>, array([-2.        , -0.66666667,  0.66666667,  2.        ]), array([-2.,  0.,  2.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-06, atol=0
      E           
      E           (shapes (4,), (3,) mismatch)
      E            x: array([-2.      , -0.666667,  0.666667,  2.      ])
      E            y: array([-2.,  0.,  2.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023221410810947418
      

      outcome:

      passed
      
    • Test 250
      params: start=2.5, stop=0.5, step=-0.4, expected="[2.5 2.1 1.7 1.3 0.9 0.5]"

      📌 Runtime Parameters

      params:
        start: 2.5
        stop: 0.5
        step: -0.4
        expected: [2.5 2.1 1.7 1.3 0.9 0.5]
      id: 2.5-0.5--0.4-expected4
      

      📌 Setup phase

      duration:

      0.00036154361441731453
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009019849821925163
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-06, atol=0
      
      Mismatched elements: 6 / 6 (100%)
      Max absolute difference: 2.
      Max relative difference: 4.
       x: array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5])
       y: array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 16
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 2.5, stop = 0.5, step = -0.4
      expected = array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5])
      
          @pytest.mark.parametrize("start, stop, step, expected", [
              (0, 5, 1, np.linspace(0, 5, 6)),                       # regular integer step
              (5, 0, -1, np.linspace(5, 0, 6)),                      # reversed with negative step
              (1, 2, 0.3, np.linspace(1, 2, 4)),                     # step doesn't divide evenly
              (-2, 2, 1.5, np.linspace(-2, 2, 3)),                   # centered range
              (2.5, 0.5, -0.4, np.linspace(2.5, 0.5, 6)),            # reversed float
          ])
          def test_nice_arange(start, stop, step, expected):
      >       np.testing.assert_allclose(nice_arange(start, stop, step), expected, rtol=1e-6)
      
      tests/test_utils_npy.py:16: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f21312eb040>, array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5]), array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-06, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-06, atol=0
      E           
      E           Mismatched elements: 6 / 6 (100%)
      E           Max absolute difference: 2.
      E           Max relative difference: 4.
      E            x: array([0.5, 0.9, 1.3, 1.7, 2.1, 2.5])
      E            y: array([2.5, 2.1, 1.7, 1.3, 0.9, 0.5])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00021352805197238922
      

      outcome:

      passed
      

    Function: test_nice_steps_left_aligned

    • Test 262
      params: start=0, stop=5, step=2, endpoint=true, expected="[0. 2. 4. 6.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: True
        expected: [0. 2. 4. 6.]
      id: 0-5-2-True-expected0
      

      📌 Setup phase

      duration:

      0.0003750990144908428
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004952624440193176
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (3,), (4,) mismatch)
       x: array([0, 2, 4])
       y: array([0., 2., 4., 6.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 53
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 0, stop = 5, step = 2, endpoint = True
      expected = array([0., 2., 4., 6.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([0., 2., 4., 6.])),               # Normal case with endpoint overshooting
              (0, 5, 2, False, np.array([0., 2., 4.])),                  # No endpoint
              (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])),              # Needs fractional alignment to include stop
              (-1, 2, 1.5, False, np.array([-1., 0.5])),                 # Same range but no endpoint
              (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])),       # Step overshoots
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Backward steps with overshoot
              (5, 0, -2, False, np.array([5., 3., 1.])),                 # No endpoint, backward
          ])
          def test_nice_steps_left_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:53: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f6d8b0>, array([0, 2, 4]), array([0., 2., 4., 6.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (3,), (4,) mismatch)
      E            x: array([0, 2, 4])
      E            y: array([0., 2., 4., 6.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00022142380475997925
      

      outcome:

      passed
      
    • Test 263
      params: start=0, stop=5, step=2, endpoint=false, expected="[0. 2. 4.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: False
        expected: [0. 2. 4.]
      id: 0-5-2-False-expected1
      

      📌 Setup phase

      duration:

      0.0003897910937666893
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00047474494203925133
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (2,), (3,) mismatch)
       x: array([0, 2])
       y: array([0., 2., 4.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 53
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 0, stop = 5, step = 2, endpoint = False, expected = array([0., 2., 4.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([0., 2., 4., 6.])),               # Normal case with endpoint overshooting
              (0, 5, 2, False, np.array([0., 2., 4.])),                  # No endpoint
              (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])),              # Needs fractional alignment to include stop
              (-1, 2, 1.5, False, np.array([-1., 0.5])),                 # Same range but no endpoint
              (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])),       # Step overshoots
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Backward steps with overshoot
              (5, 0, -2, False, np.array([5., 3., 1.])),                 # No endpoint, backward
          ])
          def test_nice_steps_left_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:53: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2131b5fa60>, array([0, 2]), array([0., 2., 4.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (2,), (3,) mismatch)
      E            x: array([0, 2])
      E            y: array([0., 2., 4.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.0002502109855413437
      

      outcome:

      passed
      
    • Test 266
      params: start=-2, stop=1, step=1.2, endpoint=true, expected="[-2. -0.8 0.4 1.6]"

      📌 Runtime Parameters

      params:
        start: -2
        stop: 1
        step: 1.2
        endpoint: True
        expected: [-2.  -0.8  0.4  1.6]
      id: -2-1-1.2-True-expected4
      

      📌 Setup phase

      duration:

      0.0003896839916706085
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000505735632032156
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (3,), (4,) mismatch)
       x: array([-2. , -0.8,  0.4])
       y: array([-2. , -0.8,  0.4,  1.6])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 53
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = -2, stop = 1, step = 1.2, endpoint = True
      expected = array([-2. , -0.8,  0.4,  1.6])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([0., 2., 4., 6.])),               # Normal case with endpoint overshooting
              (0, 5, 2, False, np.array([0., 2., 4.])),                  # No endpoint
              (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])),              # Needs fractional alignment to include stop
              (-1, 2, 1.5, False, np.array([-1., 0.5])),                 # Same range but no endpoint
              (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])),       # Step overshoots
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Backward steps with overshoot
              (5, 0, -2, False, np.array([5., 3., 1.])),                 # No endpoint, backward
          ])
          def test_nice_steps_left_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:53: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f21312a2f70>, array([-2. , -0.8,  0.4]), array([-2. , -0.8,  0.4,  1.6]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (3,), (4,) mismatch)
      E            x: array([-2. , -0.8,  0.4])
      E            y: array([-2. , -0.8,  0.4,  1.6])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.0002403082326054573
      

      outcome:

      passed
      
    • Test 267
      params: start=5, stop=0, step=-2, endpoint=true, expected="[ 5. 3. 1. -1.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 0
        step: -2
        endpoint: True
        expected: [ 5.  3.  1. -1.]
      id: 5-0--2-True-expected5
      

      📌 Setup phase

      duration:

      0.0003728293813765049
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000489342026412487
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (3,), (4,) mismatch)
       x: array([0, 2, 4])
       y: array([ 5.,  3.,  1., -1.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 53
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 5, stop = 0, step = -2, endpoint = True
      expected = array([ 5.,  3.,  1., -1.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([0., 2., 4., 6.])),               # Normal case with endpoint overshooting
              (0, 5, 2, False, np.array([0., 2., 4.])),                  # No endpoint
              (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])),              # Needs fractional alignment to include stop
              (-1, 2, 1.5, False, np.array([-1., 0.5])),                 # Same range but no endpoint
              (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])),       # Step overshoots
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Backward steps with overshoot
              (5, 0, -2, False, np.array([5., 3., 1.])),                 # No endpoint, backward
          ])
          def test_nice_steps_left_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:53: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f6e5e0>, array([0, 2, 4]), array([ 5.,  3.,  1., -1.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (3,), (4,) mismatch)
      E            x: array([0, 2, 4])
      E            y: array([ 5.,  3.,  1., -1.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00022129295393824577
      

      outcome:

      passed
      
    • Test 268
      params: start=5, stop=0, step=-2, endpoint=false, expected="[5. 3. 1.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 0
        step: -2
        endpoint: False
        expected: [5. 3. 1.]
      id: 5-0--2-False-expected6
      

      📌 Setup phase

      duration:

      0.0005784220993518829
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006889719516038895
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (2,), (3,) mismatch)
       x: array([0, 2])
       y: array([5., 3., 1.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 53
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 5, stop = 0, step = -2, endpoint = False, expected = array([5., 3., 1.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([0., 2., 4., 6.])),               # Normal case with endpoint overshooting
              (0, 5, 2, False, np.array([0., 2., 4.])),                  # No endpoint
              (-1, 2, 1.5, True, np.array([-1., 0.5, 2.])),              # Needs fractional alignment to include stop
              (-1, 2, 1.5, False, np.array([-1., 0.5])),                 # Same range but no endpoint
              (-2, 1, 1.2, True, np.array([-2., -0.8, 0.4, 1.6])),       # Step overshoots
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Backward steps with overshoot
              (5, 0, -2, False, np.array([5., 3., 1.])),                 # No endpoint, backward
          ])
          def test_nice_steps_left_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_left_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:53: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f6e8b0>, array([0, 2]), array([5., 3., 1.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (2,), (3,) mismatch)
      E            x: array([0, 2])
      E            y: array([5., 3., 1.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023582205176353455
      

      outcome:

      passed
      

    Function: test_nice_steps_right_aligned

    • Test 269
      params: start=0, stop=5, step=2, endpoint=true, expected="[6. 4. 2. 0.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: True
        expected: [6. 4. 2. 0.]
      id: 0-5-2-True-expected0
      

      📌 Setup phase

      duration:

      0.0003817160613834858
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005059503018856049
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (3,), (4,) mismatch)
       x: array([1, 3, 5])
       y: array([6., 4., 2., 0.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 0, stop = 5, step = 2, endpoint = True
      expected = array([6., 4., 2., 0.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f6e700>, array([1, 3, 5]), array([6., 4., 2., 0.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (3,), (4,) mismatch)
      E            x: array([1, 3, 5])
      E            y: array([6., 4., 2., 0.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023230770602822304
      

      outcome:

      passed
      
    • Test 270
      params: start=0, stop=5, step=2, endpoint=false, expected="[4. 2. 0.]"

      📌 Runtime Parameters

      params:
        start: 0
        stop: 5
        step: 2
        endpoint: False
        expected: [4. 2. 0.]
      id: 0-5-2-False-expected1
      

      📌 Setup phase

      duration:

      0.00039294827729463577
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000499409157782793
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (2,), (3,) mismatch)
       x: array([3, 5])
       y: array([4., 2., 0.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 0, stop = 5, step = 2, endpoint = False, expected = array([4., 2., 0.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f9b280>, array([3, 5]), array([4., 2., 0.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (2,), (3,) mismatch)
      E            x: array([3, 5])
      E            y: array([4., 2., 0.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023976294323801994
      

      outcome:

      passed
      
    • Test 271
      params: start=-1, stop=2, step=1.5, endpoint=true, expected="[ 2. 0.5 -1. ]"

      📌 Runtime Parameters

      params:
        start: -1
        stop: 2
        step: 1.5
        endpoint: True
        expected: [ 2.   0.5 -1. ]
      id: -1-2-1.5-True-expected2
      

      📌 Setup phase

      duration:

      0.0003690570592880249
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000852684024721384
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      Mismatched elements: 2 / 3 (66.7%)
      Max absolute difference: 3.
      Max relative difference: 3.
       x: array([-1. ,  0.5,  2. ])
       y: array([ 2. ,  0.5, -1. ])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = -1, stop = 2, step = 1.5, endpoint = True
      expected = array([ 2. ,  0.5, -1. ])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f9b040>, array([-1. ,  0.5,  2. ]), array([ 2. ,  0.5, -1. ]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           Mismatched elements: 2 / 3 (66.7%)
      E           Max absolute difference: 3.
      E           Max relative difference: 3.
      E            x: array([-1. ,  0.5,  2. ])
      E            y: array([ 2. ,  0.5, -1. ])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023537501692771912
      

      outcome:

      passed
      
    • Test 272
      params: start=-1, stop=2, step=1.5, endpoint=false, expected="[ 0.5 -1. ]"

      📌 Runtime Parameters

      params:
        start: -1
        stop: 2
        step: 1.5
        endpoint: False
        expected: [ 0.5 -1. ]
      id: -1-2-1.5-False-expected3
      

      📌 Setup phase

      duration:

      0.0004066308028995991
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008445563726127148
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      Mismatched elements: 1 / 2 (50%)
      Max absolute difference: 3.
      Max relative difference: 3.
       x: array([0.5, 2. ])
       y: array([ 0.5, -1. ])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = -1, stop = 2, step = 1.5, endpoint = False
      expected = array([ 0.5, -1. ])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f6e700>, array([0.5, 2. ]), array([ 0.5, -1. ]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           Mismatched elements: 1 / 2 (50%)
      E           Max absolute difference: 3.
      E           Max relative difference: 3.
      E            x: array([0.5, 2. ])
      E            y: array([ 0.5, -1. ])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00024184538051486015
      

      outcome:

      passed
      
    • Test 273
      params: start=5, stop=0, step=-2, endpoint=true, expected="[ 5. 3. 1. -1.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 0
        step: -2
        endpoint: True
        expected: [ 5.  3.  1. -1.]
      id: 5-0--2-True-expected4
      

      📌 Setup phase

      duration:

      0.0003933301195502281
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000516924075782299
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (3,), (4,) mismatch)
       x: array([1, 3, 5])
       y: array([ 5.,  3.,  1., -1.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 5, stop = 0, step = -2, endpoint = True
      expected = array([ 5.,  3.,  1., -1.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f85dc0>, array([1, 3, 5]), array([ 5.,  3.,  1., -1.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (3,), (4,) mismatch)
      E            x: array([1, 3, 5])
      E            y: array([ 5.,  3.,  1., -1.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00022963527590036392
      

      outcome:

      passed
      
    • Test 274
      params: start=5, stop=0, step=-2, endpoint=false, expected="[ 3. 1. -1.]"

      📌 Runtime Parameters

      params:
        start: 5
        stop: 0
        step: -2
        endpoint: False
        expected: [ 3.  1. -1.]
      id: 5-0--2-False-expected5
      

      📌 Setup phase

      duration:

      0.0003782622516155243
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004812418483197689
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (2,), (3,) mismatch)
       x: array([3, 5])
       y: array([ 3.,  1., -1.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = 5, stop = 0, step = -2, endpoint = False
      expected = array([ 3.,  1., -1.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f9bdc0>, array([3, 5]), array([ 3.,  1., -1.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (2,), (3,) mismatch)
      E            x: array([3, 5])
      E            y: array([ 3.,  1., -1.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023665791377425194
      

      outcome:

      passed
      
    • Test 275
      params: start=-3, stop=3, step=2, endpoint=true, expected="[ 5. 3. 1. -1. -3.]"

      📌 Runtime Parameters

      params:
        start: -3
        stop: 3
        step: 2
        endpoint: True
        expected: [ 5.  3.  1. -1. -3.]
      id: -3-3-2-True-expected6
      

      📌 Setup phase

      duration:

      0.00039197783917188644
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004842258058488369
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/contextlib.py
      lineno: 75
      message: AssertionError: 
      Not equal to tolerance rtol=1e-07, atol=0
      
      (shapes (4,), (5,) mismatch)
       x: array([-3, -1,  1,  3])
       y: array([ 5.,  3.,  1., -1., -3.])
      

      traceback:

      -   path: tests/test_utils_npy.py
        lineno: 67
        message: None
      -   path: .pixi/envs/default/lib/python3.8/contextlib.py
        lineno: 75
        message: AssertionError
      

      longrepr:

      start = -3, stop = 3, step = 2, endpoint = True
      expected = array([ 5.,  3.,  1., -1., -3.])
      
          @pytest.mark.parametrize("start, stop, step, endpoint, expected", [
              (0, 5, 2, True, np.array([6., 4., 2., 0.])),               # Right-aligned, overshoots left
              (0, 5, 2, False, np.array([4., 2., 0.])),                  # Right-aligned, no endpoint
              (-1, 2, 1.5, True, np.array([2., 0.5, -1.])),              # Step doesn t divide evenly, reverse it
              (-1, 2, 1.5, False, np.array([0.5, -1.])),                 # Without endpoint
              (5, 0, -2, True, np.array([5., 3., 1., -1.])),             # Negative step, includes endpoint overshoot
              (5, 0, -2, False, np.array([3., 1., -1.])),                # No endpoint, skips last one
              (-3, 3, 2, True, np.array([5., 3., 1., -1., -3.])),        # Large symmetric range, reverse
          ])
          def test_nice_steps_right_aligned(start, stop, step, endpoint, expected):
      >       np.testing.assert_allclose(nice_steps_right_aligned(start, stop, step, endpoint), expected)
      
      tests/test_utils_npy.py:67: 
      _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
      
      args = (<function assert_allclose.<locals>.compare at 0x7f2130f855e0>, array([-3, -1,  1,  3]), array([ 5.,  3.,  1., -1., -3.]))
      kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'verbose': True}
      
          @wraps(func)
          def inner(*args, **kwds):
              with self._recreate_cm():
      >           return func(*args, **kwds)
      E           AssertionError: 
      E           Not equal to tolerance rtol=1e-07, atol=0
      E           
      E           (shapes (4,), (5,) mismatch)
      E            x: array([-3, -1,  1,  3])
      E            y: array([ 5.,  3.,  1., -1., -3.])
      
      .pixi/envs/default/lib/python3.8/contextlib.py:75: AssertionError
      

      📌 Teardown phase

      duration:

      0.0002215951681137085
      

      outcome:

      passed
      
  • 📄 test_utils_pv.py

    Function: test_put_with_progress_and_repr

    • Test 348
      params: value=0.0, expected_bar=" ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 0.0
        expected_bar:           
        expected_color: 
      id: 0.0-          -\x1b[32m
      

      📌 Setup phase

      duration:

      1.0022585010156035
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: START_TIME: value=2025-08-06 21:46:47.342478 alarm=NO_ALARM severity=NO_ALARM flag=True mask=7 time=1123364807.342510702
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.342598
        msecs: 342.59796142578125
        relativeCreated: 9654.44827079773
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=4 time=1123364807.343185843
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.3432114
        msecs: 343.21141242980957
        relativeCreated: 9655.061721801758
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.443636956
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.443769
        msecs: 443.7689781188965
        relativeCreated: 9755.619287490845
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.544358115
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.5444381
        msecs: 544.4381237030029
        relativeCreated: 9856.288433074951
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.645054364
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.6451297
        msecs: 645.1296806335449
        relativeCreated: 9956.979990005493
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.745674210
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.7457693
        msecs: 745.7692623138428
        relativeCreated: 10057.619571685791
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.846328768
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.846406
        msecs: 846.4059829711914
        relativeCreated: 10158.25629234314
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364807.946986529
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516807.947062
        msecs: 947.0620155334473
        relativeCreated: 10258.912324905396
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.47582776
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.0476596
        msecs: 47.65963554382324
        relativeCreated: 10359.509944915771
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.148224874
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.148299
        msecs: 148.298978805542
        relativeCreated: 10460.14928817749
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.248840580
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.248928
        msecs: 248.92807006835938
        relativeCreated: 10560.778379440308
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      

      📌 Call phase

      duration:

      0.014305517077445984
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '          ' not found in:
        [DEBUG] PUT start = 0.0, stop = 0.0
        [ 0 |██████████████████████████████| 0 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.349538158
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.349608
        msecs: 349.6079444885254
        relativeCreated: 10661.458253860474
        thread: 139780499052224
        threadName: Thread-3
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3520367
        msecs: 352.036714553833
        relativeCreated: 10663.887023925781
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3523185
        msecs: 352.31852531433105
        relativeCreated: 10664.16883468628
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.352429834
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3524523
        msecs: 352.45227813720703
        relativeCreated: 10664.302587509155
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3537626
        msecs: 353.7626266479492
        relativeCreated: 10665.612936019897
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.354185
        msecs: 354.1851043701172
        relativeCreated: 10666.035413742065
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.354251454
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.354266
        msecs: 354.2659282684326
        relativeCreated: 10666.11623764038
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 0.0, expected_bar = '          ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '          ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 0.0
      E         [ 0 |██████████████████████████████| 0 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00032445602118968964
      

      outcome:

      passed
      
    • Test 349
      params: value=25.0, expected_bar="██▌ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 25.0
        expected_bar: ██▌       
        expected_color: 
      id: 25.0-\u2588\u2588\u258c       -\x1b[32m
      

      📌 Setup phase

      duration:

      0.0003750207833945751
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0031601078808307648
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '██▌       ' not found in:
        [DEBUG] PUT start = 0.0, stop = 25.0
        [ 0 |                              | 25 ]   0
        [DEBUG] Callback called with value = 25.0
        [ 0 |██████████████████████████████| 25 ]   25
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3629026
        msecs: 362.9026412963867
        relativeCreated: 10674.752950668335
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3631902
        msecs: 363.1901741027832
        relativeCreated: 10675.040483474731
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.363307473
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3633318
        msecs: 363.33179473876953
        relativeCreated: 10675.182104110718
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.364033
        msecs: 364.0329837799072
        relativeCreated: 10675.883293151855
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=25.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3644278
        msecs: 364.4278049468994
        relativeCreated: 10676.278114318848
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=25.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.364506632
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3645234
        msecs: 364.52341079711914
        relativeCreated: 10676.373720169067
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 25.0, expected_bar = '██▌       ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '██▌       ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 25.0
      E         [ 0 |                              | 25 ]   0
      E         [DEBUG] Callback called with value = 25.0
      E         [ 0 |██████████████████████████████| 25 ]   25
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00027357274666428566
      

      outcome:

      passed
      
    • Test 350
      params: value=50.0, expected_bar="█████ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 50.0
        expected_bar: █████     
        expected_color: 
      id: 50.0-\u2588\u2588\u2588\u2588\u2588     -\x1b[32m
      

      📌 Setup phase

      duration:

      0.000428623054176569
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002974436618387699
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '█████     ' not found in:
        [DEBUG] PUT start = 0.0, stop = 50.0
        [ 0 |                              | 50 ]   0
        [DEBUG] Callback called with value = 50.0
        [ 0 |██████████████████████████████| 50 ]   50
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 25.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3721132
        msecs: 372.1132278442383
        relativeCreated: 10683.963537216187
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=25.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3723557
        msecs: 372.35569953918457
        relativeCreated: 10684.206008911133
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.372434952
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3724535
        msecs: 372.4534511566162
        relativeCreated: 10684.303760528564
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3732572
        msecs: 373.2571601867676
        relativeCreated: 10685.107469558716
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=50.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3736322
        msecs: 373.63219261169434
        relativeCreated: 10685.482501983643
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=50.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.373704191
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3737173
        msecs: 373.7173080444336
        relativeCreated: 10685.567617416382
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 50.0, expected_bar = '█████     ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '█████     ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 50.0
      E         [ 0 |                              | 50 ]   0
      E         [DEBUG] Callback called with value = 50.0
      E         [ 0 |██████████████████████████████| 50 ]   50
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00025858404114842415
      

      outcome:

      passed
      
    • Test 351
      params: value=75.0, expected_bar="███████▌ ", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 75.0
        expected_bar: ███████▌  
        expected_color: 
      id: 75.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  -\x1b[32m
      

      📌 Setup phase

      duration:

      0.0003446652553975582
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002823077142238617
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '███████▌  ' not found in:
        [DEBUG] PUT start = 0.0, stop = 75.0
        [ 0 |                              | 75 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 50.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3809073
        msecs: 380.9072971343994
        relativeCreated: 10692.757606506348
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=50.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3813477
        msecs: 381.34765625
        relativeCreated: 10693.197965621948
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.381416061
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3814309
        msecs: 381.43086433410645
        relativeCreated: 10693.281173706055
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3821776
        msecs: 382.17759132385254
        relativeCreated: 10694.0279006958
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=75.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3825066
        msecs: 382.5066089630127
        relativeCreated: 10694.356918334961
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=75.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.382563214
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3825755
        msecs: 382.57551193237305
        relativeCreated: 10694.425821304321
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 75.0, expected_bar = '███████▌  ', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '███████▌  ' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 75.0
      E         [ 0 |                              | 75 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00024192873388528824
      

      outcome:

      passed
      
    • Test 352
      params: value=100.0, expected_bar="██████████", expected_color="\u001b[32m"

      📌 Runtime Parameters

      params:
        value: 100.0
        expected_bar: ██████████
        expected_color: 
      id: 100.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588-\x1b[32m
      

      📌 Setup phase

      duration:

      0.00035333679988980293
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002393469214439392
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 62
      message: assert 75.0 == 0.0 ± 1.0e-12
      
        comparison failed
        Obtained: 75.0
        Expected: 0.0 ± 1.0e-12
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 62
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 75.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3894343
        msecs: 389.4343376159668
        relativeCreated: 10701.284646987915
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=75.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3898256
        msecs: 389.82558250427246
        relativeCreated: 10701.67589187622
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.389885706
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.3898988
        msecs: 389.89877700805664
        relativeCreated: 10701.749086380005
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3908794
        msecs: 390.87939262390137
        relativeCreated: 10702.72970199585
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 100.0, expected_bar = '██████████', expected_color = '\x1b[32m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
      >       assert pv.get() == pytest.approx(0.0)
      E       assert 75.0 == 0.0 ± 1.0e-12
      E         
      E         comparison failed
      E         Obtained: 75.0
      E         Expected: 0.0 ± 1.0e-12
      
      tests/test_utils_pv.py:62: AssertionError
      

      📌 Teardown phase

      duration:

      0.00025468599051237106
      

      outcome:

      passed
      
    • Test 353
      params: value=150.0, expected_bar=">>>>>>>>>>", expected_color="\u001b[31m"

      📌 Runtime Parameters

      params:
        value: 150.0
        expected_bar: >>>>>>>>>>
        expected_color: 
      id: 150.0->>>>>>>>>>-\x1b[31m
      

      📌 Setup phase

      duration:

      0.00034371018409729004
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0026590581983327866
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 81
      message: AssertionError: Expected bar '>>>>>>>>>>' not found in:
        [DEBUG] PUT start = 0.0, stop = 150.0
        [ 0 |                              | 150 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.3972573
        msecs: 397.25732803344727
        relativeCreated: 10709.107637405396
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3974595
        msecs: 397.4595069885254
        relativeCreated: 10709.309816360474
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.397534237
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.39755
        msecs: 397.550106048584
        relativeCreated: 10709.400415420532
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.398164
        msecs: 398.1640338897705
        relativeCreated: 10710.014343261719
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=150.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.3984737
        msecs: 398.47373962402344
        relativeCreated: 10710.324048995972
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=150.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.398529242
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.398541
        msecs: 398.5409736633301
        relativeCreated: 10710.391283035278
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = 150.0, expected_bar = '>>>>>>>>>>', expected_color = '\x1b[31m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
              assert pv.get() == pytest.approx(0.0)
      
              # Capture tous les prints dans une liste
              printed_lines = []
      
              def fake_print(*args, **kwargs):
                  line = " ".join(str(a) for a in args)
                  printed_lines.append(line)
      
              # Monkeypatch print uniquement dans ce contexte
              original_print = builtins.print
              builtins.print = fake_print
              try:
                  pv.put(value, show_progress=True)
              finally:
                  builtins.print = original_print
      
              # Vérifie que la bonne barre a été affichée au moins une fois
              matches = [line for line in printed_lines if f"|{expected_bar}|" in line]
      >       assert matches, f"Expected bar '{expected_bar}' not found in:\n" + "\n".join(printed_lines)
      E       AssertionError: Expected bar '>>>>>>>>>>' not found in:
      E         [DEBUG] PUT start = 0.0, stop = 150.0
      E         [ 0 |                              | 150 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00023632217198610306
      

      outcome:

      passed
      
    • Test 354
      params: value=-50.0, expected_bar="<<<<<<<<<<", expected_color="\u001b[31m"

      📌 Runtime Parameters

      params:
        value: -50.0
        expected_bar: <<<<<<<<<<
        expected_color: 
      id: -50.0-<<<<<<<<<<-\x1b[31m
      

      📌 Setup phase

      duration:

      0.00033549731597304344
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002608687151223421
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 62
      message: assert 150.0 == 0.0 ± 1.0e-12
      
        comparison failed
        Obtained: 150.0
        Expected: 0.0 ± 1.0e-12
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 62
        message: AssertionError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 150.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.405789
        msecs: 405.7888984680176
        relativeCreated: 10717.639207839966
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=150.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.4060795
        msecs: 406.0795307159424
        relativeCreated: 10717.92984008789
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123364808.406172992
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.4061882
        msecs: 406.1882495880127
        relativeCreated: 10718.038558959961
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.4074514
        msecs: 407.4513912200928
        relativeCreated: 10719.301700592041
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      value = -50.0, expected_bar = '<<<<<<<<<<', expected_color = '\x1b[31m'
      
          @pytest.mark.parametrize("value, expected_bar, expected_color", [
              (0.0, "          ", colorama.Fore.GREEN),
              (25.0, "██▌       ", colorama.Fore.GREEN),
              (50.0, "█████     ", colorama.Fore.GREEN),
              (75.0, "███████▌  ", colorama.Fore.GREEN),
              (100.0, "██████████", colorama.Fore.GREEN),
              (150.0, ">>>>>>>>>>", colorama.Fore.RED),
              (-50.0, "<<<<<<<<<<", colorama.Fore.RED)
          ])
          def test_put_with_progress_and_repr(value, expected_bar, expected_color):
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
      
              pv.put(0.0, wait=True)
      >       assert pv.get() == pytest.approx(0.0)
      E       assert 150.0 == 0.0 ± 1.0e-12
      E         
      E         comparison failed
      E         Obtained: 150.0
      E         Expected: 0.0 ± 1.0e-12
      
      tests/test_utils_pv.py:62: AssertionError
      

      📌 Teardown phase

      duration:

      0.00024017225950956345
      

      outcome:

      passed
      

    Function: test_use_callback_context_manager

    • Test 355

      📌 Setup phase

      duration:

      0.00016389461234211922
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0013062572106719017
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_pv.py
      lineno: 105
      message: AttributeError: 'PV' object has no attribute '_callbacks'
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 105
        message: AttributeError
      

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 0.0
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 649
        funcName: getValue
        created: 1754516808.4135563
        msecs: 413.5563373565674
        relativeCreated: 10725.406646728516
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: 374aff4e40fa root  old=0.0 new=0.0
        args: None
        levelname: INFO
        levelno: 20
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 549
        funcName: writeValue
        created: 1754516808.413875
        msecs: 413.8751029968262
        relativeCreated: 10725.725412368774
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123364808.413947715
        args: None
        levelname: DEBUG
        levelno: 10
        pathname: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/pcaspy/driver.py
        filename: driver.py
        module: driver
        exc_info: None
        exc_text: None
        stack_info: None
        lineno: 175
        funcName: setParam
        created: 1754516808.4139628
        msecs: 413.96284103393555
        relativeCreated: 10725.813150405884
        thread: 139780507444928
        threadName: Thread-4
        processName: MainProcess
        process: 1826
      

      longrepr:

      def test_use_callback_context_manager():
              pv = PV("TEST:VAL", connection_timeout=2.0)
              assert pv.wait_for_connection(timeout=2.0), "PV not connected"
              pv.put(0.0, wait=True)
      
              seen_values = []
      
              def callback(value=None, **kwargs):
                  seen_values.append(value)
      
      >       initial_count = len(pv._callbacks)
      E       AttributeError: 'PV' object has no attribute '_callbacks'
      
      tests/test_utils_pv.py:105: AttributeError
      

      📌 Teardown phase

      duration:

      0.00022573303431272507
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_float_alignment_in_bar

    • Test 454

      📌 Setup phase

      duration:

      0.00010755937546491623
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014876043424010277
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_tqdm_mod.py
      lineno: 130
      message: assert 3 == 1
       +  where 3 = len({50, 64, 65})
       +    where {50, 64, 65} = set([50, 64, 64, 65, 65])
      

      traceback:

      -   path: tests/test_utils_tqdm_mod.py
        lineno: 130
        message: AssertionError
      

      longrepr:

      def test_float_alignment_in_bar():
              # Capture the tqdm output into a string buffer
              f = io.StringIO()
              with redirect_stdout(f):
                  bar = tqdm_mod(total=100.12, desc="AlignBar", file=f, miniters=1, mininterval=0)
                  bar.set(1.3333)
                  bar.set(12.5)
                  bar.set(99.89)
                  bar.set(100.12)
                  bar.close()
      
              # Extract lines containing the label
              lines = extract_lines(f.getvalue(), "AlignBar")
      
              # Expected formatted values using format_sizeof
              expected_values = [
                  "1.3/100.1",
                  "12.5/100.1",
                  "99.9/100.1",
                  "100.1/100.1",
              ]
      
              # Extract the actual padded float/total strings from the full lines
              values = []
              for line in lines:
                  match = re.search(r"(\d{1,3}\.\d)/100\.1", line)
                  if match:
                      values.append(match.group(0))
      
              # Ensure raw 100.12 never appears : format_sizeof must have truncated it
              assert all("100.12" not in line for line in lines), "Unrounded value '100.12' found in output!"
      
              # Check all expected values appear rounded as expected by format_sizeof
              for expected in expected_values:
                  assert expected in values, f"Missing expected value: {expected}"
      
              # Check that all values are visually aligned, output with same length, to ensure that format_sizeof add the good number avec spaces
              print("\n")
              bar_segments = []
              for line in lines:
                  match = re.search(r".*?\]", line)
                  if match:
                      bar_segments.append(match.group(0))
                      print(match.group(0))
      
              lengths = [len(seg) for seg in bar_segments]
      >       assert len(set(lengths)) == 1
      E       assert 3 == 1
      E        +  where 3 = len({50, 64, 65})
      E        +    where {50, 64, 65} = set([50, 64, 64, 65, 65])
      
      tests/test_utils_tqdm_mod.py:130: AssertionError
      

      📌 Teardown phase

      duration:

      0.00015022559091448784
      

      outcome:

      passed
      

📚 Collected files

(1 tests)
    • Outcome: passed
    • result:
    -   nodeid: .
      type: Dir
    
ci-reports (13 tests)
  • ci-reports
    • Outcome: passed
    • result:
    -   nodeid: ci-reports/allure
      type: Dir
    -   nodeid: ci-reports/junit
      type: Dir
    -   nodeid: ci-reports/markdown
      type: Dir
    
    • 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
      
    • ci-reports/allure/data
      • Outcome: passed
      • result:
      -   nodeid: ci-reports/allure/data/test-cases
        type: Dir
      
    • ci-reports/allure/data/test-cases
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/export
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/history
      • Outcome: passed
      • result:
      []
      
    • 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
      
    • ci-reports/allure/plugin/behaviors
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/plugin/packages
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/plugin/screen-diff
      • Outcome: passed
      • result:
      []
      
    • ci-reports/allure/widgets
      • Outcome: passed
      • result:
      []
      
    • ci-reports/junit
      • Outcome: passed
      • result:
      []
      
    • ci-reports/markdown
      • Outcome: passed
      • result:
      []
      
morbidissimo (6 tests)
  • morbidissimo
    • Outcome: passed
    • result:
    -   nodeid: morbidissimo/morbidissimo
      type: Package
    
    • morbidissimo/morbidissimo
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/modman
        type: Package
      -   nodeid: morbidissimo/morbidissimo/morioc
        type: Package
      
    • morbidissimo/morbidissimo/modman
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/modman/scripts
        type: Dir
      
    • morbidissimo/morbidissimo/modman/scripts
      • Outcome: passed
      • result:
      []
      
    • morbidissimo/morbidissimo/morioc
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py
        type: Module
      
    • morbidissimo/morbidissimo/morioc/test_infer_type.py
      • Outcome: passed
      • result:
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_str
        type: Function
        lineno: 14
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_float
        type: Function
        lineno: 17
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_int
        type: Function
        lineno: 20
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_str
        type: Function
        lineno: 24
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_long_str
        type: Function
        lineno: 27
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_float
        type: Function
        lineno: 32
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_int
        type: Function
        lineno: 35
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_str
        type: Function
        lineno: 39
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_float
        type: Function
        lineno: 42
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_int
        type: Function
        lineno: 45
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_str
        type: Function
        lineno: 49
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_float
        type: Function
        lineno: 52
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_int
        type: Function
        lineno: 55
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_str
        type: Function
        lineno: 59
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_float
        type: Function
        lineno: 62
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_int
        type: Function
        lineno: 65
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_None
        type: Function
        lineno: 69
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_True
        type: Function
        lineno: 72
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_False
        type: Function
        lineno: 75
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_nan
        type: Function
        lineno: 78
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_nan
        type: Function
        lineno: 81
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_int
        type: Function
        lineno: 85
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_int
        type: Function
        lineno: 91
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_float
        type: Function
        lineno: 99
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_float
        type: Function
        lineno: 105
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_bool
        type: Function
        lineno: 114
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_object
        type: Function
        lineno: 119
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_int
        type: Function
        lineno: 126
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_float
        type: Function
        lineno: 131
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_bool
        type: Function
        lineno: 136
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_list
        type: Function
        lineno: 145
      -   nodeid: morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_tuple
        type: Function
        lineno: 150
      
outputs (1 tests)
  • outputs
    • Outcome: passed
    • result:
    []
    
slic (30 tests)
  • slic
    • Outcome: passed
    • result:
    -   nodeid: slic/core
      type: Package
    -   nodeid: slic/devices
      type: Package
    -   nodeid: slic/gui
      type: Package
    -   nodeid: slic/utils
      type: Package
    
    • 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
      
    • slic/core/acquisition
      • Outcome: passed
      • result:
      -   nodeid: slic/core/acquisition/broker
        type: Package
      
    • slic/core/acquisition/broker
      • Outcome: passed
      • result:
      []
      
    • slic/core/adjustable
      • Outcome: passed
      • result:
      []
      
    • slic/core/condition
      • Outcome: passed
      • result:
      []
      
    • slic/core/device
      • Outcome: passed
      • result:
      []
      
    • slic/core/scanner
      • Outcome: passed
      • result:
      []
      
    • slic/core/sensor
      • Outcome: passed
      • result:
      []
      
    • slic/core/task
      • Outcome: passed
      • result:
      []
      
    • 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
      
    • slic/devices/cameras
      • Outcome: passed
      • result:
      []
      
    • slic/devices/endstations
      • Outcome: passed
      • result:
      []
      
    • slic/devices/general
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/general/detectors
        type: Package
      -   nodeid: slic/devices/general/unused
        type: Dir
      
    • slic/devices/general/detectors
      • Outcome: passed
      • result:
      []
      
    • slic/devices/general/unused
      • Outcome: passed
      • result:
      []
      
    • slic/devices/loptics
      • Outcome: passed
      • result:
      []
      
    • slic/devices/timing
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/timing/events
        type: Package
      
    • slic/devices/timing/events
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xdiagnostics
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xoptics
      • Outcome: passed
      • result:
      -   nodeid: slic/devices/xoptics/slits
        type: Package
      -   nodeid: slic/devices/xoptics/unused
        type: Dir
      
    • slic/devices/xoptics/slits
      • Outcome: passed
      • result:
      []
      
    • slic/devices/xoptics/unused
      • Outcome: passed
      • result:
      []
      
    • slic/gui
      • Outcome: passed
      • result:
      -   nodeid: slic/gui/daqpanels
        type: Package
      -   nodeid: slic/gui/widgets
        type: Package
      
    • slic/gui/daqpanels
      • Outcome: passed
      • result:
      []
      
    • slic/gui/widgets
      • Outcome: passed
      • result:
      []
      
    • slic/utils
      • Outcome: passed
      • result:
      -   nodeid: slic/utils/ioc
        type: Package
      -   nodeid: slic/utils/unused
        type: Dir
      
    • slic/utils/ioc
      • Outcome: passed
      • result:
      []
      
    • slic/utils/unused
      • Outcome: passed
      • result:
      -   nodeid: slic/utils/unused/xsim
        type: Package
      
    • slic/utils/unused/xsim
      • Outcome: passed
      • result:
      []
      
temp-ci (1 tests)
  • temp-ci
    • Outcome: passed
    • result:
    []
    
tests (43 tests)
  • tests
    • Outcome: passed
    • result:
    -   nodeid: tests/test_utils_argfwd.py
      type: Module
    -   nodeid: tests/test_utils_ask_yes_no.py
      type: Module
    -   nodeid: tests/test_utils_channels.py
      type: Module
    -   nodeid: tests/test_utils_config.py
      type: Module
    -   nodeid: tests/test_utils_cpint.py
      type: Module
    -   nodeid: tests/test_utils_debug.py
      type: Module
    -   nodeid: tests/test_utils_dictext.py
      type: Module
    -   nodeid: tests/test_utils_dotdir.py
      type: Module
    -   nodeid: tests/test_utils_elog.py
      type: Module
    -   nodeid: tests/test_utils_eval.py
      type: Module
    -   nodeid: tests/test_utils_exceptions.py
      type: Module
    -   nodeid: tests/test_utils_get_adj.py
      type: Module
    -   nodeid: tests/test_utils_hastyepics.py
      type: Module
    -   nodeid: tests/test_utils_ipy.py
      type: Module
    -   nodeid: tests/test_utils_jsonext.py
      type: Module
    -   nodeid: tests/test_utils_lazypv.py
      type: Module
    -   nodeid: tests/test_utils_logcfg.py
      type: Module
    -   nodeid: tests/test_utils_logign.py
      type: Module
    -   nodeid: tests/test_utils_metaclasses.py
      type: Module
    -   nodeid: tests/test_utils_namespace.py
      type: Module
    -   nodeid: tests/test_utils_npy.py
      type: Module
    -   nodeid: tests/test_utils_path.py
      type: Module
    -   nodeid: tests/test_utils_picklio.py
      type: Module
    -   nodeid: tests/test_utils_printing.py
      type: Module
    -   nodeid: tests/test_utils_pv.py
      type: Module
    -   nodeid: tests/test_utils_rangebar.py
      type: Module
    -   nodeid: tests/test_utils_readable.py
      type: Module
    -   nodeid: tests/test_utils_registry.py
      type: Module
    -   nodeid: tests/test_utils_richcfg.py
      type: Module
    -   nodeid: tests/test_utils_run_later.py
      type: Module
    -   nodeid: tests/test_utils_sendmail.py
      type: Module
    -   nodeid: tests/test_utils_shortcut.py
      type: Module
    -   nodeid: tests/test_utils_snapshot.py
      type: Module
    -   nodeid: tests/test_utils_termtitle.py
      type: Module
    -   nodeid: tests/test_utils_tqdm_mod.py
      type: Module
    -   nodeid: tests/test_utils_trinary.py
      type: Module
    -   nodeid: tests/test_utils_typecast.py
      type: Module
    -   nodeid: tests/test_utils_utils.py
      type: Module
    -   nodeid: tests/test_utils_xrange.py
      type: Module
    
    • tests/test_utils_argfwd.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst0-2-expected0]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst1-1-expected1]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_split_at[lst2-0-expected2]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a0-b0-expected0]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a1-b1-expected1]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_lists_unique[a2-b2-expected2]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a0-b0-expected0]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a1-b1-expected1]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_merge_dicts_unique[a2-b2-expected2]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos0-expected_names0]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos1-expected_names1]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_pos_basic[pos2-expected_names2]
        type: Function
        lineno: 35
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw0-expected_keys0-expected_defaults0]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw1-expected_keys1-expected_defaults1]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_params_kw_basic[kw2-expected_keys2-expected_defaults2]
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos0-kw0-(x, y, z=3)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos1-kw1-(a, b=1, c=2)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_make_signature_parametrized[pos2-kw2-(flag=False)]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos0-expected_kw0]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos1-expected_kw1]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos2-expected_kw2]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_all-(a, b, d=30, c=10)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_skip-(a, b, c=10, d=20)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_signature_visible[wrap_ignore_all-(x, y, c=10, d=20)]
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args0-kwargs0-36]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args1-kwargs1-11]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_skip-args2-kwargs2-10]
        type: Function
        lineno: 112
      -   nodeid: tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_ignore_all-args3-kwargs3-10]
        type: Function
        lineno: 112
      
    • tests/test_utils_ask_yes_no.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-y-True-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-yes-True-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-n-False-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-no-False-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input4-True-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input5-False-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input6-True-Question? [y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-y-True-Question? [Y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-n-False-Question? [Y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[y--True-Question? [Y/n] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-y-True-Question? [y/N] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-n-False-Question? [y/N] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no[n--False-Question? [y/N] ]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-False-n]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-True-y]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-False-n]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-True-y]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-KeyboardInterrupt-False-n]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input5-False-n]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input6-True-y]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input7-False-None]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input8-False-None]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input9-False-Invalid]
        type: Function
        lineno: 46
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-False-n]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-True-y]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-y]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-True-y]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-n]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input5-True-y]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input6-False-n]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-None]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-None]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input9-True-None]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-user_input10-False-None]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input11-True-None]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input12-False-n]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input13-True-y]
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-invalid-None-user_input0-False]
        type: Function
        lineno: 117
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-None-notananswer-user_input1-True]
        type: Function
        lineno: 117
      -   nodeid: tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-n-nop-user_input2-False]
        type: Function
        lineno: 117
      
    • tests/test_utils_channels.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_channels.py::test_load_channels_and_channels_class_with_professional_names
        type: Function
        lineno: 42
      
    • tests/test_utils_config.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_config.py::test_config_with_nested_and_list_data
        type: Function
        lineno: 15
      -   nodeid: tests/test_utils_config.py::test_config_with_strange_and_edge_keys
        type: Function
        lineno: 73
      
    • tests/test_utils_cpint.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[red]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[blue]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[yellow]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[green]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[cyan]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[magenta]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[white]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[black]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects2-color_spec2- / -[] / {} / End-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects3-color_spec3-;-['', [3, 4]];done;0-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects7-color_spec7-==-['A', ['B']]==string==C-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects9-None-;-['no', 'color'];plain-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects10-None- | -['simple'] |  | 12-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects11-None- : -[['very', 'deep']] : {'ok': True}-None]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects12-color_spec12-|-['fail', 'color']|123-ValueError]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects13-color_spec13- * -['error'] * {}-ValueError]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects14-color_spec14-//-['nope']//['bad']-ValueError]
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects15-color_spec15----wrong--base-ValueError]
        type: Function
        lineno: 24
      
    • tests/test_utils_debug.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_debug.py::test_traceable[A-entry0-creating: A(10, 20)]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_debug.py::test_traceable[A-entry1-creating: A(10, 20, e=100)]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_debug.py::test_traceable[A-entry2-creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_debug.py::test_traceable[A-entry3-creating: A(CustomObj(big), [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], name='test', meta='yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy...)]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_debug.py::test_traceable[A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_debug.py::test_short_repr[abc-10-'abc']
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_debug.py::test_short_repr[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_debug.py::test_short_repr[12345-10-12345]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_debug.py::test_short_repr[value3-15-[0, 0, 0, 0, 0,...]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_debug.py::test_short_repr[None-10-None]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_debug.py::test_short_repr[value5-20-Obj(xxxxxxxxxxxxxxxxx...]
        type: Function
        lineno: 52
      
    • tests/test_utils_dictext.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data0-x-1]
        type: Function
        lineno: 12
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data1-world-ok]
        type: Function
        lineno: 12
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_getattr[data2-outer-expected2]
        type: Function
        lineno: 12
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_setattr[initial0-nouveau-123]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_setattr[initial1-b-valeur]
        type: Function
        lineno: 26
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_delattr[initial0-a-expected_keys0]
        type: Function
        lineno: 40
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_delattr[initial1-k-expected_keys1]
        type: Function
        lineno: 40
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_dir[data0-expected_keys0]
        type: Function
        lineno: 55
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_dir[data1-expected_keys1]
        type: Function
        lineno: 55
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data0-x-1-None]
        type: Function
        lineno: 69
      -   nodeid: tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data1-missing-None-'MyDict' object has no attribute 'missing']
        type: Function
        lineno: 69
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs0-None-kwargs0-expected0]
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs1-other1-kwargs1-expected1]
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs2-other2-kwargs2-expected2]
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs3-None-kwargs3-expected3]
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs4-other4-kwargs4-expected4]
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs5-other5-kwargs5-expected5]
        type: Function
        lineno: 90
      
    • tests/test_utils_dotdir.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_dotdir.py::test_dotdir_creation_and_base_exists
        type: Function
        lineno: 14
      -   nodeid: tests/test_utils_dotdir.py::test_dotdir_repr_returns_path_str
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_dotdir.py::test_dotdir_call
        type: Function
        lineno: 35
      
    • tests/test_utils_elog.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_elog.py::test_check_required_attributes
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_elog.py::test_post
        type: Function
        lineno: 106
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_with_direct_password_and_real_check
        type: Function
        lineno: 43
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_instance_asks_password_and_opens
        type: Function
        lineno: 57
      -   nodeid: tests/test_utils_elog.py::test_get_default_elog_with_path_home
        type: Function
        lineno: 75
      -   nodeid: tests/test_utils_elog.py::test_screenshot
        type: Function
        lineno: 124
      
    • tests/test_utils_eval.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2-3]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[4 - 2-2]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 * 5-15]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[10 / 2-5.0]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[10 % 3-1]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-5--5]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[+7-7]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2 * 3-7]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(1 + 2) * 3-9]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-3)-3]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-2 + 4 * 2-6]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(4 + 5) * (6 - 1)-45]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[(((3)))-3]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-(-2))--2]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + +4-7]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + -4--1]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[True + 1-2]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid['string'-string]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid[1e1000 * 1e1000-inf]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_valid['a' + 'b'-ab]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[2 ** 3-Unsupported BinOp Pow]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[3 << 1-Unsupported BinOp LShift]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[1 < 2-Unsupported node type Compare]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[abs(3)-Unsupported node type Call]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[a + 2-Unsupported node type Name]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[string-Unsupported node type Name]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[[1, 2] + [3]-Unsupported node type List]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[{1: 2}-Unsupported node type Dict]
        type: Function
        lineno: 33
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[1 / 0-ZeroDivisionError]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[10 % 0-ZeroDivisionError]
        type: Function
        lineno: 52
      -   nodeid: tests/test_utils_eval.py::test_forgiving_eval[1 + 2-3]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_eval.py::test_forgiving_eval[bad + 2-bad + 2]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_eval.py::test_forgiving_eval[1 / 0-1 / 0]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_eval.py::test_forgiving_eval[2 ** 10-2 ** 10]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_eval.py::test_defaulting_eval[3 * 4-0-12]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_eval.py::test_defaulting_eval[invalid + 1-99-99]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_eval.py::test_defaulting_eval[1 / 0--1--1]
        type: Function
        lineno: 71
      -   nodeid: tests/test_utils_eval.py::test_defaulting_eval[2 ** 10-42-42]
        type: Function
        lineno: 71
      
    • tests/test_utils_exceptions.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_key_error-High-level task failed\ncaused by KeyError: 'missing']
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_index_error-High-level task failed\ncaused by IndexError: list index out of range]
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_zero_division-High-level task failed\ncaused by ZeroDivisionError: division by zero]
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_value_error-High-level task failed\ncaused by ValueError: invalid literal for int() with base 10: 'not_a_number']
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_exceptions.py::test_chained_exception_various[cause_type_error-High-level task failed\ncaused by TypeError: can only concatenate str (not "int") to str]
        type: Function
        lineno: 28
      -   nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_key_error-KeyError: 'missing']
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_index_error-IndexError: list index out of range]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_zero_division-ZeroDivisionError: division by zero]
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_value_error-ValueError: invalid literal for int() with base 10: 'not_a_number']
        type: Function
        lineno: 60
      -   nodeid: tests/test_utils_exceptions.py::test_printed_exception[cause_type_error-TypeError: can only concatenate str (not "int") to str]
        type: Function
        lineno: 60
      
    • tests/test_utils_get_adj.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_get_adj.py::test_get_adj_success
        type: Function
        lineno: 23
      -   nodeid: tests/test_utils_get_adj.py::test_get_adj_not_found
        type: Function
        lineno: 27
      -   nodeid: tests/test_utils_get_adj.py::test_ensure_adjs_mixed
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_get_adj.py::test_get_adjs_filter
        type: Function
        lineno: 37
      
    • tests/test_utils_hastyepics.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_instantiation_fast_vs_epics
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_without_suffix_and_dot
        type: Function
        lineno: 38
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_invalid_name_raises
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_init_list_has_no_disabled
        type: Function
        lineno: 55
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_initializes_device_attrs
        type: Function
        lineno: 59
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_pv_connection_skipped_by_default
        type: Function
        lineno: 82
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_adds_all_extras_pvs
        type: Function
        lineno: 90
      -   nodeid: tests/test_utils_hastyepics.py::test_motor_PV_method_exists_and_works
        type: Function
        lineno: 109
      
    • tests/test_utils_ipy.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_ipy.py::test_devices_repr_fallback_and_ignore
        type: Function
        lineno: 19
      
    • tests/test_utils_jsonext.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj0-expected0]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj1-42]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[(1-1j)-expected2]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj3-/tmp/file.txt]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj4-expected4]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj5-expected5]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj6-expected6]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj7-expected7]
        type: Function
        lineno: 7
      
    • tests/test_utils_lazypv.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_lazypv.py::test_getattr
        type: Function
        lineno: 7
      
    • tests/test_utils_logcfg.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_logcfg.py::test_custom_log_outputs[LONG-<lambda>-This is a LONG message]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_logcfg.py::test_custom_log_outputs[ENLARGE-<lambda>-Please ENLARGE this!]
        type: Function
        lineno: 21
      -   nodeid: tests/test_utils_logcfg.py::test_import_logging_once_per_module
        type: Function
        lineno: 51
      
    • tests/test_utils_logign.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_logign.py::test_ignore_log_msg_behavior[WARNING-This should be ignored-This should appear]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_logign.py::test_ignore_log_msg_behavior[ENLARGE-ENLARGE this-Keep this ENLARGE]
        type: Function
        lineno: 9
      -   nodeid: tests/test_utils_logign.py::test_ignore_only_by_level
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_logign.py::test_ignore_only_by_msg
        type: Function
        lineno: 64
      -   nodeid: tests/test_utils_logign.py::test_filter_removed_after_context
        type: Function
        lineno: 86
      
    • tests/test_utils_metaclasses.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_metaclasses.py::test_combine_classes_combines_methods
        type: Function
        lineno: 14
      -   nodeid: tests/test_utils_metaclasses.py::test_registryabc_combines_registrymeta_and_abcmeta
        type: Function
        lineno: 25
      
    • tests/test_utils_namespace.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_namespace.py::test_namespace_pretty_repr_mixed_and_nested
        type: Function
        lineno: 4
      
    • tests/test_utils_npy.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_npy.py::test_nice_arange[0-5-1-expected0]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_npy.py::test_nice_arange[5-0--1-expected1]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_npy.py::test_nice_arange[1-2-0.3-expected2]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_npy.py::test_nice_arange[-2-2-1.5-expected3]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_npy.py::test_nice_arange[2.5-0.5--0.4-expected4]
        type: Function
        lineno: 7
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[0-10-4-expected0]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[5-15-2-expected1]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[-5-5-4-expected2]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[0-1-3-expected3]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[2-2-3-expected4]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[3-0-3-expected5]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_linspace[0-1-0-expected6]
        type: Function
        lineno: 18
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_centered[-2-2-2-True-expected0]
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-True-expected1]
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-False-expected2]
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_centered[-1-2-1.5-True-expected3]
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-True-expected0]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-False-expected1]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-True-expected2]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-False-expected3]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[-2-1-1.2-True-expected4]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-True-expected5]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-False-expected6]
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-True-expected0]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-False-expected1]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-True-expected2]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-False-expected3]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-True-expected4]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-False-expected5]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_nice_steps_right_aligned[-3-3-2-True-expected6]
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_npy.py::test_within_scalar[5-0-10-True]
        type: Function
        lineno: 70
      -   nodeid: tests/test_utils_npy.py::test_within_scalar[5-6-10-False]
        type: Function
        lineno: 70
      -   nodeid: tests/test_utils_npy.py::test_within_scalar[5-None-10-True]
        type: Function
        lineno: 70
      -   nodeid: tests/test_utils_npy.py::test_within_scalar[5-0-None-True]
        type: Function
        lineno: 70
      -   nodeid: tests/test_utils_npy.py::test_within_scalar[5-None-None-True]
        type: Function
        lineno: 70
      -   nodeid: tests/test_utils_npy.py::test_within_fraction[data0-2-5-0.6]
        type: Function
        lineno: 81
      -   nodeid: tests/test_utils_npy.py::test_within_fraction[data1-5-25-0.6666666666666666]
        type: Function
        lineno: 81
      -   nodeid: tests/test_utils_npy.py::test_within_fraction[data2-None-2-0.3333333333333333]
        type: Function
        lineno: 81
      -   nodeid: tests/test_utils_npy.py::test_within_fraction[data3-0-1-0]
        type: Function
        lineno: 81
      -   nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.456-1-45.6]
        type: Function
        lineno: 92
      -   nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.12345-2-12.35]
        type: Function
        lineno: 92
      -   nodeid: tests/test_utils_npy.py::test_fraction_to_percentage[0.9999-0-100.0]
        type: Function
        lineno: 92
      -   nodeid: tests/test_utils_npy.py::test_get_dtype[val0-ndarray]
        type: Function
        lineno: 101
      -   nodeid: tests/test_utils_npy.py::test_get_dtype[val1-list]
        type: Function
        lineno: 101
      -   nodeid: tests/test_utils_npy.py::test_get_dtype[3.14-float]
        type: Function
        lineno: 101
      -   nodeid: tests/test_utils_npy.py::test_get_shape[val0-expected0]
        type: Function
        lineno: 114
      -   nodeid: tests/test_utils_npy.py::test_get_shape[val1-expected1]
        type: Function
        lineno: 114
      -   nodeid: tests/test_utils_npy.py::test_get_shape[42-expected2]
        type: Function
        lineno: 114
      -   nodeid: tests/test_utils_npy.py::test_is_array[val0-True]
        type: Function
        lineno: 123
      -   nodeid: tests/test_utils_npy.py::test_is_array[val1-False]
        type: Function
        lineno: 123
      -   nodeid: tests/test_utils_npy.py::test_is_array[42-False]
        type: Function
        lineno: 123
      
    • tests/test_utils_path.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_path.py::test_can_create_all_files_user_says_yes
        type: Function
        lineno: 10
      -   nodeid: tests/test_utils_path.py::test_can_create_all_files_user_says_no
        type: Function
        lineno: 36
      -   nodeid: tests/test_utils_path.py::test_make_missing_dir_creates_folder
        type: Function
        lineno: 54
      -   nodeid: tests/test_utils_path.py::test_glob_files_returns_matching_files_only
        type: Function
        lineno: 66
      -   nodeid: tests/test_utils_path.py::test_filter_files_excludes_directories
        type: Function
        lineno: 83
      
    • tests/test_utils_picklio.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj0]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj1]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[simple string]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[42]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[3.14159]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj5]
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj6]
        type: Function
        lineno: 6
      
    • tests/test_utils_printing.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq0-3]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq1-0]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq2-3]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_printing.py::test_maxlen_valid[seq3-2]
        type: Function
        lineno: 8
      -   nodeid: tests/test_utils_printing.py::test_strlen[42-2]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[hello-5]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[False-5]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[None-4]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[value4-9]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[value5-8]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[value6-6]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[-0]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_strlen[this is a phrase-16]
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_printing.py::test_maxstrlen[seq0-6]
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_printing.py::test_maxstrlen[seq1-3]
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_printing.py::test_maxstrlen[seq2-9]
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_printing.py::test_maxstrlen[seq3-16]
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_printing.py::test_maxstrlen[seq4-5]
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_printing.py::test_transpose_matrix[data0-expected0]
        type: Function
        lineno: 41
      -   nodeid: tests/test_utils_printing.py::test_transpose_matrix[data1-expected1]
        type: Function
        lineno: 41
      -   nodeid: tests/test_utils_printing.py::test_transpose_matrix[data2-expected2]
        type: Function
        lineno: 41
      -   nodeid: tests/test_utils_printing.py::test_prepend[initial0-1-expected0]
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_printing.py::test_prepend[initial1-a-expected1]
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_printing.py::test_prepend[initial2-prepend2-expected2]
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_printing.py::test_prepend[initial3-prepend3-expected3]
        type: Function
        lineno: 50
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries0-widths0-  a   bbb]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries1-widths1- 1  2]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries2-widths2-  long  val]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries3-widths3- True  False]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries4-widths4-  123  4567]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries5-widths5- text with space   end]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries6-widths6-  {'a': 1}   {'b': 2}]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_table_line[entries7-widths7-    [1, 2]     [3, 4]]
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths0------ ----]
        type: Function
        lineno: 74
      -   nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths1-=-== ===]
        type: Function
        lineno: 74
      -   nodeid: tests/test_utils_printing.py::test_fmt_label_sep[widths2-*-***** **]
        type: Function
        lineno: 74
      -   nodeid: tests/test_utils_printing.py::test_printable_dict_with_header[d0-HeaderTest-expected_lines0]
        type: Function
        lineno: 82
      -   nodeid: tests/test_utils_printing.py::test_printable_dict_of_dicts
        type: Function
        lineno: 101
      -   nodeid: tests/test_utils_printing.py::test_printable_table[data0-labels0-A: ID\nB: \u2713 Success?\nC: SuperPrecisionValue\nD: Result Metadata\n\n#             A     B          C                            D\n- ------------- ----- ---------- ----------------------------\n0            X1  True     0.1234               {'meta': 'ok'}\n1 AnotherSample False 98765.4321          {'meta': [1, 2, 3]}\n2             Z  None        0.0 {'meta': {'nested_key': 42}}]
        type: Function
        lineno: 128
      
    • tests/test_utils_pv.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[0.0-          -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[25.0-\u2588\u2588\u258c       -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[50.0-\u2588\u2588\u2588\u2588\u2588     -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[75.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  -\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[100.0-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588-\x1b[32m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[150.0->>>>>>>>>>-\x1b[31m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_put_with_progress_and_repr[-50.0-<<<<<<<<<<-\x1b[31m]
        type: Function
        lineno: 47
      -   nodeid: tests/test_utils_pv.py::test_use_callback_context_manager
        type: Function
        lineno: 94
      
    • tests/test_utils_rangebar.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_rangebar.py::test_full_progress_bar
        type: Function
        lineno: 14
      -   nodeid: tests/test_utils_rangebar.py::test_half_progress_bar
        type: Function
        lineno: 27
      -   nodeid: tests/test_utils_rangebar.py::test_zero_progress_bar
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_rangebar.py::test_overflow_bar
        type: Function
        lineno: 56
      -   nodeid: tests/test_utils_rangebar.py::test_underflow_bar
        type: Function
        lineno: 69
      -   nodeid: tests/test_utils_rangebar.py::test_repr
        type: Function
        lineno: 82
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[0-          ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[10-\u2588         ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[25-\u2588\u2588\u258c       ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[27-\u2588\u2588\u258a       ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[49-\u2588\u2588\u2588\u2588\u2589     ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[50-\u2588\u2588\u2588\u2588\u2588     ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[51-\u2588\u2588\u2588\u2588\u2588\u258f    ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[73-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e  ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[75-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c  ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[90-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 ]
        type: Function
        lineno: 89
      -   nodeid: tests/test_utils_rangebar.py::test_each_value_separately[100-\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588]
        type: Function
        lineno: 89
      
    • tests/test_utils_readable.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59.4-59 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59.9-60 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[119.9-120 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[120.1-2 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3599.9-60 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3600.1-60 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[7199.9-120 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[7200.1-2 hours]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[90.4-90 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[90.6-91 seconds]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[121.9-2 minutes]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[1296000.0-2 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[2592000.0-4 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[2800000.0-5 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[3888000.0-6 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5097600.0-8 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5184000.0-9 weeks]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[5270400.0-2 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[23328000.0-9 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[31104000.0-12 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[33696000.0-13 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[59616000.0-23 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[62208000.0-24 months]
        type: Function
        lineno: 3
      -   nodeid: tests/test_utils_readable.py::test_readable_seconds[64208000.0-2 years]
        type: Function
        lineno: 3
      
    • tests/test_utils_registry.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_registry.py::test_metaclass_creates_weakset
        type: Function
        lineno: 13
      -   nodeid: tests/test_utils_registry.py::test_metaclass_tracks_instances
        type: Function
        lineno: 22
      -   nodeid: tests/test_utils_registry.py::test_registry_inheritance
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_registry.py::test_instance_tracking
        type: Function
        lineno: 39
      -   nodeid: tests/test_utils_registry.py::test_collect_instances_recursive
        type: Function
        lineno: 53
      -   nodeid: tests/test_utils_registry.py::test_instances_function
        type: Function
        lineno: 69
      -   nodeid: tests/test_utils_registry.py::test_non_registry_class_error
        type: Function
        lineno: 93
      -   nodeid: tests/test_utils_registry.py::test_signature_preservation
        type: Function
        lineno: 102
      
    • tests/test_utils_richcfg.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_richcfg.py::test_rich_inspector_outputs_more_than_builtin
        type: Function
        lineno: 45
      
    • tests/test_utils_run_later.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_run_later.py::test_init_and_repr
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_run_later.py::test_call
        type: Function
        lineno: 22
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_string
        type: Function
        lineno: 27
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_list
        type: Function
        lineno: 32
      -   nodeid: tests/test_utils_run_later.py::test_matmul_with_single_int
        type: Function
        lineno: 37
      -   nodeid: tests/test_utils_run_later.py::test_run_at_future_triggered_and_logs
        type: Function
        lineno: 49
      -   nodeid: tests/test_utils_run_later.py::test_run_at_already_past
        type: Function
        lineno: 61
      -   nodeid: tests/test_utils_run_later.py::test_run_in_future_triggered_and_logs
        type: Function
        lineno: 72
      -   nodeid: tests/test_utils_run_later.py::test_run_in_past
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_run_later.py::test_run_later_with_seconds
        type: Function
        lineno: 95
      -   nodeid: tests/test_utils_run_later.py::test_run_later_with_past_datetime
        type: Function
        lineno: 105
      -   nodeid: tests/test_utils_run_later.py::test_run_at_tqdm_multiple_updates
        type: Function
        lineno: 115
      -   nodeid: tests/test_utils_run_later.py::test_today_basic
        type: Function
        lineno: 137
      -   nodeid: tests/test_utils_run_later.py::test_tomorrow_basic
        type: Function
        lineno: 143
      -   nodeid: tests/test_utils_run_later.py::test_yesterday_basic
        type: Function
        lineno: 149
      -   nodeid: tests/test_utils_run_later.py::test_today_matmul_string
        type: Function
        lineno: 155
      -   nodeid: tests/test_utils_run_later.py::test_tomorrow_matmul_list
        type: Function
        lineno: 161
      -   nodeid: tests/test_utils_run_later.py::test_yesterday_matmul_single
        type: Function
        lineno: 167
      
    • tests/test_utils_sendmail.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_sendmail.py::test_sendmail_real_local_verbose
        type: Function
        lineno: 70
      
    • tests/test_utils_shortcut.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::test_run_method
        type: Function
        lineno: 31
      -   nodeid: tests/test_utils_shortcut.py::test_repr_output
        type: Function
        lineno: 54
      -   nodeid: tests/test_utils_shortcut.py::test_source_with_regular_function
        type: Function
        lineno: 62
      -   nodeid: tests/test_utils_shortcut.py::test_source_error_handling
        type: Function
        lineno: 76
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_basic
        type: Function
        lineno: 86
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_with_name
        type: Function
        lineno: 96
      -   nodeid: tests/test_utils_shortcut.py::test_as_shortcut_factory_pattern
        type: Function
        lineno: 104
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration
        type: Class
      -   nodeid: tests/test_utils_shortcut.py::test_registry_inheritance
        type: Function
        lineno: 204
      
    • tests/test_utils_shortcut.py::TestFullIntegration
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration::test_workflow
        type: Function
        lineno: 170
      -   nodeid: tests/test_utils_shortcut.py::TestFullIntegration::test_multiple_shortcuts
        type: Function
        lineno: 190
      
    • tests/test_utils_shortcut.py::TestShortcutInitialization
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_with_custom_name
        type: Function
        lineno: 16
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_without_name
        type: Function
        lineno: 23
      
    • tests/test_utils_shortcut.py::TestShortcutsSingleton
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_singleton_behavior
        type: Function
        lineno: 121
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_registration
        type: Function
        lineno: 127
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_getitem_access
        type: Function
        lineno: 141
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_missing_key
        type: Function
        lineno: 149
      -   nodeid: tests/test_utils_shortcut.py::TestShortcutsSingleton::test_repr_output
        type: Function
        lineno: 154
      
    • tests/test_utils_snapshot.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[exclude_internals]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[include_internals]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[empty_case]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_str]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_id]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_case_insensitive]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_length]
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_snapshot.py::test_snapshot[sort_reverse]
        type: Function
        lineno: 83
      
    • tests/test_utils_termtitle.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_termtitle.py::test_terminal_title_with_tmux
        type: Function
        lineno: 9
      
    • tests/test_utils_tqdm_mod.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_tqdm_mod.py::test_complete_progress_bar
        type: Function
        lineno: 25
      -   nodeid: tests/test_utils_tqdm_mod.py::test_set_progress_multiple_points
        type: Function
        lineno: 42
      -   nodeid: tests/test_utils_tqdm_mod.py::test_format_sizeof_alignment
        type: Function
        lineno: 65
      -   nodeid: tests/test_utils_tqdm_mod.py::test_float_alignment_in_bar
        type: Function
        lineno: 83
      -   nodeid: tests/test_utils_tqdm_mod.py::test_custom_unit
        type: Function
        lineno: 132
      -   nodeid: tests/test_utils_tqdm_mod.py::test_clamp_above_total
        type: Function
        lineno: 146
      -   nodeid: tests/test_utils_tqdm_mod.py::test_clamp_below_zero
        type: Function
        lineno: 163
      
    • tests/test_utils_trinary.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_trinary.py::test_check_trinary_valid_values
        type: Function
        lineno: 6
      -   nodeid: tests/test_utils_trinary.py::test_check_trinary_invalid_value
        type: Function
        lineno: 14
      -   nodeid: tests/test_utils_trinary.py::test_check_trinary_with_custom_allowed_values
        type: Function
        lineno: 22
      
    • tests/test_utils_typecast.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_typecast.py::test_downcast_success
        type: Function
        lineno: 24
      -   nodeid: tests/test_utils_typecast.py::test_upcast_success
        type: Function
        lineno: 30
      -   nodeid: tests/test_utils_typecast.py::test_downcast_invalid
        type: Function
        lineno: 41
      -   nodeid: tests/test_utils_typecast.py::test_upcast_invalid
        type: Function
        lineno: 48
      -   nodeid: tests/test_utils_typecast.py::test_object_identity_preserved
        type: Function
        lineno: 53
      -   nodeid: tests/test_utils_typecast.py::test_ensure_subclass_valid
        type: Function
        lineno: 64
      -   nodeid: tests/test_utils_typecast.py::test_ensure_subclass_invalid
        type: Function
        lineno: 67
      -   nodeid: tests/test_utils_typecast.py::test_cast_changes_class
        type: Function
        lineno: 79
      -   nodeid: tests/test_utils_typecast.py::test_cast_preserves_identity
        type: Function
        lineno: 86
      
    • tests/test_utils_utils.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_utils.py::test_singleton_instance
        type: Function
        lineno: 17
      -   nodeid: tests/test_utils_utils.py::test_singleton_identity
        type: Function
        lineno: 25
      -   nodeid: tests/test_utils_utils.py::test_typename[None-NoneType]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[True-bool]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[42-int]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[3.14-float]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[text-str]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[obj5-set]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[obj6-list]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[obj7-list]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[obj8-dict]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[<lambda>-function]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[sample_function-function]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[nested-function]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[len-builtin_function_or_method]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[sum-builtin_function_or_method]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[math-module]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[sys-module]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[function-type]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[<genexpr>-generator]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_typename[obj18-list_iterator]
        type: Function
        lineno: 44
      -   nodeid: tests/test_utils_utils.py::test_next_int[nums0-4]
        type: Function
        lineno: 77
      -   nodeid: tests/test_utils_utils.py::test_next_int[nums1-21]
        type: Function
        lineno: 77
      -   nodeid: tests/test_utils_utils.py::test_next_int[nums2-0]
        type: Function
        lineno: 77
      -   nodeid: tests/test_utils_utils.py::test_zero_pad[7-3-007]
        type: Function
        lineno: 87
      -   nodeid: tests/test_utils_utils.py::test_zero_pad[123-5-00123]
        type: Function
        lineno: 87
      -   nodeid: tests/test_utils_utils.py::test_zero_pad[0-2-00]
        type: Function
        lineno: 87
      -   nodeid: tests/test_utils_utils.py::test_iround[3.6-4]
        type: Function
        lineno: 97
      -   nodeid: tests/test_utils_utils.py::test_iround[2.1-2]
        type: Function
        lineno: 97
      -   nodeid: tests/test_utils_utils.py::test_iround[-1.5--2]
        type: Function
        lineno: 97
      -   nodeid: tests/test_utils_utils.py::test_iround[-1.4--1]
        type: Function
        lineno: 97
      -   nodeid: tests/test_utils_utils.py::test_sorted_naturally[items0-expected0]
        type: Function
        lineno: 108
      -   nodeid: tests/test_utils_utils.py::test_sorted_naturally[items1-expected1]
        type: Function
        lineno: 108
      -   nodeid: tests/test_utils_utils.py::test_sorted_naturally_reverse[items0-expected0]
        type: Function
        lineno: 115
      
    • tests/test_utils_xrange.py
      • Outcome: passed
      • result:
      -   nodeid: tests/test_utils_xrange.py::test_xrange_finite[args0-kwargs0-expected0]
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_xrange.py::test_xrange_finite[args1-kwargs1-expected1]
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_xrange.py::test_xrange_finite[args2-kwargs2-expected2]
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_xrange.py::test_xrange_finite[args3-kwargs3-expected3]
        type: Function
        lineno: 11
      -   nodeid: tests/test_utils_xrange.py::test_xrange_infinite[args0-kwargs0-count(0)]
        type: Function
        lineno: 20
      -   nodeid: tests/test_utils_xrange.py::test_xrange_infinite[args1-kwargs1-count(0, 2)]
        type: Function
        lineno: 20
      -   nodeid: tests/test_utils_xrange.py::test_xrange_too_many_args[args0]
        type: Function
        lineno: 31
      
. (1 tests)
  • .
    • Outcome: passed
    • result:
    -   nodeid: ci-reports
      type: Dir
    -   nodeid: morbidissimo
      type: Dir
    -   nodeid: outputs
      type: Dir
    -   nodeid: slic
      type: Package
    -   nodeid: temp-ci
      type: Dir
    -   nodeid: tests
      type: Dir
    

⚠️ Warnings

Warnings nº1
message: invalid escape sequence \-
category: DeprecationWarning
when: collect
filename: /workspace/tligui_y/slic/.pixi/envs/default/lib/python3.8/site-packages/bsread/h5.py
lineno: 207
Warnings nº2
message: 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
Warnings nº3
message: Deprecated call to `pkg_resources.declare_namespace('mpl_toolkits')`.
Implementing 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
Warnings nº4
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