Clone
1
run 1776 TEST commit 750733f
ci-bot edited this page 2025-08-06 22:17:22 +00:00

Test Report

View CI Run 1776 | Commit 750733f

🧪 Test Report

Generated on 2025-08-07 00:17:13 CEST

🧾 General Info

  • duration: 13.564527034759521
  • 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.0006684968248009682
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021513039246201515
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002137189731001854
      

      outcome:

      passed
      

    Function: test_it_type_float

    • Test 2

      📌 Setup phase

      duration:

      0.0001261257566511631
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014665909111499786
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010810280218720436
      

      outcome:

      passed
      

    Function: test_it_type_int

    • Test 3

      📌 Setup phase

      duration:

      0.00011139083653688431
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013513676822185516
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.947596117854118e-05
      

      outcome:

      passed
      

    Function: test_it_value_str

    • Test 4

      📌 Setup phase

      duration:

      0.00010548904538154602
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013374071568250656
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.671878069639206e-05
      

      outcome:

      passed
      

    Function: test_it_value_long_str

    • Test 5

      📌 Setup phase

      duration:

      0.00011085905134677887
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014524022117257118
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.7678042948246e-05
      

      outcome:

      passed
      

    Function: test_it_value_float

    • Test 6

      📌 Setup phase

      duration:

      0.00010428903624415398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001537548378109932
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.82792116701603e-05
      

      outcome:

      passed
      

    Function: test_it_value_int

    • Test 7

      📌 Setup phase

      duration:

      0.00010679010301828384
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016557378694415092
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.890412911772728e-05
      

      outcome:

      passed
      

    Function: test_it_empty_value_str

    • Test 8

      📌 Setup phase

      duration:

      0.0001050727441906929
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013300031423568726
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001004696823656559
      

      outcome:

      passed
      

    Function: test_it_empty_value_float

    • Test 9

      📌 Setup phase

      duration:

      0.00010948488488793373
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013635074719786644
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.855162352323532e-05
      

      outcome:

      passed
      

    Function: test_it_empty_value_int

    • Test 10

      📌 Setup phase

      duration:

      0.00010341918095946312
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001332191750407219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.509315714240074e-05
      

      outcome:

      passed
      

    Function: test_pstrue_str

    • Test 11

      📌 Setup phase

      duration:

      0.00010810000821948051
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014545302838087082
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.753182530403137e-05
      

      outcome:

      passed
      

    Function: test_pstrue_float

    • Test 12

      📌 Setup phase

      duration:

      0.00011030631139874458
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001324680633842945
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.540421888232231e-05
      

      outcome:

      passed
      

    Function: test_pstrue_int

    • Test 13

      📌 Setup phase

      duration:

      0.00010681292042136192
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001357467845082283
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010378425940871239
      

      outcome:

      passed
      

    Function: test_psfalse_str

    • Test 14

      📌 Setup phase

      duration:

      0.0001023649238049984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001314203254878521
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.311595931649208e-05
      

      outcome:

      passed
      

    Function: test_psfalse_float

    • Test 15

      📌 Setup phase

      duration:

      0.00010640919208526611
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013422593474388123
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.637093171477318e-05
      

      outcome:

      passed
      

    Function: test_psfalse_int

    • Test 16

      📌 Setup phase

      duration:

      0.00010346388444304466
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013075675815343857
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.347312152385712e-05
      

      outcome:

      passed
      

    Function: test_it_None

    • Test 17

      📌 Setup phase

      duration:

      0.00011700112372636795
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015462003648281097
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.825080633163452e-05
      

      outcome:

      passed
      

    Function: test_it_True

    • Test 18

      📌 Setup phase

      duration:

      0.00010169995948672295
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001298980787396431
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.386241436004639e-05
      

      outcome:

      passed
      

    Function: test_it_False

    • Test 19

      📌 Setup phase

      duration:

      0.00010823691263794899
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002890150062739849
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010756496340036392
      

      outcome:

      passed
      

    Function: test_it_nan

    • Test 20

      📌 Setup phase

      duration:

      0.0001099705696105957
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013852771371603012
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010362779721617699
      

      outcome:

      passed
      

    Function: test_it_np_nan

    • Test 21

      📌 Setup phase

      duration:

      0.00010471604764461517
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014474894851446152
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.564775973558426e-05
      

      outcome:

      passed
      

    Function: test_it_np1D_int

    • Test 22

      📌 Setup phase

      duration:

      0.00011054519563913345
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020072981715202332
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010098889470100403
      

      outcome:

      passed
      

    Function: test_it_np2D_int

    • Test 23

      📌 Setup phase

      duration:

      0.00010397611185908318
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016467319801449776
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010315608233213425
      

      outcome:

      passed
      

    Function: test_it_np1D_float

    • Test 24

      📌 Setup phase

      duration:

      0.00010733027011156082
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002245609648525715
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001102769747376442
      

      outcome:

      passed
      

    Function: test_it_np2D_float

    • Test 25

      📌 Setup phase

      duration:

      0.00012597162276506424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021836301311850548
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010100286453962326
      

      outcome:

      passed
      

    Function: test_it_np1D_bool

    • Test 26

      📌 Setup phase

      duration:

      0.00010954495519399643
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016230810433626175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.74433496594429e-05
      

      outcome:

      passed
      

    Function: test_it_np1D_object

    • Test 27

      📌 Setup phase

      duration:

      0.00011066719889640808
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001537557691335678
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001027076505124569
      

      outcome:

      passed
      

    Function: test_it_np_scalar_int

    • Test 28

      📌 Setup phase

      duration:

      0.00010568229481577873
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016755098477005959
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010880501940846443
      

      outcome:

      passed
      

    Function: test_it_np_scalar_float

    • Test 29

      📌 Setup phase

      duration:

      0.00010893400758504868
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016088923439383507
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010864203795790672
      

      outcome:

      passed
      

    Function: test_it_np_scalar_bool

    • Test 30

      📌 Setup phase

      duration:

      0.00010418007150292397
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016998685896396637
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.967433288693428e-05
      

      outcome:

      passed
      

    Function: test_it_list

    • Test 31

      📌 Setup phase

      duration:

      0.00010860525071620941
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014284206554293633
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.610317647457123e-05
      

      outcome:

      passed
      

    Function: test_it_tuple

    • Test 32

      📌 Setup phase

      duration:

      0.00010433187708258629
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014590099453926086
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010385224595665932
      

      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.0004073185846209526
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015390384942293167
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000164662953466177
      

      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.00026857899501919746
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015057716518640518
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015493901446461678
      

      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.00026309676468372345
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001332079991698265
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015439605340361595
      

      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.00027390429750084877
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013960478827357292
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001479010097682476
      

      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.0002766917459666729
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013926904648542404
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001492183655500412
      

      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.00025565316900610924
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013305619359016418
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001565287820994854
      

      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.00026757922023534775
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013825390487909317
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001623048447072506
      

      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.0005149170756340027
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016984902322292328
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001583341509103775
      

      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.0002718186005949974
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014694826677441597
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015018321573734283
      

      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.00022295629605650902
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016151787713170052
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014534685760736465
      

      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.00023333309218287468
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016251392662525177
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014031771570444107
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022197794169187546
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014224974438548088
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013802573084831238
      

      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.00025382498279213905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001717149280011654
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001493203453719616
      

      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.0002621421590447426
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001509329304099083
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001542540267109871
      

      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.0002888650633394718
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001422571949660778
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014877738431096077
      

      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.0002530170604586601
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018682517111301422
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015469780191779137
      

      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.00026150187477469444
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017253868281841278
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001482740044593811
      

      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.0002631186507642269
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001713237725198269
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015228893607854843
      

      outcome:

      passed
      

    Function: test_get_args_parametrized

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002519800327718258
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020118197426199913
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016305316239595413
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002779602073132992
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018106913194060326
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015342328697443008
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002626050263643265
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000183172058314085
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015840400010347366
      

      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 0x7f2c3c8f78b0>
        expected_sig: (a, b, d=30, c=10)
      id: wrap_all-(a, b, d=30, c=10)
      

      📌 Setup phase

      duration:

      0.00021352479234337807
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015885615721344948
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014856411144137383
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021583307534456253
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001578410156071186
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014024507254362106
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021631689742207527
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001665707677602768
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001346222124993801
      

      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 0x7f2c3c8f78b0>
        args:
          - 1
          - 2
          - 3
        kwargs:
      {}
        expected_result: 36
      id: wrap_all-args0-kwargs0-36
      

      📌 Setup phase

      duration:

      0.00032476335763931274
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013845833018422127
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001701810397207737
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00031450577080249786
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013843178749084473
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001602661795914173
      

      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 0x7f2c3c8f7940>
        args:
          - (vide)
          - (vide)
        kwargs:
          c: 3
          d: 4
        expected_result: 10
      id: wrap_skip-args2-kwargs2-10
      

      📌 Setup phase

      duration:

      0.00031127920374274254
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014334497973322868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017740298062562943
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002979789860546589
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013575004413723946
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001709568314254284
      

      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.00033235223963856697
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008864272385835648
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019156932830810547
      

      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.00033076899126172066
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000565660186111927
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020323693752288818
      

      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.000324019230902195
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005312608554959297
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018421979621052742
      

      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.0003169151023030281
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006030863150954247
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018397998064756393
      

      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.0003292178735136986
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005192821845412254
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019097933545708656
      

      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.0003209938295185566
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005271690897643566
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001975218765437603
      

      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.0003288690932095051
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005570361390709877
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017931917682290077
      

      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.00032040104269981384
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005989768542349339
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017875619232654572
      

      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.0003303568810224533
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004960028454661369
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019068876281380653
      

      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.00031187431886792183
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005092811770737171
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001847478561103344
      

      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.0003242860548198223
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005981712602078915
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001829373650252819
      

      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.00032556522637605667
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005013640038669109
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001861262135207653
      

      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.00031395209953188896
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005073482170701027
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018396088853478432
      

      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.00032027019187808037
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005226652137935162
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001883348450064659
      

      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.0003311550244688988
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006535397842526436
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018379976972937584
      

      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.00033172639086842537
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00051530497148633
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001949467696249485
      

      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.0003289300948381424
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005154781974852085
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018513482064008713
      

      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.00032156798988580704
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005240370519459248
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018672877922654152
      

      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.0003274367190897465
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006200382485985756
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017708959057927132
      

      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.00031694071367383003
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005220910534262657
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017641205340623856
      

      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.0003144731745123863
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005879569798707962
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018679304048419
      

      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.00031743990257382393
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006558340974152088
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001914268359541893
      

      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.00034095020964741707
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005461741238832474
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001851571723818779
      

      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.00031533557921648026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005040508694946766
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001900908537209034
      

      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.0003147418610751629
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005126851610839367
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017644604668021202
      

      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.0003280271776020527
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006305491551756859
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018553715199232101
      

      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.00032853009179234505
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004930249415338039
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001965058036148548
      

      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.0003232802264392376
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005166390910744667
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000180060975253582
      

      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.0003136959858238697
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005296040326356888
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018339091911911964
      

      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.00032691191881895065
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006162077188491821
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017862999811768532
      

      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.000311270821839571
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000494902953505516
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018466170877218246
      

      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.00031378213316202164
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005106278695166111
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018416298553347588
      

      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.00032454170286655426
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012778472155332565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019506365060806274
      

      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.00032152095809578896
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004988899454474449
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001859762705862522
      

      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.0003204098902642727
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000527640338987112
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001813848502933979
      

      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.00031860731542110443
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005373647436499596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018913112580776215
      

      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.0003178957849740982
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006215539760887623
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001843329519033432
      

      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.00035907700657844543
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000565582886338234
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019781198352575302
      

      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.0003677261993288994
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005549388006329536
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001927618868649006
      

      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.0003729863092303276
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006359880790114403
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020381808280944824
      

      outcome:

      passed
      
  • 📄 test_utils_channels.py

    Function: test_load_channels_and_channels_class_with_professional_names

    • Test 101

      📌 Setup phase

      duration:

      0.00011924700811505318
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009556049481034279
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012330617755651474
      

      outcome:

      passed
      
  • 📄 test_utils_config.py

    Function: test_config_with_nested_and_list_data

    • Test 102

      📌 Setup phase

      duration:

      0.00012077018618583679
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005701030604541302
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011706585064530373
      

      outcome:

      passed
      

    Function: test_config_with_strange_and_edge_keys

    • Test 103

      📌 Setup phase

      duration:

      0.00011606328189373016
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007036430761218071
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011790869757533073
      

      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.00019538169726729393
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001655900850892067
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012393295764923096
      

      outcome:

      passed
      
    • Test 105
      params: base_color="blue"

      📌 Runtime Parameters

      params:
        base_color: blue
      id: blue
      

      📌 Setup phase

      duration:

      0.00020361365750432014
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001591220498085022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001303497701883316
      

      outcome:

      passed
      
    • Test 106
      params: base_color="yellow"

      📌 Runtime Parameters

      params:
        base_color: yellow
      id: yellow
      

      📌 Setup phase

      duration:

      0.0001814090646803379
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014798995107412338
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011804606765508652
      

      outcome:

      passed
      
    • Test 107
      params: base_color="green"

      📌 Runtime Parameters

      params:
        base_color: green
      id: green
      

      📌 Setup phase

      duration:

      0.00018556881695985794
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014800531789660454
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011945702135562897
      

      outcome:

      passed
      
    • Test 108
      params: base_color="cyan"

      📌 Runtime Parameters

      params:
        base_color: cyan
      id: cyan
      

      📌 Setup phase

      duration:

      0.00017471425235271454
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014430098235607147
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012417323887348175
      

      outcome:

      passed
      
    • Test 109
      params: base_color="magenta"

      📌 Runtime Parameters

      params:
        base_color: magenta
      id: magenta
      

      📌 Setup phase

      duration:

      0.0001866612583398819
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001454646699130535
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011937692761421204
      

      outcome:

      passed
      
    • Test 110
      params: base_color="white"

      📌 Runtime Parameters

      params:
        base_color: white
      id: white
      

      📌 Setup phase

      duration:

      0.00017435802146792412
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014825491234660149
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012466171756386757
      

      outcome:

      passed
      
    • Test 111
      params: base_color="black"

      📌 Runtime Parameters

      params:
        base_color: black
      id: black
      

      📌 Setup phase

      duration:

      0.00017846375703811646
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014271540567278862
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011662999168038368
      

      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.0006113601848483086
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023605301976203918
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024732109159231186
      

      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.00048025883734226227
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023274030536413193
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024952832609415054
      

      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.0004713856615126133
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022789789363741875
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023677758872509003
      

      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.0004732017405331135
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000225716270506382
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024677393957972527
      

      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.000434099230915308
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002401517704129219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023625371977686882
      

      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.0004496402107179165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002137371338903904
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002353619784116745
      

      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.0004581478424370289
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002248501405119896
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023487815633416176
      

      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.0004376308061182499
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00031278980895876884
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024013593792915344
      

      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.0004553701728582382
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021527614444494247
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002319919876754284
      

      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.0004739612340927124
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022149691358208656
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024116970598697662
      

      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.00046157510951161385
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020487932488322258
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002517090179026127
      

      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.0004510120488703251
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000211245846003294
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024304725229740143
      

      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.0004581250250339508
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022565573453903198
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025370437651872635
      

      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.00045476295053958893
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002207229845225811
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002351151779294014
      

      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.00046405987814068794
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002198200672864914
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024133874103426933
      

      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.0004534441977739334
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021565798670053482
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024939700961112976
      

      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.000288546085357666
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008719926699995995
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001692068763077259
      

      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.0002800505608320236
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008840393275022507
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017527304589748383
      

      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.0002794419415295124
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008007818832993507
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017602136358618736
      

      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.00027882494032382965
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008435864001512527
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017064623534679413
      

      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.00027980003505945206
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007626600563526154
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001728520728647709
      

      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.00028315000236034393
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001467932015657425
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001515233889222145
      

      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.0003386540338397026
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015665078535676003
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016784155741333961
      

      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.0002844100818037987
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014602718874812126
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015527615323662758
      

      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.0002612886019051075
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014493241906166077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001542489044368267
      

      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.00031404709443449974
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001686709001660347
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001577981747686863
      

      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.00026011792942881584
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014086998999118805
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015317508950829506
      

      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.00027088215574622154
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001348201185464859
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015263864770531654
      

      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.0002674977295100689
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013786321505904198
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014904793351888657
      

      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.0002627279609441757
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001406138762831688
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015813391655683517
      

      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.0002531670033931732
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018445588648319244
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015297811478376389
      

      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.00025627901777625084
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017115101218223572
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001512579619884491
      

      outcome:

      passed
      

    Function: test_attrdict_dir

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022043008357286453
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014171283692121506
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001356201246380806
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022946391254663467
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016156025230884552
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001362040638923645
      

      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.00030839117243885994
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014026183634996414
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016210461035370827
      

      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.000302659347653389
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017309514805674553
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001765051856637001
      

      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.00030304910615086555
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001443447545170784
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017001992091536522
      

      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.0003037489950656891
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001642783172428608
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016624899581074715
      

      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.0003164820373058319
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000144158024340868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016089994460344315
      

      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.0003005960024893284
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001520281657576561
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016372092068195343
      

      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.0003025652840733528
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013938359916210175
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000173935666680336
      

      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.00030457181856036186
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002585100010037422
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016723992303013802
      

      outcome:

      passed
      
  • 📄 test_utils_dotdir.py

    Function: test_dotdir_creation_and_base_exists

    • Test 156

      📌 Setup phase

      duration:

      0.0013777990825474262
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023927213624119759
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000215933658182621
      

      outcome:

      passed
      

    Function: test_dotdir_repr_returns_path_str

    • Test 157

      📌 Setup phase

      duration:

      0.000620594248175621
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021829595789313316
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001974981278181076
      

      outcome:

      passed
      

    Function: test_dotdir_call

    • Test 158

      📌 Setup phase

      duration:

      0.0006218161433935165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022183917462825775
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020148511976003647
      

      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.0003244788385927677
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019981199875473976
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014584790915250778
      

      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.000241896603256464
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016037514433264732
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001535508781671524
      

      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.00022614095360040665
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015187915414571762
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001467508263885975
      

      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.0002347608096897602
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001639062538743019
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001416550949215889
      

      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.00021332968026399612
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022864202037453651
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015891389921307564
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023189187049865723
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015191687270998955
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014671916142106056
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00025038281455636024
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015902286395430565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001423419453203678
      

      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.00022034626454114914
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017626211047172546
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015362445265054703
      

      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.00022008921951055527
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016320496797561646
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013633118942379951
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002237260341644287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015646778047084808
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013991305604577065
      

      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.00022854004055261612
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001649167388677597
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014102831482887268
      

      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.00021831877529621124
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001676720567047596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001356382854282856
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002115890383720398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015102699398994446
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014800811186432838
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022514211013913155
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016122311353683472
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001364806666970253
      

      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.00023266300559043884
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001548510044813156
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013708090409636497
      

      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.000215260311961174
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001671011559665203
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015010684728622437
      

      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.00022820476442575455
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015331804752349854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014215009286999702
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023490004241466522
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015449291095137596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014334172010421753
      

      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.00023284368216991425
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015213806182146072
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015484262257814407
      

      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.00022590626031160355
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015313783660531044
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013170205056667328
      

      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.00021337810903787613
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00039570312947034836
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014559179544448853
      

      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.00021975301206111908
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003499411977827549
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013792980462312698
      

      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.00023159803822636604
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00034808414056897163
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013800198212265968
      

      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.00022430112585425377
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003354046493768692
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015227310359477997
      

      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.00022461125627160072
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003362223505973816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001446399837732315
      

      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.00022774795070290565
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001817760057747364
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013455189764499664
      

      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.000225794967263937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000495225191116333
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015953462570905685
      

      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.00021757418289780617
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003297780640423298
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014666980132460594
      

      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.00023017171770334244
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001849159598350525
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014581112191081047
      

      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.00022099120542407036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017464300617575645
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001367209479212761
      

      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.00023292703554034233
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001565949060022831
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013724202290177345
      

      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.00022195884957909584
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015358207747340202
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014317501336336136
      

      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.00022384198382496834
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017457688227295876
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013468600809574127
      

      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.0002086833119392395
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001529431901872158
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015123002231121063
      

      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.00026453519240021706
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001633460633456707
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015729526057839394
      

      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.00027230801060795784
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001722630113363266
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001517818309366703
      

      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.0002798759378492832
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000160908792167902
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017493776977062225
      

      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.00026724115014076233
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001571127213537693
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016252463683485985
      

      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 0x7f2c3c412d30>
        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.00023564230650663376
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016284827142953873
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001551150344312191
      

      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 0x7f2c3c412e50>
        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.00024086516350507736
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001476788893342018
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013655470684170723
      

      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 0x7f2c3c412ee0>
        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.00022318027913570404
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014989683404564857
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001384969800710678
      

      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 0x7f2c3c412f70>
        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.00022438401356339455
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001611867919564247
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014291517436504364
      

      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 0x7f2c3c99a040>
        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.00021725287660956383
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014486489817500114
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001404164358973503
      

      outcome:

      passed
      

    Function: test_printed_exception

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0007865838706493378
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014728643000125885
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0005434472113847733
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0005998997949063778
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009668790735304356
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004567098803818226
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0005952487699687481
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001169267576187849
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0004694657400250435
      

      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 0x7f2c3c412f70>
        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.0005983482114970684
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.013200432993471622
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00046537118032574654
      

      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 0x7f2c3c99a040>
        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.0005971342325210571
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000870079267770052
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00046369340270757675
      

      outcome:

      passed
      
  • 📄 test_utils_get_adj.py

    Function: test_get_adj_success

    • Test 213

      📌 Setup phase

      duration:

      0.0001282431185245514
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007519368082284927
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011823000386357307
      

      outcome:

      passed
      

    Function: test_get_adj_not_found

    • Test 214

      📌 Setup phase

      duration:

      0.0004995358176529408
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010082591325044632
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000425633043050766
      

      outcome:

      passed
      

    Function: test_ensure_adjs_mixed

    • Test 215

      📌 Setup phase

      duration:

      0.00012487592175602913
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007206792943179607
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011001015082001686
      

      outcome:

      passed
      

    Function: test_get_adjs_filter

    • Test 216

      📌 Setup phase

      duration:

      0.00010944390669465065
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008578728884458542
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012143002822995186
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_invalid_name_raises

    • Test 219

      📌 Setup phase

      duration:

      0.00013217097148299217
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023764604702591896
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011330703273415565
      

      outcome:

      passed
      

    Function: test_motor_init_list_has_no_disabled

    • Test 220

      📌 Setup phase

      duration:

      0.00011665280908346176
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001504332758486271
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010131718590855598
      

      outcome:

      passed
      

    Function: test_motor_pv_connection_skipped_by_default

    • Test 222

      📌 Setup phase

      duration:

      0.00011823466047644615
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00037190504372119904
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001071547158062458
      

      outcome:

      passed
      

    Function: test_motor_adds_all_extras_pvs

    • Test 223

      📌 Setup phase

      duration:

      0.00010607903823256493
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00026487279683351517
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.937863796949387e-05
      

      outcome:

      passed
      

    Function: test_motor_PV_method_exists_and_works

    • Test 224

      📌 Setup phase

      duration:

      0.00010314257815480232
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035743508487939835
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011785607784986496
      

      outcome:

      passed
      
  • 📄 test_utils_ipy.py

    Function: test_devices_repr_fallback_and_ignore

    • Test 225

      📌 Setup phase

      duration:

      0.0007473821751773357
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000768476165831089
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025274883955717087
      

      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.0008910070173442364
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006227320991456509
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019506597891449928
      

      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.0006591561250388622
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00040871184319257736
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018721818923950195
      

      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.0005959258414804935
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004160851240158081
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017448607832193375
      

      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.0005723717622458935
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003701867535710335
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017607677727937698
      

      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.0006146528758108616
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003880411386489868
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018507800996303558
      

      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.0006073662079870701
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036089401692152023
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017595617100596428
      

      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.0007144561968743801
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00040241656824946404
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017462018877267838
      

      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.0006001368165016174
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005784346722066402
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018895696848630905
      

      outcome:

      passed
      
  • 📄 test_utils_lazypv.py

    Function: test_getattr

    • Test 234

      📌 Setup phase

      duration:

      0.00016532093286514282
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00027928873896598816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001163301058113575
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_custom_log_outputs

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0014354251325130463
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007248669862747192
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002449708990752697
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0004002661444246769
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00041655078530311584
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00023304112255573273
      

      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.0005640177987515926
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007555056363344193
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002382560633122921
      

      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.00040613114833831787
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00044880807399749756
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002319030463695526
      

      outcome:

      passed
      

    Function: test_ignore_only_by_level

    • Test 240

      📌 Setup phase

      duration:

      0.0002380399964749813
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00039320066571235657
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016858801245689392
      

      outcome:

      passed
      

    Function: test_ignore_only_by_msg

    • Test 241

      📌 Setup phase

      duration:

      0.0002437550574541092
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003485018387436867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001688762567937374
      

      outcome:

      passed
      

    Function: test_filter_removed_after_context

    • Test 242

      📌 Setup phase

      duration:

      0.00023100106045603752
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035535218194127083
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001910659484565258
      

      outcome:

      passed
      
  • 📄 test_utils_metaclasses.py

    Function: test_combine_classes_combines_methods

    • Test 243

      📌 Setup phase

      duration:

      0.00012353109195828438
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020295334979891777
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.971996769309044e-05
      

      outcome:

      passed
      

    Function: test_registryabc_combines_registrymeta_and_abcmeta

    • Test 244

      📌 Setup phase

      duration:

      0.0001402050256729126
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005283307749778032
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012366799637675285
      

      outcome:

      passed
      
  • 📄 test_utils_namespace.py

    Function: test_namespace_pretty_repr_mixed_and_nested

    • Test 245

      📌 Setup phase

      duration:

      0.00013761874288320541
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002668830566108227
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001181168481707573
      

      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.0003681532107293606
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.020765370689332485
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00024115387350320816
      

      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.0003529191017150879
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004066028632223606
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020032376050949097
      

      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.0003650151193141937
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004270528443157673
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021231966093182564
      

      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.00034458329901099205
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003712601028382778
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018978584557771683
      

      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.0003511859104037285
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003388100303709507
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018613692373037338
      

      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.00034665968269109726
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003236280754208565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001909160055220127
      

      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.0003215428441762924
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003673727624118328
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018499186262488365
      

      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.0003335331566631794
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00035376381129026413
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001797960139811039
      

      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.0003449651412665844
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003386070020496845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001973048783838749
      

      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.00035378802567720413
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00036454759538173676
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002043335698544979
      

      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.0003603696823120117
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003428529016673565
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020162900909781456
      

      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.00038908282294869423
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003412161022424698
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019974121823906898
      

      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.00037865620106458664
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00032190699130296707
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019840197637677193
      

      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.0003855419345200062
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003892849199473858
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00021035689860582352
      

      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.0003967592492699623
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003363681025803089
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020543299615383148
      

      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.0003495607525110245
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014948006719350815
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016997288912534714
      

      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.00031382404267787933
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014020781964063644
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016186898574233055
      

      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.0003015343099832535
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001392732374370098
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016414374113082886
      

      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.0002990802749991417
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015686918050050735
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001647179014980793
      

      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.00030362093821167946
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013471627607941628
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016789603978395462
      

      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.0003110119141638279
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002757413312792778
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002242070622742176
      

      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.0003263787366449833
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002534128725528717
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017585000023245811
      

      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.0003245570696890354
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022099679335951805
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016527296975255013
      

      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.000315904151648283
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022385688498616219
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017009302973747253
      

      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.00028584012761712074
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001615951769053936
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015681376680731773
      

      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.00026133982464671135
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014552287757396698
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001510358415544033
      

      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.0002957899123430252
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013752002269029617
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016757706180214882
      

      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.00022538471966981888
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015337904915213585
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001523410901427269
      

      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.00022595375776290894
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013869674876332283
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014923419803380966
      

      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.0002190140075981617
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013232091441750526
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013329507783055305
      

      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.00021013803780078888
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013659289106726646
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014428980648517609
      

      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.00022602779790759087
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001401337794959545
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014281878247857094
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021837791427969933
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013452116400003433
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013159308582544327
      

      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.00022979499772191048
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013411184772849083
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017292285338044167
      

      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.00022682733833789825
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013498123735189438
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013901013880968094
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022002402693033218
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013019703328609467
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000153237022459507
      

      outcome:

      passed
      
  • 📄 test_utils_path.py

    Function: test_can_create_all_files_user_says_yes

    • Test 297

      📌 Setup phase

      duration:

      0.00012641027569770813
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006239903159439564
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011040689423680305
      

      outcome:

      passed
      

    Function: test_can_create_all_files_user_says_no

    • Test 298

      📌 Setup phase

      duration:

      0.00011140573769807816
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000412715133279562
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011065695434808731
      

      outcome:

      passed
      

    Function: test_make_missing_dir_creates_folder

    • Test 299

      📌 Setup phase

      duration:

      0.00010884786024689674
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00047993194311857224
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011647678911685944
      

      outcome:

      passed
      

    Function: test_glob_files_returns_matching_files_only

    • Test 300

      📌 Setup phase

      duration:

      0.00011059734970331192
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.001002478413283825
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013506412506103516
      

      outcome:

      passed
      

    Function: test_filter_files_excludes_directories

    • Test 301

      📌 Setup phase

      duration:

      0.00011873804032802582
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007364829070866108
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001212041825056076
      

      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.0005688839592039585
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003833468072116375
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016447529196739197
      

      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.0005391417071223259
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00026824139058589935
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017589423805475235
      

      outcome:

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

      📌 Runtime Parameters

      params:
        test_obj: simple string
      id: simple string
      

      📌 Setup phase

      duration:

      0.0005043637938797474
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002720518968999386
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015714624896645546
      

      outcome:

      passed
      
    • Test 305
      params: test_obj=42

      📌 Runtime Parameters

      params:
        test_obj: 42
      id: 42
      

      📌 Setup phase

      duration:

      0.0005371132865548134
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003184867091476917
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016164826229214668
      

      outcome:

      passed
      
    • Test 306
      params: test_obj=3.14159

      📌 Runtime Parameters

      params:
        test_obj: 3.14159
      id: 3.14159
      

      📌 Setup phase

      duration:

      0.0005587227642536163
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00028074998408555984
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018291501328349113
      

      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.0004954179748892784
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002775751054286957
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015709316357970238
      

      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.0005510039627552032
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00027878908440470695
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015868479385972023
      

      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.0002483949065208435
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001561078242957592
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014228606596589088
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023660901933908463
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001355060376226902
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001340438611805439
      

      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.0002476111985743046
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014205509796738625
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013681594282388687
      

      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.00021924683824181557
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001392001286149025
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001360233873128891
      

      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.00021194107830524445
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001324131153523922
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013683317229151726
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022375723347067833
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013673538342118263
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014560436829924583
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00020450307056307793
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00012904731556773186
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001337970606982708
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021524587646126747
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001332317478954792
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013639777898788452
      

      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.00020652404054999352
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001509757712483406
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014057336375117302
      

      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.0002316259779036045
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015442213043570518
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013317400589585304
      

      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.00021733483299613
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014578038826584816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001539359800517559
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021343212574720383
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013748975470662117
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013398611918091774
      

      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.00021467218175530434
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013021426275372505
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002251085825264454
      

      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.00024616997689008713
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014823675155639648
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013833073899149895
      

      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.00023060990497469902
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014520203694701195
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001373058184981346
      

      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.0002276971936225891
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014627911150455475
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001700851134955883
      

      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.0002208501100540161
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014217104762792587
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014180783182382584
      

      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.0002178410068154335
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001421300694346428
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014523882418870926
      

      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.0002262881025671959
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001604948192834854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013642385601997375
      

      outcome:

      passed
      
    • Test 328

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002237488515675068
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013666972517967224
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001385859213769436
      

      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.0002344958484172821
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013783574104309082
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013484107330441475
      

      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.0002829800359904766
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014077592641115189
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015067681670188904
      

      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.0002526859752833843
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015586195513606071
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015633879229426384
      

      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.00026141805574297905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001330277882516384
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001736823469400406
      

      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.0002634301781654358
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013561872765421867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014785118401050568
      

      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.0002686288207769394
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015278300270438194
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015324819833040237
      

      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.0002664686180651188
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014406489208340645
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015165936201810837
      

      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.00026664603501558304
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001456020399928093
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015167100355029106
      

      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.000269921962171793
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014267629012465477
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015293294563889503
      

      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.00025793397799134254
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013562990352511406
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001610959880053997
      

      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.00025949766859412193
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001388508826494217
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015629315748810768
      

      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.00026169419288635254
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001551448367536068
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014832289889454842
      

      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.00026356102898716927
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014268886297941208
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001491289585828781
      

      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.0002585086040198803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014369981363415718
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001493752934038639
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.000275507103651762
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013449275866150856
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015108613297343254
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002601109445095062
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013688718900084496
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001524975523352623
      

      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.00035383086651563644
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021854788064956665
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015972601249814034
      

      outcome:

      passed
      

    Function: test_printable_dict_of_dicts

    • Test 346

      📌 Setup phase

      duration:

      0.00010672304779291153
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000225030817091465
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.852880612015724e-05
      

      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.00027908477932214737
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00031014392152428627
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015872903168201447
      

      outcome:

      passed
      
  • 📄 test_utils_rangebar.py

    Function: test_full_progress_bar

    • Test 356

      📌 Setup phase

      duration:

      0.00032870424911379814
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021738000214099884
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016563711687922478
      

      outcome:

      passed
      

    Function: test_half_progress_bar

    • Test 357

      📌 Setup phase

      duration:

      0.0002727559767663479
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020740926265716553
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016604503616690636
      

      outcome:

      passed
      

    Function: test_zero_progress_bar

    • Test 358

      📌 Setup phase

      duration:

      0.0002516740933060646
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021260790526866913
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001641889102756977
      

      outcome:

      passed
      

    Function: test_overflow_bar

    • Test 359

      📌 Setup phase

      duration:

      0.000262601301074028
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018264306709170341
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015358487144112587
      

      outcome:

      passed
      

    Function: test_underflow_bar

    • Test 360

      📌 Setup phase

      duration:

      0.0003157667815685272
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018469290807843208
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015764078125357628
      

      outcome:

      passed
      

    Function: test_repr

    • Test 361

      📌 Setup phase

      duration:

      0.00010492606088519096
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001418180763721466
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010404223576188087
      

      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.00038010813295841217
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018723728135228157
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020478013902902603
      

      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.0003590220585465431
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022796494886279106
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001938147470355034
      

      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.0003625992685556412
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019200704991817474
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001948750577867031
      

      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.00035126088187098503
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001923954114317894
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001922757364809513
      

      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.00035406090319156647
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00022126920521259308
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019220681861042976
      

      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.0003584660589694977
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018925126641988754
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001977859064936638
      

      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.0003504767082631588
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018878281116485596
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022559287026524544
      

      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.0003603920340538025
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00021342607215046883
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020874012261629105
      

      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.0003863140009343624
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019102822989225388
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001864209771156311
      

      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.0003617829643189907
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001931781880557537
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000189267098903656
      

      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.0003642840310931206
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001869387924671173
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018839538097381592
      

      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.00022074300795793533
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015344610437750816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014665303751826286
      

      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.0002212109975516796
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013825390487909317
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014162762090563774
      

      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.00021104514598846436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015149777755141258
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014558015391230583
      

      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.00022803619503974915
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001356690190732479
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013407086953520775
      

      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.00022621406242251396
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013851793482899666
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013268087059259415
      

      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.00023973500356078148
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001388448290526867
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013796566054224968
      

      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.00021398114040493965
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013565784320235252
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001427149400115013
      

      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.000215982086956501
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013706926256418228
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013243407011032104
      

      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.00021163467317819595
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013975892215967178
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014366907998919487
      

      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.0002060411497950554
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013177702203392982
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00022580334916710854
      

      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.00022787973284721375
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014054030179977417
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013782596215605736
      

      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.00020949682220816612
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014869822189211845
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014251796528697014
      

      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.000219597015529871
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001646578311920166
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001431768760085106
      

      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.0002160537987947464
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014040805399417877
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001343870535492897
      

      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.00021115737035870552
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001417282037436962
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001346571370959282
      

      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.0002146451734006405
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013531558215618134
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013214489445090294
      

      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.00023066112771630287
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013893377035856247
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013581477105617523
      

      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.00022276397794485092
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014033261686563492
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013398518785834312
      

      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.00021461211144924164
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013619102537631989
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001392071135342121
      

      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.00021804822608828545
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013678986579179764
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013229995965957642
      

      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.0002151508815586567
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013646483421325684
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001337910071015358
      

      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.00021128077059984207
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013693561777472496
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001409929245710373
      

      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.00020587071776390076
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013328483328223228
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014070793986320496
      

      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.0002080751582980156
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014108698815107346
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000138056930154562
      

      outcome:

      passed
      
  • 📄 test_utils_registry.py

    Function: test_metaclass_creates_weakset

    • Test 397

      📌 Setup phase

      duration:

      0.00010960083454847336
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005951090715825558
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011885538697242737
      

      outcome:

      passed
      

    Function: test_metaclass_tracks_instances

    • Test 398

      📌 Setup phase

      duration:

      0.00012393901124596596
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002199229784309864
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010372279211878777
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 399

      📌 Setup phase

      duration:

      0.0001885020174086094
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000539856031537056
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013112975284457207
      

      outcome:

      passed
      

    Function: test_instance_tracking

    • Test 400

      📌 Setup phase

      duration:

      0.00016770977526903152
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019625015556812286
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012927502393722534
      

      outcome:

      passed
      

    Function: test_collect_instances_recursive

    • Test 401

      📌 Setup phase

      duration:

      0.00016584806144237518
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0011028689332306385
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014602812007069588
      

      outcome:

      passed
      

    Function: test_instances_function

    • Test 402

      📌 Setup phase

      duration:

      0.0001759631559252739
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009607328101992607
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001442236825823784
      

      outcome:

      passed
      

    Function: test_non_registry_class_error

    • Test 403

      📌 Setup phase

      duration:

      0.00011858996003866196
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00020111305639147758
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000103767029941082
      

      outcome:

      passed
      

    Function: test_signature_preservation

    • Test 404

      📌 Setup phase

      duration:

      0.00010601989924907684
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00024416903033852577
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010494096204638481
      

      outcome:

      passed
      
  • 📄 test_utils_richcfg.py

    Function: test_rich_inspector_outputs_more_than_builtin

    • Test 405

      📌 Setup phase

      duration:

      0.00020198896527290344
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.09285140503197908
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.224384921
        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: 1754518628.2244372
        msecs: 224.43723678588867
        relativeCreated: 10598.464488983154
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.00022571301087737083
      

      outcome:

      passed
      
  • 📄 test_utils_run_later.py

    Function: test_init_and_repr

    • Test 406

      📌 Setup phase

      duration:

      0.0001478102058172226
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002130633220076561
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010901317000389099
      

      outcome:

      passed
      

    Function: test_call

    • Test 407

      📌 Setup phase

      duration:

      0.00011983374133706093
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000153321772813797
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.86950471997261e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_string

    • Test 408

      📌 Setup phase

      duration:

      0.000106853898614645
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001568114385008812
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.996304288506508e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_list

    • Test 409

      📌 Setup phase

      duration:

      0.0001023649238049984
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014528725296258926
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.570037946105003e-05
      

      outcome:

      passed
      

    Function: test_matmul_with_single_int

    • Test 410

      📌 Setup phase

      duration:

      0.00010813120752573013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015764916315674782
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.941309690475464e-05
      

      outcome:

      passed
      

    Function: test_run_at_future_triggered_and_logs

    • Test 411

      📌 Setup phase

      duration:

      0.0002976479008793831
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20512303616851568
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.324976446
        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.0719283
        msecs: 71.92826271057129
        relativeCreated: -18785817554.044487
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.425559831
        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.1725078
        msecs: 172.50776290893555
        relativeCreated: -18785817453.464985
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.0002814806066453457
      

      outcome:

      passed
      

    Function: test_run_at_already_past

    • Test 412

      📌 Setup phase

      duration:

      0.0003157230094075203
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003734179772436619
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018933787941932678
      

      outcome:

      passed
      

    Function: test_run_in_future_triggered_and_logs

    • Test 413

      📌 Setup phase

      duration:

      0.00026434240862727165
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.2018319801427424
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.526118631
        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.0649347
        msecs: 64.93473052978516
        relativeCreated: -18785817561.038017
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.626711640
        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.165526
        msecs: 165.5259132385254
        relativeCreated: -18785817460.446835
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.00029651913791894913
      

      outcome:

      passed
      

    Function: test_run_in_past

    • Test 414

      📌 Setup phase

      duration:

      0.000305423978716135
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003556753508746624
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017508910968899727
      

      outcome:

      passed
      

    Function: test_run_later_with_seconds

    • Test 415

      📌 Setup phase

      duration:

      0.0002687140367925167
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20155736105516553
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.727273167
        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.0610988
        msecs: 61.09881401062012
        relativeCreated: -18778617564.87393
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.827798980
        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.1616209
        msecs: 161.6208553314209
        relativeCreated: -18778617464.35189
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.00028334977105259895
      

      outcome:

      passed
      

    Function: test_run_later_with_past_datetime

    • Test 416

      📌 Setup phase

      duration:

      0.000315164215862751
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00031907064840197563
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018943287432193756
      

      outcome:

      passed
      

    Function: test_run_at_tqdm_multiple_updates

    • Test 417

      📌 Setup phase

      duration:

      0.00028950441628694534
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.20174684328958392
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.928296438
        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: 1754518628.9283905
        msecs: 928.3905029296875
        relativeCreated: 11302.417755126953
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.28785190
        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: 1754518629.0288754
        msecs: 28.875350952148438
        relativeCreated: 11402.902603149414
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.0002993992529809475
      

      outcome:

      passed
      

    Function: test_today_basic

    • Test 418

      📌 Setup phase

      duration:

      0.0001393500715494156
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006670416332781315
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012002093717455864
      

      outcome:

      passed
      

    Function: test_tomorrow_basic

    • Test 419

      📌 Setup phase

      duration:

      0.00011970195919275284
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003689019940793514
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010593095794320107
      

      outcome:

      passed
      

    Function: test_yesterday_basic

    • Test 420

      📌 Setup phase

      duration:

      0.00011187978088855743
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003387248143553734
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011987285688519478
      

      outcome:

      passed
      

    Function: test_today_matmul_string

    • Test 421

      📌 Setup phase

      duration:

      0.0001110229641199112
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003566802479326725
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011385185644030571
      

      outcome:

      passed
      

    Function: test_tomorrow_matmul_list

    • Test 422

      📌 Setup phase

      duration:

      0.00011235196143388748
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003473307006061077
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000103791244328022
      

      outcome:

      passed
      

    Function: test_yesterday_matmul_single

    • Test 423

      📌 Setup phase

      duration:

      0.00010583316907286644
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003356859087944031
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011216942220926285
      

      outcome:

      passed
      
  • 📄 test_utils_sendmail.py

    Function: test_sendmail_real_local_verbose

    • Test 424

      📌 Setup phase

      duration:

      0.00012331735342741013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.6998743661679327
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.129357492
        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: 1754518629.1295571
        msecs: 129.55713272094727
        relativeCreated: 11503.584384918213
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.230071036
        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: 1754518629.2301755
        msecs: 230.17549514770508
        relativeCreated: 11604.20274734497
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.330573081
        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: 1754518629.330676
        msecs: 330.6760787963867
        relativeCreated: 11704.703330993652
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.431090692
        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: 1754518629.4311965
        msecs: 431.1964511871338
        relativeCreated: 11805.2237033844
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.531745175
        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: 1754518629.5319476
        msecs: 531.9476127624512
        relativeCreated: 11905.974864959717
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.632524697
        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: 1754518629.63279
        msecs: 632.7900886535645
        relativeCreated: 12006.81734085083
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.733263302
        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: 1754518629.7333715
        msecs: 733.3714962005615
        relativeCreated: 12107.398748397827
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.833794067
        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: 1754518629.8338938
        msecs: 833.8937759399414
        relativeCreated: 12207.921028137207
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366629.934307225
        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: 1754518629.93442
        msecs: 934.420108795166
        relativeCreated: 12308.447360992432
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.34829438
        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: 1754518630.0349352
        msecs: 34.93523597717285
        relativeCreated: 12408.962488174438
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.135366979
        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: 1754518630.1354713
        msecs: 135.47134399414062
        relativeCreated: 12509.498596191406
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.235907195
        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: 1754518630.2360163
        msecs: 236.01627349853516
        relativeCreated: 12610.0435256958
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.336427236
        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: 1754518630.3365288
        msecs: 336.5287780761719
        relativeCreated: 12710.556030273438
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.436955679
        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: 1754518630.4370556
        msecs: 437.0555877685547
        relativeCreated: 12811.08283996582
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.537475797
        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: 1754518630.5375805
        msecs: 537.5804901123047
        relativeCreated: 12911.60774230957
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.638014822
        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: 1754518630.6381261
        msecs: 638.1261348724365
        relativeCreated: 13012.153387069702
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366630.738544012
        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: 1754518630.7386572
        msecs: 738.6572360992432
        relativeCreated: 13112.684488296509
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Teardown phase

      duration:

      0.00028176791965961456
      

      outcome:

      passed
      
  • 📄 test_utils_shortcut.py

    Function: TestShortcutInitialization

    • Test 425

      📌 Setup phase

      duration:

      0.0005175410769879818
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023383274674415588
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015274109318852425
      

      outcome:

      passed
      
    • Test 426

      📌 Setup phase

      duration:

      0.00020984234288334846
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001606512814760208
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013314932584762573
      

      outcome:

      passed
      

    Function: test_run_method

    • Test 427

      📌 Setup phase

      duration:

      0.0003629932180047035
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006140461191534996
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020906515419483185
      

      outcome:

      passed
      

    Function: test_repr_output

    • Test 428

      📌 Setup phase

      duration:

      0.0001857532188296318
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000162540003657341
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013010017573833466
      

      outcome:

      passed
      

    Function: test_source_with_regular_function

    • Test 429

      📌 Setup phase

      duration:

      0.00018008938059210777
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0012183920480310917
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001504640094935894
      

      outcome:

      passed
      

    Function: test_source_error_handling

    • Test 430

      📌 Setup phase

      duration:

      0.00018582958728075027
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008458229713141918
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015019625425338745
      

      outcome:

      passed
      

    Function: test_as_shortcut_basic

    • Test 431

      📌 Setup phase

      duration:

      0.0003109700046479702
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016704900190234184
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000131100881844759
      

      outcome:

      passed
      

    Function: test_as_shortcut_with_name

    • Test 432

      📌 Setup phase

      duration:

      0.00018293596804141998
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016037514433264732
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001269080676138401
      

      outcome:

      passed
      

    Function: test_as_shortcut_factory_pattern

    • Test 433

      📌 Setup phase

      duration:

      0.00017494568601250648
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001408969983458519
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012313900515437126
      

      outcome:

      passed
      

    Function: TestShortcutsSingleton

    • Test 434

      📌 Setup phase

      duration:

      0.000278970692306757
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000138893723487854
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001781117171049118
      

      outcome:

      passed
      
    • Test 435

      📌 Setup phase

      duration:

      0.00025687413290143013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00023721996694803238
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014581391587853432
      

      outcome:

      passed
      
    • Test 436

      📌 Setup phase

      duration:

      0.0002527451142668724
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017077196389436722
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014447979629039764
      

      outcome:

      passed
      
    • Test 437

      📌 Setup phase

      duration:

      0.00024541979655623436
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00018800189718604088
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016143778339028358
      

      outcome:

      passed
      
    • Test 438

      📌 Setup phase

      duration:

      0.00023643858730793
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0002421671524643898
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015467219054698944
      

      outcome:

      passed
      

    Function: TestFullIntegration

    • Test 439

      📌 Setup phase

      duration:

      0.0003737201914191246
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006455988623201847
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0002182861790060997
      

      outcome:

      passed
      
    • Test 440

      📌 Setup phase

      duration:

      0.0002601700834929943
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019962573423981667
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001553860493004322
      

      outcome:

      passed
      

    Function: test_registry_inheritance

    • Test 441

      📌 Setup phase

      duration:

      0.00017260108143091202
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013381615281105042
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012838607653975487
      

      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.00031887926161289215
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006180703639984131
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016819871962070465
      

      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.00030319904908537865
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004708808846771717
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016984064131975174
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.000285102054476738
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001388099044561386
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015024980530142784
      

      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.00027773575857281685
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005654920823872089
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016824062913656235
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00027568964287638664
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005610920488834381
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017119338735938072
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002851472236216068
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006517143920063972
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017650192603468895
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00028526410460472107
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005423990078270435
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016978010535240173
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002784198150038719
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005496907979249954
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016750721260905266
      

      outcome:

      passed
      
  • 📄 test_utils_termtitle.py

    Function: test_terminal_title_with_tmux

    • Test 450

      📌 Setup phase

      duration:

      0.00013762805610895157
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.015436481218785048
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00020679784938693047
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_complete_progress_bar

    • Test 451

      📌 Setup phase

      duration:

      0.00016573630273342133
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0040435222908854485
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.000125066377222538
      

      outcome:

      passed
      

    Function: test_set_progress_multiple_points

    • Test 452

      📌 Setup phase

      duration:

      0.00012359488755464554
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0017229821532964706
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001261252909898758
      

      outcome:

      passed
      

    Function: test_format_sizeof_alignment

    • Test 453

      📌 Setup phase

      duration:

      0.00012339279055595398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016053998842835426
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010310020297765732
      

      outcome:

      passed
      

    Function: test_custom_unit

    • Test 455

      📌 Setup phase

      duration:

      0.00014065206050872803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.004858340136706829
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012545613572001457
      

      outcome:

      passed
      

    Function: test_clamp_above_total

    • Test 456

      📌 Setup phase

      duration:

      0.00012594182044267654
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005029989406466484
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014522206038236618
      

      outcome:

      passed
      

    Function: test_clamp_below_zero

    • Test 457

      📌 Setup phase

      duration:

      0.0001158551312983036
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0006483891047537327
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012177927419543266
      

      outcome:

      passed
      
  • 📄 test_utils_trinary.py

    Function: test_check_trinary_valid_values

    • Test 458

      📌 Setup phase

      duration:

      0.0001438939943909645
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016647065058350563
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010385597124695778
      

      outcome:

      passed
      

    Function: test_check_trinary_invalid_value

    • Test 459

      📌 Setup phase

      duration:

      0.0001202230341732502
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003657471388578415
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00012335879728198051
      

      outcome:

      passed
      

    Function: test_check_trinary_with_custom_allowed_values

    • Test 460

      📌 Setup phase

      duration:

      0.00011045718565583229
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019947392866015434
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011347979307174683
      

      outcome:

      passed
      
  • 📄 test_utils_typecast.py

    Function: test_downcast_success

    • Test 461

      📌 Setup phase

      duration:

      0.00011776387691497803
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00019975891336798668
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011570099741220474
      

      outcome:

      passed
      

    Function: test_upcast_success

    • Test 462

      📌 Setup phase

      duration:

      0.00013450579717755318
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001536649651825428
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010100705549120903
      

      outcome:

      passed
      

    Function: test_downcast_invalid

    • Test 463

      📌 Setup phase

      duration:

      0.00012330617755651474
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0003212057054042816
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011605583131313324
      

      outcome:

      passed
      

    Function: test_upcast_invalid

    • Test 464

      📌 Setup phase

      duration:

      0.00011823698878288269
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016881199553608894
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00011582672595977783
      

      outcome:

      passed
      

    Function: test_object_identity_preserved

    • Test 465

      📌 Setup phase

      duration:

      0.00010760268196463585
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016909372061491013
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010691629722714424
      

      outcome:

      passed
      

    Function: test_ensure_subclass_valid

    • Test 466

      📌 Setup phase

      duration:

      0.00010706530883908272
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015993276610970497
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013690488412976265
      

      outcome:

      passed
      

    Function: test_ensure_subclass_invalid

    • Test 467

      📌 Setup phase

      duration:

      0.00011529261246323586
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017752032727003098
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010040123015642166
      

      outcome:

      passed
      

    Function: test_cast_changes_class

    • Test 468

      📌 Setup phase

      duration:

      0.00013053184375166893
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014491798356175423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      9.96757298707962e-05
      

      outcome:

      passed
      

    Function: test_cast_preserves_identity

    • Test 469

      📌 Setup phase

      duration:

      0.00011815084144473076
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000131094828248024
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010153697803616524
      

      outcome:

      passed
      
  • 📄 test_utils_utils.py

    Function: test_singleton_instance

    • Test 470

      📌 Setup phase

      duration:

      0.00013997219502925873
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015672296285629272
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00010288506746292114
      

      outcome:

      passed
      

    Function: test_singleton_identity

    • Test 471

      📌 Setup phase

      duration:

      0.00011336803436279297
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013150880113244057
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001008431427180767
      

      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.00030375318601727486
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014930590987205505
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015639513731002808
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022360403090715408
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015095388516783714
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001476602628827095
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00026527512818574905
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013895472511649132
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013836892321705818
      

      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.0002358546480536461
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001377621665596962
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015067728236317635
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00021770503371953964
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015076994895935059
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014637596905231476
      

      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.00022064195945858955
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015079323202371597
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013506971299648285
      

      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.0002565709874033928
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013919686898589134
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013794424012303352
      

      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.000223520677536726
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014172494411468506
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019602011889219284
      

      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.00022035092115402222
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016854610294103622
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014205928891897202
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0008181259036064148
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017841439694166183
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015348102897405624
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002493648789823055
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015188008546829224
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001468118280172348
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00024124141782522202
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001423591747879982
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015638722106814384
      

      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.00023383181542158127
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013909535482525826
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015576090663671494
      

      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.00022693676874041557
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014687702059745789
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001475210301578045
      

      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.0002359640784561634
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001376904547214508
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015045702457427979
      

      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.00024603819474577904
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013806484639644623
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00017095496878027916
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023635989055037498
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015091011300683022
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014289002865552902
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00022184662520885468
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015262002125382423
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00013947905972599983
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.00023593194782733917
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00013523688539862633
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014629913493990898
      

      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.00023533310741186142
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001431717537343502
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014300504699349403
      

      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.00021831877529621124
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015924731269478798
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015077181160449982
      

      outcome:

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

      📌 Runtime Parameters

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

      📌 Setup phase

      duration:

      0.0002354038879275322
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014082062989473343
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014313682913780212
      

      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.0002878238447010517
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014052912592887878
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018228404223918915
      

      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.0002659880556166172
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001629488542675972
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016512302681803703
      

      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.0002870820462703705
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014633918181061745
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00015881098806858063
      

      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.00023522693663835526
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001358240842819214
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001681656576693058
      

      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.00022592302411794662
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014112191274762154
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014313124120235443
      

      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.00021850410848855972
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015398673713207245
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014168675988912582
      

      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.00023926282301545143
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001368001103401184
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001406930387020111
      

      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.00023923302069306374
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001687733456492424
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001833583228290081
      

      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.00023124413564801216
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001853257417678833
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014653801918029785
      

      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.00025677820667624474
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017666257917881012
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00014721369370818138
      

      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.0003054630942642689
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00015675323083996773
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019138213247060776
      

      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.00026810169219970703
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00017106207087635994
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00016353465616703033
      

      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.00028672395274043083
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00014266185462474823
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00019868137314915657
      

      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.00026780134066939354
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0001741410233080387
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00025415606796741486
      

      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.00032493099570274353
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016000587493181229
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0001787799410521984
      

      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.0002797669731080532
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00016297819092869759
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.00018526799976825714
      

      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.00017362739890813828
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00043443823233246803
      

      outcome:

      passed
      

      📌 Teardown phase

      duration:

      0.0006446912884712219
      

      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.00026981206610798836
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009656501933932304
      

      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.00028491392731666565
      

      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.0002606087364256382
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000551925040781498
      

      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.00020993687212467194
      

      outcome:

      passed
      
  • 📄 test_utils_elog.py

    Function: test_check_required_attributes

    • Test 159

      📌 Setup phase

      duration:

      0.0001208907924592495
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0026550963521003723
      

      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 0x7f2c3c2b10a0>: 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 0x7f2c3c2b10a0>
      
          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 0x7f2c3c2b11f0>
      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 0x7f2c3c2b10a0>
      
          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 0x7f2c3c2b10a0>: 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 0x7f2c3c2b1670>
      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 0x7f2c3c2b10a0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2c3c2b11f0>
      _stacktrace = <traceback object at 0x7f2be93e1300>
      
          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 0x7f2c3c2b10a0>: 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 0x7f2c3c2b1670>
      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 0x7f2c3c2b10a0>: 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.0002313419245183468
      

      outcome:

      passed
      

    Function: test_post

    • Test 160

      📌 Setup phase

      duration:

      0.00014075590297579765
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.009472395293414593
      

      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 0x7f2be85fac70>: 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 0x7f2be8e9e910>
      
          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 0x7f2be8e9e490>
      method = 'POST', url = '/demo/'
      body = b'--e5b64c271645aef34486ad7cbf664ff2\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--e5b64c271645ae...-Disposition: form-data; name="Text"; filename=""\r\n\r\nThis is a message\r\n--e5b64c271645aef34486ad7cbf664ff2--\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=e5b64c271645aef34486ad7cbf664ff2'}
      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 0x7f2be8e9e910>
      
          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 0x7f2be8e9e910>: 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 0x7f2be8440400>
      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 0x7f2be8e9e910>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be8e9e490>
      _stacktrace = <traceback object at 0x7f2be8441c80>
      
          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 0x7f2be8e9e910>: 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 0x7f2be8440be0>
      message = 'This is a message', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754518623, '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': 1754518623, '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 0x7f2be8440400>
      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 0x7f2be8e9e910>: 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 0x7f2be85fac70>
      
          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 0x7f2be8e9edc0>
      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 0x7f2be85fac70>
      
          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 0x7f2be85fac70>: 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 0x7f2be8e9ed90>
      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 0x7f2be85fac70>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be8e9edc0>
      _stacktrace = <traceback object at 0x7f2be869fb80>
      
          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 0x7f2be85fac70>: 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 0x7f2be8440be0>, 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 0x7f2be8e9ed90>
      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 0x7f2be85fac70>: 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 0x7f2be8440be0>, 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 0x7f2be85fac70>: 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.00022878171876072884
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_with_direct_password_and_real_check

    • Test 161

      📌 Setup phase

      duration:

      0.0001368899829685688
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005146584939211607
      

      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 0x7f2be83cc970>: 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 0x7f2be83cc970>
      
          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 0x7f2be83cc4c0>
      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 0x7f2be83cc970>
      
          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 0x7f2be83cc970>: 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 0x7f2be83a8490>
      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 0x7f2be83cc970>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be83cc4c0>
      _stacktrace = <traceback object at 0x7f2be83a7240>
      
          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 0x7f2be83cc970>: 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 0x7f2be83a8490>
      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 0x7f2be83cc970>: 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.00023061130195856094
      

      outcome:

      passed
      

    Function: test_get_default_elog_instance_asks_password_and_opens

    • Test 162

      📌 Setup phase

      duration:

      0.0001389659009873867
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.005980782210826874
      

      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 0x7f2c3c2b70a0>: 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 0x7f2c3c2b70a0>
      
          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 0x7f2c3c28f850>
      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 0x7f2c3c2b70a0>
      
          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 0x7f2c3c2b70a0>: 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 0x7f2c3c28fac0>
      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 0x7f2c3c2b70a0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2c3c28f850>
      _stacktrace = <traceback object at 0x7f2be8510100>
      
          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 0x7f2c3c2b70a0>: 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='139826558276608'>
      mock_getpass = <MagicMock name='getpass' id='139826555874464'>
      
          @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 0x7f2c3c28fac0>
      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 0x7f2c3c2b70a0>: 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.00022446690127253532
      

      outcome:

      passed
      

    Function: test_get_default_elog_with_path_home

    • Test 163

      📌 Setup phase

      duration:

      0.00013791583478450775
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.006598245818167925
      

      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 0x7f2be8e8eeb0>: 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 0x7f2be8e8eeb0>
      
          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 0x7f2be8e8e340>
      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 0x7f2be8e8eeb0>
      
          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 0x7f2be8e8eeb0>: 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 0x7f2be8e8e370>
      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 0x7f2be8e8eeb0>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be8e8e340>
      _stacktrace = <traceback object at 0x7f2be85f91c0>
      
          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 0x7f2be8e8eeb0>: 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='139826557663744'>
      mock_getuser = <MagicMock name='getuser' id='139826573068752'>
      mock_getpass = <MagicMock name='getpass' id='139826557923536'>
      
          @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 0x7f2be8e8e370>
      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 0x7f2be8e8eeb0>: 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.0002264627255499363
      

      outcome:

      passed
      

    Function: test_screenshot

    • Test 164

      📌 Setup phase

      duration:

      0.00013857614248991013
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.008504406083375216
      

      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 0x7f2be84d6970>: 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 0x7f2be8659070>
      
          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 0x7f2be83e4850>
      method = 'POST', url = '/demo/'
      body = b'--c2bf2f5d722df26f83346b956dad5538\r\nContent-Disposition: form-data; name="Author"\r\n\r\nrobot\r\n--c2bf2f5d722df2...-data; name="Text"; filename=""\r\n\r\nSCREENSHOT_INTEGRATION_TEST_MSG_456\r\n--c2bf2f5d722df26f83346b956dad5538--\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=c2bf2f5d722df26f83346b956dad5538'}
      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 0x7f2be8659070>
      
          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 0x7f2be8659070>: 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 0x7f2be83e4400>
      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 0x7f2be8659070>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be83e4850>
      _stacktrace = <traceback object at 0x7f2be8f8a3c0>
      
          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 0x7f2be8659070>: 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 0x7f2be83e4b20>
      message = 'SCREENSHOT_INTEGRATION_TEST_MSG_456', msg_id = None, reply = False
      attributes = {'Author': 'robot', 'When': 1754518624, 'cmd': 'Submit', 'exp': 'demo', ...}
      attachments = ['/tmp/tmptdz0tq50.png'], suppress_email_notification = False
      encoding = None, timeout = None, kwargs = {'Author': 'robot'}
      new_attachment_list = [('attfile0', ('tmptdz0tq50.png', <_io.BufferedReader name='/tmp/tmptdz0tq50.png'>)), ('Text', ('', b'SCREENSHOT_INTEGRATION_TEST_MSG_456'))]
      objects_to_close = [<_io.BufferedReader name='/tmp/tmptdz0tq50.png'>]
      attributes_to_edit = {'Author': b'robot', 'When': 1754518624, '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 0x7f2be83e4400>
      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 0x7f2be8659070>: 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 0x7f2be84d6970>
      
          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 0x7f2be86599d0>
      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 0x7f2be84d6970>
      
          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 0x7f2be84d6970>: 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 0x7f2be8659f70>
      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 0x7f2be84d6970>: Failed to establish a new connection: [Errno 111] Connection refused')
      _pool = <urllib3.connectionpool.HTTPConnectionPool object at 0x7f2be86599d0>
      _stacktrace = <traceback object at 0x7f2be8ed3980>
      
          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 0x7f2be84d6970>: 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 0x7f2be83e4b20>, 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 0x7f2be8659f70>
      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 0x7f2be84d6970>: 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='139826555840016'>
      
          @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 0x7f2be83e4b20>, 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 0x7f2be84d6970>: 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.00022908300161361694
      

      outcome:

      passed
      
  • 📄 test_utils_hastyepics.py

    Function: test_motor_instantiation_fast_vs_epics

    • Test 217

      📌 Setup phase

      duration:

      0.00012001721188426018
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0987162939272821
      

      outcome:

      failed
      

      crash:

      path: /workspace/tligui_y/slic/tests/test_utils_hastyepics.py
      lineno: 37
      message: AssertionError: Fast version (0.009388s) should be faster than EPICS (0.000273s)
      assert 0.009388169227167963 < 0.00027266298420727255
      

      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.009388s) should be faster than EPICS (0.000273s)
      E       assert 0.009388169227167963 < 0.00027266298420727255
      
      tests/test_utils_hastyepics.py:37: AssertionError
      

      📌 Teardown phase

      duration:

      0.0004362054169178009
      

      outcome:

      passed
      

    Function: test_motor_without_suffix_and_dot

    • Test 218

      📌 Setup phase

      duration:

      0.00020248908549547195
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0017407308332622051
      

      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.00017408793792128563
      

      outcome:

      passed
      

    Function: test_motor_initializes_device_attrs

    • Test 221

      📌 Setup phase

      duration:

      0.00010989094153046608
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014005550183355808
      

      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.0001503373496234417
      

      outcome:

      passed
      
  • 📄 test_utils_logcfg.py

    Function: test_import_logging_once_per_module

    • Test 237

      📌 Setup phase

      duration:

      0.0001314501278102398
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      1.7111315941438079
      

      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.0003425842151045799
      

      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.00038906605914235115
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0010495553724467754
      

      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 0x7f2be86c4940>, 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.0002560247667133808
      

      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.0004652859643101692
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005795909091830254
      

      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 0x7f2be851bc10>, 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.00027543259784579277
      

      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.0004058969207108021
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0009590629488229752
      

      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 0x7f2be8ebea60>, 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.00027658604085445404
      

      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.0003789477050304413
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000535719096660614
      

      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 0x7f2c3c6bfc10>, 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.0002661398611962795
      

      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.0003841472789645195
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004992550238966942
      

      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 0x7f2be83deca0>, 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.00023893313482403755
      

      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.00039891619235277176
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005606259219348431
      

      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 0x7f2be851bb80>, 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.00024109287187457085
      

      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.00036885589361190796
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0005017807707190514
      

      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 0x7f2be86c4f70>, 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.0002240510657429695
      

      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.0003670831210911274
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004569529555737972
      

      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 0x7f2be8386b80>, 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.0002186237834393978
      

      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.00038114702329039574
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.000470214057713747
      

      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 0x7f2be8386ee0>, 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.00024162372574210167
      

      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.00038064178079366684
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004808199591934681
      

      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 0x7f2be8386dc0>, 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.00023711193352937698
      

      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.00037137605249881744
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0008119535632431507
      

      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 0x7f2be838d5e0>, 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.00023217219859361649
      

      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.00037332018837332726
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0007885429076850414
      

      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 0x7f2be8386dc0>, 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.0002244170755147934
      

      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.0004235832020640373
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004903040826320648
      

      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 0x7f2be838d040>, 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.0002212640829384327
      

      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.0003794780932366848
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0004896270111203194
      

      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 0x7f2be8387dc0>, 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.00022514723241329193
      

      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.00036719487980008125
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.00048778578639030457
      

      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 0x7f2be83875e0>, 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.00022384990006685257
      

      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.0022755498066545
      

      outcome:

      passed
      

      log:

      -   name: pcaspy.Driver.setParam
        msg: START_TIME: value=2025-08-06 22:17:07.011446 alarm=NO_ALARM severity=NO_ALARM flag=True mask=7 time=1123366627.11481020
        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: 1754518627.0115597
        msecs: 11.559724807739258
        relativeCreated: 9385.586977005005
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=4 time=1123366627.12113749
        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: 1754518627.0121372
        msecs: 12.137174606323242
        relativeCreated: 9386.164426803589
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.112495216
        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: 1754518627.1125739
        msecs: 112.57386207580566
        relativeCreated: 9486.601114273071
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.213014966
        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: 1754518627.2130687
        msecs: 213.06872367858887
        relativeCreated: 9587.095975875854
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.313530310
        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: 1754518627.3135834
        msecs: 313.5833740234375
        relativeCreated: 9687.610626220703
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.414024537
        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: 1754518627.4140782
        msecs: 414.0782356262207
        relativeCreated: 9788.105487823486
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.514510567
        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: 1754518627.5145597
        msecs: 514.5597457885742
        relativeCreated: 9888.58699798584
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.615095255
        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: 1754518627.6151667
        msecs: 615.1666641235352
        relativeCreated: 9989.1939163208
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.715679550
        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: 1754518627.7157469
        msecs: 715.7468795776367
        relativeCreated: 10089.774131774902
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.816189989
        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: 1754518627.8162425
        msecs: 816.2424564361572
        relativeCreated: 10190.269708633423
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366627.916709277
        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: 1754518627.916765
        msecs: 916.7649745941162
        relativeCreated: 10290.792226791382
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      

      📌 Call phase

      duration:

      0.02476571500301361
      

      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=1123366628.17166392
        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: 1754518628.017217
        msecs: 17.216920852661133
        relativeCreated: 10391.244173049927
        thread: 139826523150016
        threadName: Thread-3
        processName: MainProcess
        process: 1860
      -   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: 1754518628.03218
        msecs: 32.180070877075195
        relativeCreated: 10406.20732307434
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0324848
        msecs: 32.48476982116699
        relativeCreated: 10406.512022018433
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.32591806
        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: 1754518628.0326161
        msecs: 32.61613845825195
        relativeCreated: 10406.643390655518
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.0339901
        msecs: 33.99014472961426
        relativeCreated: 10408.01739692688
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0344455
        msecs: 34.44552421569824
        relativeCreated: 10408.472776412964
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.34507793
        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: 1754518628.0345209
        msecs: 34.520864486694336
        relativeCreated: 10408.54811668396
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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.000267593190073967
      

      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.00037874234840273857
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0024026460014283657
      

      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: 1754518628.0416014
        msecs: 41.60141944885254
        relativeCreated: 10415.628671646118
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0418694
        msecs: 41.869401931762695
        relativeCreated: 10415.896654129028
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=False mask=0 time=1123366628.41945867
        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: 1754518628.0419595
        msecs: 41.959524154663086
        relativeCreated: 10415.986776351929
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.042578
        msecs: 42.57798194885254
        relativeCreated: 10416.605234146118
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0428736
        msecs: 42.87362098693848
        relativeCreated: 10416.900873184204
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=25.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.42932479
        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: 1754518628.0429444
        msecs: 42.94443130493164
        relativeCreated: 10416.971683502197
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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.00020834896713495255
      

      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.0003303671255707741
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002302558161318302
      

      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
      
      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: 1754518628.0494463
        msecs: 49.44634437561035
        relativeCreated: 10423.473596572876
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0498025
        msecs: 49.802541732788086
        relativeCreated: 10423.829793930054
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.49918694
        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: 1754518628.049938
        msecs: 49.93796348571777
        relativeCreated: 10423.965215682983
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.0505104
        msecs: 50.510406494140625
        relativeCreated: 10424.537658691406
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.050792
        msecs: 50.79197883605957
        relativeCreated: 10424.819231033325
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=50.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.50853165
        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: 1754518628.0508664
        msecs: 50.86636543273926
        relativeCreated: 10424.893617630005
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.000234982930123806
      

      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.00030294712632894516
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0023189526982605457
      

      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: 1754518628.0571434
        msecs: 57.143449783325195
        relativeCreated: 10431.17070198059
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0574203
        msecs: 57.42025375366211
        relativeCreated: 10431.447505950928
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.57493634
        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: 1754518628.0575085
        msecs: 57.50846862792969
        relativeCreated: 10431.535720825195
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.0581346
        msecs: 58.13455581665039
        relativeCreated: 10432.161808013916
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0584216
        msecs: 58.42161178588867
        relativeCreated: 10432.448863983154
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=75.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.58479560
        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: 1754518628.058492
        msecs: 58.49194526672363
        relativeCreated: 10432.51919746399
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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.00019532814621925354
      

      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.0003175460733473301
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0023331972770392895
      

      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 = 100.0
        [ 0 |                              | 100 ]   0
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        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: 1754518628.0651956
        msecs: 65.19556045532227
        relativeCreated: 10439.222812652588
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0655742
        msecs: 65.57416915893555
        relativeCreated: 10439.601421356201
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.65642162
        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: 1754518628.0656552
        msecs: 65.65523147583008
        relativeCreated: 10439.682483673096
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.066271
        msecs: 66.27106666564941
        relativeCreated: 10440.298318862915
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba root  old=0.0 new=100.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: 1754518628.0665321
        msecs: 66.53213500976562
        relativeCreated: 10440.559387207031
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=100.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.66594242
        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: 1754518628.066606
        msecs: 66.60604476928711
        relativeCreated: 10440.633296966553
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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)
      
              # 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 = 100.0
      E         [ 0 |                              | 100 ]   0
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00019974680617451668
      

      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.00030771130695939064
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0032308921217918396
      

      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
        [DEBUG] Callback called with value = 150.0
        [ 0 |██████████████████████████████| 150 ]   150
      
      assert []
      

      traceback:

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

      log:

      -   name: pcaspy.SimplePV.getValue
        msg: VAL: Read value 100.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: 1754518628.0728383
        msecs: 72.83830642700195
        relativeCreated: 10446.865558624268
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba root  old=100.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: 1754518628.072955
        msecs: 72.95489311218262
        relativeCreated: 10446.982145309448
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.73102372
        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: 1754518628.0731156
        msecs: 73.11558723449707
        relativeCreated: 10447.142839431763
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.07449
        msecs: 74.49007034301758
        relativeCreated: 10448.517322540283
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0748112
        msecs: 74.81122016906738
        relativeCreated: 10448.838472366333
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=150.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.74869695
        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: 1754518628.0748818
        msecs: 74.88179206848145
        relativeCreated: 10448.909044265747
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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         [DEBUG] Callback called with value = 150.0
      E         [ 0 |██████████████████████████████| 150 ]   150
      E         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00019653094932436943
      

      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.000299748033285141
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.002393356990069151
      

      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
      
      assert []
      

      traceback:

      -   path: tests/test_utils_pv.py
        lineno: 81
        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: 1754518628.0811598
        msecs: 81.15983009338379
        relativeCreated: 10455.18708229065
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0815566
        msecs: 81.55655860900879
        relativeCreated: 10455.583810806274
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.81611559
        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: 1754518628.0816238
        msecs: 81.62379264831543
        relativeCreated: 10455.651044845581
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   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: 1754518628.0822747
        msecs: 82.2746753692627
        relativeCreated: 10456.301927566528
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0825338
        msecs: 82.5338363647461
        relativeCreated: 10456.561088562012
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=-50.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.82589393
        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: 1754518628.082601
        msecs: 82.60107040405273
        relativeCreated: 10456.628322601318
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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)
      
              # 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         
      E       assert []
      
      tests/test_utils_pv.py:81: AssertionError
      

      📌 Teardown phase

      duration:

      0.00019702408462762833
      

      outcome:

      passed
      

    Function: test_use_callback_context_manager

    • Test 355

      📌 Setup phase

      duration:

      0.00013807881623506546
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0014393548481166363
      

      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 -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: 1754518628.0885787
        msecs: 88.57870101928711
        relativeCreated: 10462.605953216553
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.SimplePV.writeValue
        msg: VAL: ac8e6e15caba 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: 1754518628.0888944
        msecs: 88.89436721801758
        relativeCreated: 10462.921619415283
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      -   name: pcaspy.Driver.setParam
        msg: VAL: value=0.0 alarm=NO_ALARM severity=NO_ALARM flag=True mask=3 time=1123366628.88965303
        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: 1754518628.0889783
        msecs: 88.97829055786133
        relativeCreated: 10463.005542755127
        thread: 139826531542720
        threadName: Thread-4
        processName: MainProcess
        process: 1860
      

      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.00019292300567030907
      

      outcome:

      passed
      
  • 📄 test_utils_tqdm_mod.py

    Function: test_float_alignment_in_bar

    • Test 454

      📌 Setup phase

      duration:

      0.00013051088899374008
      

      outcome:

      passed
      

      📌 Call phase

      duration:

      0.0015491326339542866
      

      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.00013912096619606018
      

      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