5935 lines
138 KiB
JSON
5935 lines
138 KiB
JSON
[
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_type_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_long_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_value_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_empty_value_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_pstrue_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_psfalse_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_None",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_True",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_False",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_nan",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_nan",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np2D_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_bool",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np1D_object",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_float",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_np_scalar_bool",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_list",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "morbidissimo/morbidissimo/morioc/test_infer_type.py::test_it_tuple",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_split_at[lst0-2-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"lst": [
|
|
"a",
|
|
"b",
|
|
"c",
|
|
"d"
|
|
],
|
|
"index": 2,
|
|
"expected": [
|
|
[
|
|
"a",
|
|
"b"
|
|
],
|
|
[
|
|
"c",
|
|
"d"
|
|
]
|
|
]
|
|
},
|
|
"id": "lst0-2-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_split_at[lst1-1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"lst": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"index": 1,
|
|
"expected": [
|
|
[
|
|
"x"
|
|
],
|
|
[
|
|
"y"
|
|
]
|
|
]
|
|
},
|
|
"id": "lst1-1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_split_at[lst2-0-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"lst": [],
|
|
"index": 0,
|
|
"expected": [
|
|
[],
|
|
[]
|
|
]
|
|
},
|
|
"id": "lst2-0-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_lists_unique[a0-b0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"b": [
|
|
"b",
|
|
"c"
|
|
],
|
|
"expected": [
|
|
"a",
|
|
"b",
|
|
"c"
|
|
]
|
|
},
|
|
"id": "a0-b0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_lists_unique[a1-b1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": [],
|
|
"b": [
|
|
"x"
|
|
],
|
|
"expected": [
|
|
"x"
|
|
]
|
|
},
|
|
"id": "a1-b1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_lists_unique[a2-b2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"b": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"expected": [
|
|
"x",
|
|
"y"
|
|
]
|
|
},
|
|
"id": "a2-b2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_dicts_unique[a0-b0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": {
|
|
"a": 1
|
|
},
|
|
"b": {
|
|
"b": 2
|
|
},
|
|
"expected": {
|
|
"a": 1,
|
|
"b": 2
|
|
}
|
|
},
|
|
"id": "a0-b0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_dicts_unique[a1-b1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": {
|
|
"x": 1
|
|
},
|
|
"b": {
|
|
"x": 9,
|
|
"y": 3
|
|
},
|
|
"expected": {
|
|
"x": 1,
|
|
"y": 3
|
|
}
|
|
},
|
|
"id": "a1-b1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_merge_dicts_unique[a2-b2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"a": {},
|
|
"b": {
|
|
"k": 4
|
|
},
|
|
"expected": {
|
|
"k": 4
|
|
}
|
|
},
|
|
"id": "a2-b2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_pos_basic[pos0-expected_names0]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"expected_names": [
|
|
"a",
|
|
"b"
|
|
]
|
|
},
|
|
"id": "pos0-expected_names0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_pos_basic[pos1-expected_names1]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [
|
|
"param1",
|
|
"value_2",
|
|
"Z"
|
|
],
|
|
"expected_names": [
|
|
"param1",
|
|
"value_2",
|
|
"Z"
|
|
]
|
|
},
|
|
"id": "pos1-expected_names1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_pos_basic[pos2-expected_names2]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [],
|
|
"expected_names": []
|
|
},
|
|
"id": "pos2-expected_names2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_kw_basic[kw0-expected_keys0-expected_defaults0]",
|
|
"callspec": {
|
|
"params": {
|
|
"kw": {
|
|
"a": 1,
|
|
"b": 2
|
|
},
|
|
"expected_keys": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"expected_defaults": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
"id": "kw0-expected_keys0-expected_defaults0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_kw_basic[kw1-expected_keys1-expected_defaults1]",
|
|
"callspec": {
|
|
"params": {
|
|
"kw": {
|
|
"param_x": 0
|
|
},
|
|
"expected_keys": [
|
|
"param_x"
|
|
],
|
|
"expected_defaults": [
|
|
0
|
|
]
|
|
},
|
|
"id": "kw1-expected_keys1-expected_defaults1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_params_kw_basic[kw2-expected_keys2-expected_defaults2]",
|
|
"callspec": {
|
|
"params": {
|
|
"kw": {},
|
|
"expected_keys": [],
|
|
"expected_defaults": []
|
|
},
|
|
"id": "kw2-expected_keys2-expected_defaults2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_signature_parametrized[pos0-kw0-(x, y, z=3)]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [
|
|
"x",
|
|
"y"
|
|
],
|
|
"kw": {
|
|
"z": 3
|
|
},
|
|
"expected_signature": "(x, y, z=3)"
|
|
},
|
|
"id": "pos0-kw0-(x, y, z=3)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_signature_parametrized[pos1-kw1-(a, b=1, c=2)]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [
|
|
"a"
|
|
],
|
|
"kw": {
|
|
"b": 1,
|
|
"c": 2
|
|
},
|
|
"expected_signature": "(a, b=1, c=2)"
|
|
},
|
|
"id": "pos1-kw1-(a, b=1, c=2)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_make_signature_parametrized[pos2-kw2-(flag=False)]",
|
|
"callspec": {
|
|
"params": {
|
|
"pos": [],
|
|
"kw": {
|
|
"flag": false
|
|
},
|
|
"expected_signature": "(flag=False)"
|
|
},
|
|
"id": "pos2-kw2-(flag=False)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos0-expected_kw0]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function <lambda> at 0x7fe510d580d0>",
|
|
"expected_pos": [
|
|
"a",
|
|
"b"
|
|
],
|
|
"expected_kw": {
|
|
"c": 3,
|
|
"d": 4
|
|
}
|
|
},
|
|
"id": "<lambda>-expected_pos0-expected_kw0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos1-expected_kw1]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function <lambda> at 0x7fe510d65040>",
|
|
"expected_pos": [],
|
|
"expected_kw": "{'x': 1, 'y': <class 'inspect._empty'>, 'z': 0}"
|
|
},
|
|
"id": "<lambda>-expected_pos1-expected_kw1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_get_args_parametrized[<lambda>-expected_pos2-expected_kw2]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function <lambda> at 0x7fe510d65160>",
|
|
"expected_pos": [],
|
|
"expected_kw": {}
|
|
},
|
|
"id": "<lambda>-expected_pos2-expected_kw2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_signature_visible[wrap_all-(a, b, d=30, c=10)]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_all at 0x7fe510d653a0>",
|
|
"expected_sig": "(a, b, d=30, c=10)"
|
|
},
|
|
"id": "wrap_all-(a, b, d=30, c=10)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_signature_visible[wrap_skip-(a, b, c=10, d=20)]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_skip at 0x7fe510d65430>",
|
|
"expected_sig": "(a, b, c=10, d=20)"
|
|
},
|
|
"id": "wrap_skip-(a, b, c=10, d=20)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_signature_visible[wrap_ignore_all-(x, y, c=10, d=20)]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_ignore_all at 0x7fe510d654c0>",
|
|
"expected_sig": "(x, y, c=10, d=20)"
|
|
},
|
|
"id": "wrap_ignore_all-(x, y, c=10, d=20)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args0-kwargs0-36]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_all at 0x7fe510d653a0>",
|
|
"args": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"kwargs": {},
|
|
"expected_result": 36
|
|
},
|
|
"id": "wrap_all-args0-kwargs0-36"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_all-args1-kwargs1-11]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_all at 0x7fe510d653a0>",
|
|
"args": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"kwargs": {
|
|
"d": 5
|
|
},
|
|
"expected_result": 11
|
|
},
|
|
"id": "wrap_all-args1-kwargs1-11"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_skip-args2-kwargs2-10]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_skip at 0x7fe510d65430>",
|
|
"args": [
|
|
0,
|
|
0
|
|
],
|
|
"kwargs": {
|
|
"c": 3,
|
|
"d": 4
|
|
},
|
|
"expected_result": 10
|
|
},
|
|
"id": "wrap_skip-args2-kwargs2-10"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_argfwd.py::test_wrapper_behavior[wrap_ignore_all-args3-kwargs3-10]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function wrap_ignore_all at 0x7fe510d654c0>",
|
|
"args": [
|
|
0,
|
|
0
|
|
],
|
|
"kwargs": {},
|
|
"expected_result": 10
|
|
},
|
|
"id": "wrap_ignore_all-args3-kwargs3-10"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-y-True-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "y",
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-y-True-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-yes-True-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "yes",
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-yes-True-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-n-False-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "n",
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-n-False-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-no-False-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "no",
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-no-False-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input4-True-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": [
|
|
"maybe",
|
|
"y"
|
|
],
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-user_input4-True-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input5-False-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": [
|
|
"",
|
|
"no"
|
|
],
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-user_input5-False-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[None-user_input6-True-Question? [y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": [
|
|
"invalid",
|
|
"",
|
|
"invalid",
|
|
"yes"
|
|
],
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [y/n] "
|
|
},
|
|
"id": "None-user_input6-True-Question? [y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-y-True-Question? [Y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "y",
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [Y/n] "
|
|
},
|
|
"id": "y-y-True-Question? [Y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[y-n-False-Question? [Y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "n",
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [Y/n] "
|
|
},
|
|
"id": "y-n-False-Question? [Y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[y--True-Question? [Y/n] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "",
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [Y/n] "
|
|
},
|
|
"id": "y--True-Question? [Y/n] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-y-True-Question? [y/N] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "y",
|
|
"expected_output": true,
|
|
"expected_prompt": "Question? [y/N] "
|
|
},
|
|
"id": "n-y-True-Question? [y/N] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[n-n-False-Question? [y/N] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "n",
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [y/N] "
|
|
},
|
|
"id": "n-n-False-Question? [y/N] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no[n--False-Question? [y/N] ]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "",
|
|
"expected_output": false,
|
|
"expected_prompt": "Question? [y/N] "
|
|
},
|
|
"id": "n--False-Question? [y/N] "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "<class 'KeyboardInterrupt'>",
|
|
"expected_output": false,
|
|
"ctrl_c": "n"
|
|
},
|
|
"id": "None-KeyboardInterrupt-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-KeyboardInterrupt-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "<class 'KeyboardInterrupt'>",
|
|
"expected_output": true,
|
|
"ctrl_c": "y"
|
|
},
|
|
"id": "None-KeyboardInterrupt-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "<class 'KeyboardInterrupt'>",
|
|
"expected_output": false,
|
|
"ctrl_c": "n"
|
|
},
|
|
"id": "y-KeyboardInterrupt-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[y-KeyboardInterrupt-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "<class 'KeyboardInterrupt'>",
|
|
"expected_output": true,
|
|
"ctrl_c": "y"
|
|
},
|
|
"id": "y-KeyboardInterrupt-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-KeyboardInterrupt-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "<class 'KeyboardInterrupt'>",
|
|
"expected_output": false,
|
|
"ctrl_c": "n"
|
|
},
|
|
"id": "n-KeyboardInterrupt-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input5-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['invalid', '', 'invalid', <class 'KeyboardInterrupt'>]",
|
|
"expected_output": false,
|
|
"ctrl_c": "n"
|
|
},
|
|
"id": "None-user_input5-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input6-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['invalid', '', 'invalid', <class 'KeyboardInterrupt'>]",
|
|
"expected_output": true,
|
|
"ctrl_c": "y"
|
|
},
|
|
"id": "None-user_input6-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[None-user_input7-False-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['foo', '', <class 'KeyboardInterrupt'>, '', 'invalid', <class 'KeyboardInterrupt'>, 'no']",
|
|
"expected_output": false,
|
|
"ctrl_c": null
|
|
},
|
|
"id": "None-user_input7-False-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input8-False-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "[<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, '']",
|
|
"expected_output": false,
|
|
"ctrl_c": null
|
|
},
|
|
"id": "n-user_input8-False-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_c[n-user_input9-False-Invalid]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "[<class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, <class 'KeyboardInterrupt'>, '']",
|
|
"expected_output": false,
|
|
"ctrl_c": "Invalid"
|
|
},
|
|
"id": "n-user_input9-False-Invalid"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": false,
|
|
"ctrl_d": "n"
|
|
},
|
|
"id": "None-EOFError-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-EOFError-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": true,
|
|
"ctrl_d": "y"
|
|
},
|
|
"id": "None-EOFError-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": true,
|
|
"ctrl_d": "y"
|
|
},
|
|
"id": "y-EOFError-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": true,
|
|
"ctrl_d": "y"
|
|
},
|
|
"id": "n-EOFError-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": false,
|
|
"ctrl_d": "n"
|
|
},
|
|
"id": "n-EOFError-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input5-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['foo', <class 'EOFError'>]",
|
|
"expected_output": true,
|
|
"ctrl_d": "y"
|
|
},
|
|
"id": "None-user_input5-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input6-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['foo', <class 'EOFError'>]",
|
|
"expected_output": false,
|
|
"ctrl_d": "n"
|
|
},
|
|
"id": "None-user_input6-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[y-EOFError-True-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "y",
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": true,
|
|
"ctrl_d": null
|
|
},
|
|
"id": "y-EOFError-True-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-EOFError-False-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "<class 'EOFError'>",
|
|
"expected_output": false,
|
|
"ctrl_d": null
|
|
},
|
|
"id": "n-EOFError-False-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input9-True-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['invalid', 'ok', '', <class 'EOFError'>, 'ok', 'y']",
|
|
"expected_output": true,
|
|
"ctrl_d": null
|
|
},
|
|
"id": "None-user_input9-True-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[n-user_input10-False-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": "n",
|
|
"user_input": "['no', <class 'EOFError'>]",
|
|
"expected_output": false,
|
|
"ctrl_d": null
|
|
},
|
|
"id": "n-user_input10-False-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input11-True-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "[<class 'EOFError'>, <class 'EOFError'>, <class 'EOFError'>, 'y']",
|
|
"expected_output": true,
|
|
"ctrl_d": null
|
|
},
|
|
"id": "None-user_input11-True-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input12-False-n]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['invalid', '', 'nope', <class 'EOFError'>]",
|
|
"expected_output": false,
|
|
"ctrl_d": "n"
|
|
},
|
|
"id": "None-user_input12-False-n"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_ctrl_d[None-user_input13-True-y]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"user_input": "['nope', 'nope', <class 'EOFError'>]",
|
|
"expected_output": true,
|
|
"ctrl_d": "y"
|
|
},
|
|
"id": "None-user_input13-True-y"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-invalid-None-user_input0-False]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"ctrl_c": "invalid",
|
|
"ctrl_d": null,
|
|
"user_input": "['what', '', 'nope', <class 'KeyboardInterrupt'>, 'ok', <class 'EOFError'>, 'no']",
|
|
"expected_output": false
|
|
},
|
|
"id": "None-invalid-None-user_input0-False"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-None-notananswer-user_input1-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"ctrl_c": null,
|
|
"ctrl_d": "notananswer",
|
|
"user_input": "['maybe', <class 'KeyboardInterrupt'>, 'nop', 'yep', <class 'EOFError'>, 'yes']",
|
|
"expected_output": true
|
|
},
|
|
"id": "None-None-notananswer-user_input1-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ask_yes_no.py::test_ask_yes_no_mixed_sequences[None-n-nop-user_input2-False]",
|
|
"callspec": {
|
|
"params": {
|
|
"default": null,
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_channels.py::test_load_channels_and_channels_class_with_professional_names",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_config.py::test_config_with_nested_and_list_data",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_config.py::test_config_with_strange_and_edge_keys",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[red]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "red"
|
|
},
|
|
"id": "red"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[blue]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "blue"
|
|
},
|
|
"id": "blue"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[yellow]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "yellow"
|
|
},
|
|
"id": "yellow"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[green]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "green"
|
|
},
|
|
"id": "green"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[cyan]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "cyan"
|
|
},
|
|
"id": "cyan"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[magenta]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "magenta"
|
|
},
|
|
"id": "magenta"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[white]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "white"
|
|
},
|
|
"id": "white"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_load_color_variants_all_keys_and_types[black]",
|
|
"callspec": {
|
|
"params": {
|
|
"base_color": "black"
|
|
},
|
|
"id": "black"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"Fancy",
|
|
"list"
|
|
],
|
|
{
|
|
"a": 7
|
|
},
|
|
null
|
|
],
|
|
"color_spec": [
|
|
"red",
|
|
"+"
|
|
],
|
|
"sep": " | ",
|
|
"expected_flatten": "['Fancy', 'list'] | {'a': 7} | None",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects0-color_spec0- | -['Fancy', 'list'] | {'a': 7} | None-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
{
|
|
"k": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
99,
|
|
[
|
|
"X",
|
|
[
|
|
"Y"
|
|
]
|
|
]
|
|
],
|
|
"color_spec": [
|
|
"blue",
|
|
"++"
|
|
],
|
|
"sep": " - ",
|
|
"expected_flatten": "{'k': [1, 2]} - 99 - ['X', ['Y']]",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects1-color_spec1- - -{'k': [1, 2]} - 99 - ['X', ['Y']]-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects2-color_spec2- / -[] / {} / End-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[],
|
|
{},
|
|
"End"
|
|
],
|
|
"color_spec": [
|
|
"magenta",
|
|
"--"
|
|
],
|
|
"sep": " / ",
|
|
"expected_flatten": "[] / {} / End",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects2-color_spec2- / -[] / {} / End-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects3-color_spec3-;-['', [3, 4]];done;0-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"",
|
|
[
|
|
3,
|
|
4
|
|
]
|
|
],
|
|
"done",
|
|
0
|
|
],
|
|
"color_spec": [
|
|
"green",
|
|
""
|
|
],
|
|
"sep": ";",
|
|
"expected_flatten": "['', [3, 4]];done;0",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects3-color_spec3-;-['', [3, 4]];done;0-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"alpha",
|
|
null
|
|
],
|
|
[
|
|
"beta",
|
|
{}
|
|
],
|
|
"stop"
|
|
],
|
|
"color_spec": [
|
|
"yellow",
|
|
""
|
|
],
|
|
"sep": "::",
|
|
"expected_flatten": "['alpha', None]::['beta', {}]::stop",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects4-color_spec4-::-['alpha', None]::['beta', {}]::stop-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"deep",
|
|
[
|
|
"deeper",
|
|
[
|
|
"deepest"
|
|
]
|
|
]
|
|
],
|
|
"X"
|
|
],
|
|
"color_spec": [
|
|
"cyan",
|
|
"+"
|
|
],
|
|
"sep": " ... ",
|
|
"expected_flatten": "['deep', ['deeper', ['deepest']]] ... X",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects5-color_spec5- ... -['deep', ['deeper', ['deepest']]] ... X-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None]",
|
|
"callspec": {
|
|
"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
|
|
},
|
|
"id": "objects6-color_spec6- // -{'dict': {'nested': [4, 5]}} // [True, False] // 6.28-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects7-color_spec7-==-['A', ['B']]==string==C-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"A",
|
|
[
|
|
"B"
|
|
]
|
|
],
|
|
"string",
|
|
"C"
|
|
],
|
|
"color_spec": [
|
|
"red",
|
|
"--"
|
|
],
|
|
"sep": "==",
|
|
"expected_flatten": "['A', ['B']]==string==C",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects7-color_spec7-==-['A', ['B']]==string==C-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"Test",
|
|
null,
|
|
[]
|
|
],
|
|
{
|
|
"v": 0
|
|
}
|
|
],
|
|
"color_spec": [
|
|
"green",
|
|
"++"
|
|
],
|
|
"sep": " ++ ",
|
|
"expected_flatten": "['Test', None, []] ++ {'v': 0}",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects8-color_spec8- ++ -['Test', None, []] ++ {'v': 0}-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects9-None-;-['no', 'color'];plain-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"no",
|
|
"color"
|
|
],
|
|
"plain"
|
|
],
|
|
"color_spec": null,
|
|
"sep": ";",
|
|
"expected_flatten": "['no', 'color'];plain",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects9-None-;-['no', 'color'];plain-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects10-None- | -['simple'] | | 12-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"simple"
|
|
],
|
|
"",
|
|
12
|
|
],
|
|
"color_spec": null,
|
|
"sep": " | ",
|
|
"expected_flatten": "['simple'] | | 12",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects10-None- | -['simple'] | | 12-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects11-None- : -[['very', 'deep']] : {'ok': True}-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
[
|
|
"very",
|
|
"deep"
|
|
]
|
|
],
|
|
{
|
|
"ok": true
|
|
}
|
|
],
|
|
"color_spec": null,
|
|
"sep": " : ",
|
|
"expected_flatten": "[['very', 'deep']] : {'ok': True}",
|
|
"expected_error": null
|
|
},
|
|
"id": "objects11-None- : -[['very', 'deep']] : {'ok': True}-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects12-color_spec12-|-['fail', 'color']|123-ValueError]",
|
|
"callspec": {
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects13-color_spec13- * -['error'] * {}-ValueError]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"error"
|
|
],
|
|
{}
|
|
],
|
|
"color_spec": [
|
|
"cyan",
|
|
"xxx"
|
|
],
|
|
"sep": " * ",
|
|
"expected_flatten": "['error'] * {}",
|
|
"expected_error": "<class 'ValueError'>"
|
|
},
|
|
"id": "objects13-color_spec13- * -['error'] * {}-ValueError"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects14-color_spec14-//-['nope']//['bad']-ValueError]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
[
|
|
"nope"
|
|
],
|
|
[
|
|
"bad"
|
|
]
|
|
],
|
|
"color_spec": [
|
|
"magenta",
|
|
"invalid"
|
|
],
|
|
"sep": "//",
|
|
"expected_flatten": "['nope']//['bad']",
|
|
"expected_error": "<class 'ValueError'>"
|
|
},
|
|
"id": "objects14-color_spec14-//-['nope']//['bad']-ValueError"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_cpint.py::test_cprint_all_cases_fancy[objects15-color_spec15----wrong--base-ValueError]",
|
|
"callspec": {
|
|
"params": {
|
|
"objects": [
|
|
"wrong",
|
|
"base"
|
|
],
|
|
"color_spec": [
|
|
"notacolor",
|
|
""
|
|
],
|
|
"sep": "--",
|
|
"expected_flatten": "wrong--base",
|
|
"expected_error": "<class 'ValueError'>"
|
|
},
|
|
"id": "objects15-color_spec15----wrong--base-ValueError"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_traceable[A-entry0-creating: A(10, 20)]",
|
|
"callspec": {
|
|
"params": {
|
|
"cls": "<class 'test_utils_debug.A'>",
|
|
"entry": [
|
|
[
|
|
10,
|
|
20
|
|
],
|
|
{}
|
|
],
|
|
"expected": "creating: A(10, 20)"
|
|
},
|
|
"id": "A-entry0-creating: A(10, 20)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_traceable[A-entry1-creating: A(10, 20, e=100)]",
|
|
"callspec": {
|
|
"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)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_traceable[A-entry2-creating: A('foo', [1, 2, 3], flag=True, data={'x': 9})]",
|
|
"callspec": {
|
|
"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})"
|
|
}
|
|
},
|
|
{
|
|
"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...)]",
|
|
"callspec": {
|
|
"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...)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_traceable[A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])]",
|
|
"callspec": {
|
|
"params": {
|
|
"cls": "<class 'test_utils_debug.A'>",
|
|
"entry": [
|
|
[
|
|
"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
[
|
|
0,
|
|
0,
|
|
0,
|
|
0,
|
|
0
|
|
]
|
|
],
|
|
{}
|
|
],
|
|
"expected": "creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])"
|
|
},
|
|
"id": "A-entry4-creating: A('AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA..., [0, 0, 0, 0, 0])"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[abc-10-'abc']",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "abc",
|
|
"cutoff": 10,
|
|
"expected": "'abc'"
|
|
},
|
|
"id": "abc-10-'abc'"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa...]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
|
|
"cutoff": 10,
|
|
"expected": "'aaaaaaaaaa..."
|
|
},
|
|
"id": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-10-'aaaaaaaaaa..."
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[12345-10-12345]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 12345,
|
|
"cutoff": 10,
|
|
"expected": "12345"
|
|
},
|
|
"id": "12345-10-12345"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[value3-15-[0, 0, 0, 0, 0,...]",
|
|
"callspec": {
|
|
"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,..."
|
|
},
|
|
"id": "value3-15-[0, 0, 0, 0, 0,..."
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[None-10-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": null,
|
|
"cutoff": 10,
|
|
"expected": "None"
|
|
},
|
|
"id": "None-10-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_debug.py::test_short_repr[value5-20-Obj(xxxxxxxxxxxxxxxxx...]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "Obj(xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx)",
|
|
"cutoff": 20,
|
|
"expected": "Obj(xxxxxxxxxxxxxxxxx..."
|
|
},
|
|
"id": "value5-20-Obj(xxxxxxxxxxxxxxxxx..."
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_getattr[data0-x-1]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"x": 1,
|
|
"y": 2
|
|
},
|
|
"attr": "x",
|
|
"expected": 1
|
|
},
|
|
"id": "data0-x-1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_getattr[data1-world-ok]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"world": "ok"
|
|
},
|
|
"attr": "world",
|
|
"expected": "ok"
|
|
},
|
|
"id": "data1-world-ok"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_getattr[data2-outer-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"outer": {
|
|
"inner": 42
|
|
}
|
|
},
|
|
"attr": "outer",
|
|
"expected": {
|
|
"inner": 42
|
|
}
|
|
},
|
|
"id": "data2-outer-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_setattr[initial0-nouveau-123]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": {},
|
|
"attr": "nouveau",
|
|
"value": 123
|
|
},
|
|
"id": "initial0-nouveau-123"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_setattr[initial1-b-valeur]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": {
|
|
"a": 1
|
|
},
|
|
"attr": "b",
|
|
"value": "valeur"
|
|
},
|
|
"id": "initial1-b-valeur"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_delattr[initial0-a-expected_keys0]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": {
|
|
"a": 1,
|
|
"b": 2
|
|
},
|
|
"to_del": "a",
|
|
"expected_keys": [
|
|
"b"
|
|
]
|
|
},
|
|
"id": "initial0-a-expected_keys0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_delattr[initial1-k-expected_keys1]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": {
|
|
"k": "v"
|
|
},
|
|
"to_del": "k",
|
|
"expected_keys": []
|
|
},
|
|
"id": "initial1-k-expected_keys1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_dir[data0-expected_keys0]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"alpha": 1,
|
|
"beta": 2
|
|
},
|
|
"expected_keys": "{'alpha', 'beta'}"
|
|
},
|
|
"id": "data0-expected_keys0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_dir[data1-expected_keys1]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {},
|
|
"expected_keys": "set()"
|
|
},
|
|
"id": "data1-expected_keys1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data0-x-1-None]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"x": 1,
|
|
"y": 2
|
|
},
|
|
"attr": "x",
|
|
"expect_value": 1,
|
|
"expect_error": null
|
|
},
|
|
"id": "data0-x-1-None"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_attrdict_getattr_and_missing[data1-missing-None-'MyDict' object has no attribute 'missing']",
|
|
"callspec": {
|
|
"params": {
|
|
"data": {
|
|
"number": 42
|
|
},
|
|
"attr": "missing",
|
|
"expect_value": null,
|
|
"expect_error": "'MyDict' object has no attribute 'missing'"
|
|
},
|
|
"id": "data1-missing-None-'MyDict' object has no attribute 'missing'"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs0-None-kwargs0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"init_kwargs": {
|
|
"a": 1,
|
|
"b": 2
|
|
},
|
|
"other": null,
|
|
"kwargs": {},
|
|
"expected": {
|
|
"a": 1,
|
|
"b": 2
|
|
}
|
|
},
|
|
"id": "init_kwargs0-None-kwargs0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs1-other1-kwargs1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"init_kwargs": {},
|
|
"other": {
|
|
"x": 10,
|
|
"y": 20
|
|
},
|
|
"kwargs": {},
|
|
"expected": {
|
|
"x": 10,
|
|
"y": 20
|
|
}
|
|
},
|
|
"id": "init_kwargs1-other1-kwargs1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs2-other2-kwargs2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"init_kwargs": {
|
|
"world": "ok"
|
|
},
|
|
"other": {
|
|
"number": 42
|
|
},
|
|
"kwargs": {
|
|
"num2": 100
|
|
},
|
|
"expected": {
|
|
"world": "ok",
|
|
"number": 42,
|
|
"num2": 100
|
|
}
|
|
},
|
|
"id": "init_kwargs2-other2-kwargs2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs3-None-kwargs3-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"init_kwargs": {},
|
|
"other": null,
|
|
"kwargs": {
|
|
"alpha": "beta"
|
|
},
|
|
"expected": {
|
|
"alpha": "beta"
|
|
}
|
|
},
|
|
"id": "init_kwargs3-None-kwargs3-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs4-other4-kwargs4-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"init_kwargs": {},
|
|
"other": {
|
|
"key": "value"
|
|
},
|
|
"kwargs": {
|
|
"extra": 1
|
|
},
|
|
"expected": {
|
|
"key": "value",
|
|
"extra": 1
|
|
}
|
|
},
|
|
"id": "init_kwargs4-other4-kwargs4-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dictext.py::test_dictupdatemixin_init_and_update[init_kwargs5-other5-kwargs5-expected5]",
|
|
"callspec": {
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dotdir.py::test_dotdir_creation_and_base_exists",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dotdir.py::test_dotdir_repr_returns_path_str",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_dotdir.py::test_dotdir_call",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 + 2",
|
|
"expected": 3
|
|
},
|
|
"id": "1 + 2-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[4 - 2-2]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "4 - 2",
|
|
"expected": 2
|
|
},
|
|
"id": "4 - 2-2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[3 * 5-15]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "3 * 5",
|
|
"expected": 15
|
|
},
|
|
"id": "3 * 5-15"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[10 / 2-5.0]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "10 / 2",
|
|
"expected": 5.0
|
|
},
|
|
"id": "10 / 2-5.0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[10 % 3-1]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "10 % 3",
|
|
"expected": 1
|
|
},
|
|
"id": "10 % 3-1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[-5--5]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "-5",
|
|
"expected": -5
|
|
},
|
|
"id": "-5--5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[+7-7]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "+7",
|
|
"expected": 7
|
|
},
|
|
"id": "+7-7"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[1 + 2 * 3-7]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 + 2 * 3",
|
|
"expected": 7
|
|
},
|
|
"id": "1 + 2 * 3-7"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[(1 + 2) * 3-9]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "(1 + 2) * 3",
|
|
"expected": 9
|
|
},
|
|
"id": "(1 + 2) * 3-9"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-3)-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "-(-3)",
|
|
"expected": 3
|
|
},
|
|
"id": "-(-3)-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[-2 + 4 * 2-6]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "-2 + 4 * 2",
|
|
"expected": 6
|
|
},
|
|
"id": "-2 + 4 * 2-6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[(4 + 5) * (6 - 1)-45]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "(4 + 5) * (6 - 1)",
|
|
"expected": 45
|
|
},
|
|
"id": "(4 + 5) * (6 - 1)-45"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[(((3)))-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "(((3)))",
|
|
"expected": 3
|
|
},
|
|
"id": "(((3)))-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[-(-(-2))--2]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "-(-(-2))",
|
|
"expected": -2
|
|
},
|
|
"id": "-(-(-2))--2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + +4-7]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "3 + +4",
|
|
"expected": 7
|
|
},
|
|
"id": "3 + +4-7"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[3 + -4--1]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "3 + -4",
|
|
"expected": -1
|
|
},
|
|
"id": "3 + -4--1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[True + 1-2]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "True + 1",
|
|
"expected": 2
|
|
},
|
|
"id": "True + 1-2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid['string'-string]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "'string'",
|
|
"expected": "string"
|
|
},
|
|
"id": "'string'-string"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid[1e1000 * 1e1000-inf]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1e1000 * 1e1000",
|
|
"expected": Infinity
|
|
},
|
|
"id": "1e1000 * 1e1000-inf"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_valid['a' + 'b'-ab]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "'a' + 'b'",
|
|
"expected": "ab"
|
|
},
|
|
"id": "'a' + 'b'-ab"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[2 ** 3-Unsupported BinOp Pow]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "2 ** 3",
|
|
"expected_message": "Unsupported BinOp Pow"
|
|
},
|
|
"id": "2 ** 3-Unsupported BinOp Pow"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[3 << 1-Unsupported BinOp LShift]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "3 << 1",
|
|
"expected_message": "Unsupported BinOp LShift"
|
|
},
|
|
"id": "3 << 1-Unsupported BinOp LShift"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[1 < 2-Unsupported node type Compare]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 < 2",
|
|
"expected_message": "Unsupported node type Compare"
|
|
},
|
|
"id": "1 < 2-Unsupported node type Compare"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[abs(3)-Unsupported node type Call]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "abs(3)",
|
|
"expected_message": "Unsupported node type Call"
|
|
},
|
|
"id": "abs(3)-Unsupported node type Call"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[a + 2-Unsupported node type Name]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "a + 2",
|
|
"expected_message": "Unsupported node type Name"
|
|
},
|
|
"id": "a + 2-Unsupported node type Name"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[string-Unsupported node type Name]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "string",
|
|
"expected_message": "Unsupported node type Name"
|
|
},
|
|
"id": "string-Unsupported node type Name"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[[1, 2] + [3]-Unsupported node type List]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "[1, 2] + [3]",
|
|
"expected_message": "Unsupported node type List"
|
|
},
|
|
"id": "[1, 2] + [3]-Unsupported node type List"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_raises_with_message[{1: 2}-Unsupported node type Dict]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "{1: 2}",
|
|
"expected_message": "Unsupported node type Dict"
|
|
},
|
|
"id": "{1: 2}-Unsupported node type Dict"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[1 / 0-ZeroDivisionError]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 / 0",
|
|
"exception": "<class 'ZeroDivisionError'>"
|
|
},
|
|
"id": "1 / 0-ZeroDivisionError"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_arithmetic_eval_runtime_errors[10 % 0-ZeroDivisionError]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "10 % 0",
|
|
"exception": "<class 'ZeroDivisionError'>"
|
|
},
|
|
"id": "10 % 0-ZeroDivisionError"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_forgiving_eval[1 + 2-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 + 2",
|
|
"expected": 3
|
|
},
|
|
"id": "1 + 2-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_forgiving_eval[bad + 2-bad + 2]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "bad + 2",
|
|
"expected": "bad + 2"
|
|
},
|
|
"id": "bad + 2-bad + 2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_forgiving_eval[1 / 0-1 / 0]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 / 0",
|
|
"expected": "1 / 0"
|
|
},
|
|
"id": "1 / 0-1 / 0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_forgiving_eval[2 ** 10-2 ** 10]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "2 ** 10",
|
|
"expected": "2 ** 10"
|
|
},
|
|
"id": "2 ** 10-2 ** 10"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_defaulting_eval[3 * 4-0-12]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "3 * 4",
|
|
"default": 0,
|
|
"expected": 12
|
|
},
|
|
"id": "3 * 4-0-12"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_defaulting_eval[invalid + 1-99-99]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "invalid + 1",
|
|
"default": 99,
|
|
"expected": 99
|
|
},
|
|
"id": "invalid + 1-99-99"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_defaulting_eval[1 / 0--1--1]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "1 / 0",
|
|
"default": -1,
|
|
"expected": -1
|
|
},
|
|
"id": "1 / 0--1--1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_eval.py::test_defaulting_eval[2 ** 10-42-42]",
|
|
"callspec": {
|
|
"params": {
|
|
"expr": "2 ** 10",
|
|
"default": 42,
|
|
"expected": 42
|
|
},
|
|
"id": "2 ** 10-42-42"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_chained_exception_various[cause_key_error-High-level task failed\\ncaused by KeyError: 'missing']",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_key_error at 0x7fe4f2f9d4c0>",
|
|
"expected_output": "High-level task failed\ncaused by KeyError: 'missing'"
|
|
},
|
|
"id": "cause_key_error-High-level task failed\\ncaused by KeyError: 'missing'"
|
|
}
|
|
},
|
|
{
|
|
"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]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_index_error at 0x7fe4f2f9d5e0>",
|
|
"expected_output": "High-level task failed\ncaused by IndexError: list index out of range"
|
|
},
|
|
"id": "cause_index_error-High-level task failed\\ncaused by IndexError: list index out of range"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_chained_exception_various[cause_zero_division-High-level task failed\\ncaused by ZeroDivisionError: division by zero]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_zero_division at 0x7fe4f2f9d670>",
|
|
"expected_output": "High-level task failed\ncaused by ZeroDivisionError: division by zero"
|
|
},
|
|
"id": "cause_zero_division-High-level task failed\\ncaused by ZeroDivisionError: division by zero"
|
|
}
|
|
},
|
|
{
|
|
"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']",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_value_error at 0x7fe4f2f9d700>",
|
|
"expected_output": "High-level task failed\ncaused 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'"
|
|
}
|
|
},
|
|
{
|
|
"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]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_type_error at 0x7fe4f2f9d790>",
|
|
"expected_output": "High-level task failed\ncaused 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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_printed_exception[cause_key_error-KeyError: 'missing']",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_key_error at 0x7fe4f2f9d4c0>",
|
|
"expected_output": "KeyError: 'missing'"
|
|
},
|
|
"id": "cause_key_error-KeyError: 'missing'"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_printed_exception[cause_index_error-IndexError: list index out of range]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_index_error at 0x7fe4f2f9d5e0>",
|
|
"expected_output": "IndexError: list index out of range"
|
|
},
|
|
"id": "cause_index_error-IndexError: list index out of range"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_printed_exception[cause_zero_division-ZeroDivisionError: division by zero]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_zero_division at 0x7fe4f2f9d670>",
|
|
"expected_output": "ZeroDivisionError: division by zero"
|
|
},
|
|
"id": "cause_zero_division-ZeroDivisionError: division by zero"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_printed_exception[cause_value_error-ValueError: invalid literal for int() with base 10: 'not_a_number']",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_value_error at 0x7fe4f2f9d700>",
|
|
"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'"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_exceptions.py::test_printed_exception[cause_type_error-TypeError: can only concatenate str (not \"int\") to str]",
|
|
"callspec": {
|
|
"params": {
|
|
"func": "<function cause_type_error at 0x7fe4f2f9d790>",
|
|
"expected_output": "TypeError: can only concatenate str (not \"int\") to str"
|
|
},
|
|
"id": "cause_type_error-TypeError: can only concatenate str (not \"int\") to str"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_get_adj.py::test_get_adj_success",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_get_adj.py::test_get_adj_not_found",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_get_adj.py::test_ensure_adjs_mixed",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_get_adj.py::test_get_adjs_filter",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_get_pv_connect_false_and_true",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_strips_suffixes",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_invalid_name_raises",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_disabled_removed_relative_to_upstream",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_and_extras_build_handles_eagerly",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_val_connect_via_cache",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_speedup_get_pv",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_instantiation",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_speedup_motor_PV",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_init_list_attrs_created",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_extras_attrs_correct",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_hastepics.py::test_motor_callbacks_empty",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_ipy.py::test_devices_repr_fallback_and_ignore",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "[1 2 3]",
|
|
"expected": [
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"id": "input_obj0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj1-42]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "42",
|
|
"expected": 42
|
|
},
|
|
"id": "input_obj1-42"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[(1-1j)-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "(1-1j)",
|
|
"expected": {
|
|
"real": 1.0,
|
|
"imag": -1.0
|
|
}
|
|
},
|
|
"id": "(1-1j)-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj3-/tmp/file.txt]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "/tmp/file.txt",
|
|
"expected": "/tmp/file.txt"
|
|
},
|
|
"id": "input_obj3-/tmp/file.txt"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj4-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "{1, 2, 3}",
|
|
"expected": [
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"id": "input_obj4-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj5-expected5]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "{'a': array([10, 20])}",
|
|
"expected": {
|
|
"a": [
|
|
10,
|
|
20
|
|
]
|
|
}
|
|
},
|
|
"id": "input_obj5-expected5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj6-expected6]",
|
|
"callspec": {
|
|
"params": {
|
|
"input_obj": "{'c': (2+3j)}",
|
|
"expected": {
|
|
"c": {
|
|
"real": 2.0,
|
|
"imag": 3.0
|
|
}
|
|
}
|
|
},
|
|
"id": "input_obj6-expected6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_jsonext.py::test_json_validate_save_load[input_obj7-expected7]",
|
|
"callspec": {
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"id": "input_obj7-expected7"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_lazypv.py::test_getattr",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logcfg.py::test_custom_log_outputs[LONG-<lambda>-This is a LONG message]",
|
|
"callspec": {
|
|
"params": {
|
|
"levelname": "LONG",
|
|
"logfunc": "<function <lambda> at 0x7fe510d46d30>",
|
|
"message": "This is a LONG message"
|
|
},
|
|
"id": "LONG-<lambda>-This is a LONG message"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logcfg.py::test_custom_log_outputs[ENLARGE-<lambda>-Please ENLARGE this!]",
|
|
"callspec": {
|
|
"params": {
|
|
"levelname": "ENLARGE",
|
|
"logfunc": "<function <lambda> at 0x7fe50b1013a0>",
|
|
"message": "Please ENLARGE this!"
|
|
},
|
|
"id": "ENLARGE-<lambda>-Please ENLARGE this!"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logcfg.py::test_import_logging_once_per_module",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logign.py::test_ignore_log_msg_behavior[WARNING-This should be ignored-This should appear]",
|
|
"callspec": {
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logign.py::test_ignore_log_msg_behavior[ENLARGE-ENLARGE this-Keep this ENLARGE]",
|
|
"callspec": {
|
|
"params": {
|
|
"levelname": "ENLARGE",
|
|
"msg_to_ignore": "ENLARGE this",
|
|
"msg_to_keep": "Keep this ENLARGE"
|
|
},
|
|
"id": "ENLARGE-ENLARGE this-Keep this ENLARGE"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logign.py::test_ignore_only_by_level",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logign.py::test_ignore_only_by_msg",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_logign.py::test_filter_removed_after_context",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_format_value_with_units",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_format_value_without_units",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_name_default",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_name_custom",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_repr_format",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_update_changes_value",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_update_with_explicit_value",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_goto_sets_value_and_returns_result",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_call_is_alias_of_goto",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_markers_register_and_access",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_markers_repr_contains_all",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_marker_registry_dict_is_printable_dict",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_marker.py::test_markers_getitem_invalid_key_raises",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_metaclasses.py::test_combine_classes_combines_methods",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_metaclasses.py::test_registryabc_combines_registrymeta_and_abcmeta",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_namespace.py::test_namespace_pretty_repr_mixed_and_nested",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_arange[0-5-1-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 1,
|
|
"expected": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
]
|
|
},
|
|
"id": "0-5-1-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_arange[5-0--1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -1,
|
|
"expected": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
]
|
|
},
|
|
"id": "5-0--1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_arange[1-2-0.3-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 1,
|
|
"stop": 2,
|
|
"step": 0.3,
|
|
"expected": [
|
|
1,
|
|
1.3333333333333333,
|
|
1.6666666666666667,
|
|
2
|
|
]
|
|
},
|
|
"id": "1-2-0.3-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_arange[-2-2-1.5-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -2,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"expected": [
|
|
-2,
|
|
-0.6666666666666666,
|
|
0.6666666666666666,
|
|
2
|
|
]
|
|
},
|
|
"id": "-2-2-1.5-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_arange[2.5-0.5--0.4-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 2.5,
|
|
"stop": 0.5,
|
|
"step": -0.4,
|
|
"expected": [
|
|
0.5,
|
|
0.9,
|
|
1.3,
|
|
1.7,
|
|
2.1,
|
|
2.5
|
|
]
|
|
},
|
|
"id": "2.5-0.5--0.4-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[0-10-4-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 10,
|
|
"num": 4,
|
|
"expected": "[ 0. 2.5 5. 7.5 10. ]"
|
|
},
|
|
"id": "0-10-4-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[5-15-2-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 15,
|
|
"num": 2,
|
|
"expected": "[ 5. 10. 15.]"
|
|
},
|
|
"id": "5-15-2-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[-5-5-4-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -5,
|
|
"stop": 5,
|
|
"num": 4,
|
|
"expected": "[-5. -2.5 0. 2.5 5. ]"
|
|
},
|
|
"id": "-5-5-4-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[0-1-3-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 1,
|
|
"num": 3,
|
|
"expected": "[0. 0.33333333 0.66666667 1. ]"
|
|
},
|
|
"id": "0-1-3-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[2-2-3-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 2,
|
|
"stop": 2,
|
|
"num": 3,
|
|
"expected": "[2. 2. 2. 2.]"
|
|
},
|
|
"id": "2-2-3-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[3-0-3-expected5]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 3,
|
|
"stop": 0,
|
|
"num": 3,
|
|
"expected": "[3. 2. 1. 0.]"
|
|
},
|
|
"id": "3-0-3-expected5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[0-1-0-expected6]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 1,
|
|
"num": 0,
|
|
"expected": "[0.]"
|
|
},
|
|
"id": "0-1-0-expected6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_linspace[-2-2-3-expected7]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -2,
|
|
"stop": 2,
|
|
"num": 3,
|
|
"expected": "[-2. -0.66666667 0.66666667 2. ]"
|
|
},
|
|
"id": "-2-2-3-expected7"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[-2-2-2-True-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -2,
|
|
"stop": 2,
|
|
"step": 2,
|
|
"endpoint": true,
|
|
"expected": "[-2. 0. 2.]"
|
|
},
|
|
"id": "-2-2-2-True-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-True-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": true,
|
|
"expected": "[0. 2. 4.]"
|
|
},
|
|
"id": "0-5-2-True-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[0-5-2-False-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": false,
|
|
"expected": "[0. 2.]"
|
|
},
|
|
"id": "0-5-2-False-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[-1-2-1.5-True-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"endpoint": true,
|
|
"expected": "[-1.5 0. 1.5]"
|
|
},
|
|
"id": "-1-2-1.5-True-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[-1-2--1.5-True-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": -1.5,
|
|
"endpoint": true,
|
|
"expected": "[ 1.5 0. -1.5]"
|
|
},
|
|
"id": "-1-2--1.5-True-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_centered[5-0--2-True-expected5]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -2,
|
|
"endpoint": true,
|
|
"expected": "[0. 2. 4.]"
|
|
},
|
|
"id": "5-0--2-True-expected5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-True-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": true,
|
|
"expected": "[0. 2. 4.]"
|
|
},
|
|
"id": "0-5-2-True-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[0-5-2-False-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": false,
|
|
"expected": "[0. 2.]"
|
|
},
|
|
"id": "0-5-2-False-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-True-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"endpoint": true,
|
|
"expected": "[-1. 0.5 2. ]"
|
|
},
|
|
"id": "-1-2-1.5-True-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[-1-2-1.5-False-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"endpoint": false,
|
|
"expected": "[-1. 0.5]"
|
|
},
|
|
"id": "-1-2-1.5-False-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[-2-1-1.2-True-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -2,
|
|
"stop": 1,
|
|
"step": 1.2,
|
|
"endpoint": true,
|
|
"expected": "[-2. -0.8 0.4]"
|
|
},
|
|
"id": "-2-1-1.2-True-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-True-expected5]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -2,
|
|
"endpoint": true,
|
|
"expected": "[0. 2. 4.]"
|
|
},
|
|
"id": "5-0--2-True-expected5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_left_aligned[5-0--2-False-expected6]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -2,
|
|
"endpoint": false,
|
|
"expected": "[0. 2.]"
|
|
},
|
|
"id": "5-0--2-False-expected6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-True-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": true,
|
|
"expected": "[1. 3. 5.]"
|
|
},
|
|
"id": "0-5-2-True-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[0-5-2-False-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 0,
|
|
"stop": 5,
|
|
"step": 2,
|
|
"endpoint": false,
|
|
"expected": "[3. 5.]"
|
|
},
|
|
"id": "0-5-2-False-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-True-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"endpoint": true,
|
|
"expected": "[-1. 0.5 2. ]"
|
|
},
|
|
"id": "-1-2-1.5-True-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[-1-2-1.5-False-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -1,
|
|
"stop": 2,
|
|
"step": 1.5,
|
|
"endpoint": false,
|
|
"expected": "[0.5 2. ]"
|
|
},
|
|
"id": "-1-2-1.5-False-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-True-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -2,
|
|
"endpoint": true,
|
|
"expected": "[1. 3. 5.]"
|
|
},
|
|
"id": "5-0--2-True-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[5-0--2-False-expected5]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": 5,
|
|
"stop": 0,
|
|
"step": -2,
|
|
"endpoint": false,
|
|
"expected": "[3. 5.]"
|
|
},
|
|
"id": "5-0--2-False-expected5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_nice_steps_right_aligned[-3-3-2-True-expected6]",
|
|
"callspec": {
|
|
"params": {
|
|
"start": -3,
|
|
"stop": 3,
|
|
"step": 2,
|
|
"endpoint": true,
|
|
"expected": "[-3. -1. 1. 3.]"
|
|
},
|
|
"id": "-3-3-2-True-expected6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_scalar[5-0-10-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 5,
|
|
"vmin": 0,
|
|
"vmax": 10,
|
|
"expected": true
|
|
},
|
|
"id": "5-0-10-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_scalar[5-6-10-False]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 5,
|
|
"vmin": 6,
|
|
"vmax": 10,
|
|
"expected": false
|
|
},
|
|
"id": "5-6-10-False"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_scalar[5-None-10-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 5,
|
|
"vmin": null,
|
|
"vmax": 10,
|
|
"expected": true
|
|
},
|
|
"id": "5-None-10-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_scalar[5-0-None-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 5,
|
|
"vmin": 0,
|
|
"vmax": null,
|
|
"expected": true
|
|
},
|
|
"id": "5-0-None-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_scalar[5-None-None-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 5,
|
|
"vmin": null,
|
|
"vmax": null,
|
|
"expected": true
|
|
},
|
|
"id": "5-None-None-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_fraction[data0-2-5-0.6]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
],
|
|
"vmin": 2,
|
|
"vmax": 5,
|
|
"expected": 0.6
|
|
},
|
|
"id": "data0-2-5-0.6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_fraction[data1-5-25-0.6666666666666666]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
10,
|
|
20,
|
|
30
|
|
],
|
|
"vmin": 5,
|
|
"vmax": 25,
|
|
"expected": 0.6666666666666666
|
|
},
|
|
"id": "data1-5-25-0.6666666666666666"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_fraction[data2-None-2-0.3333333333333333]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"vmin": null,
|
|
"vmax": 2,
|
|
"expected": 0.3333333333333333
|
|
},
|
|
"id": "data2-None-2-0.3333333333333333"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_within_fraction[data3-0-1-0]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [],
|
|
"vmin": 0,
|
|
"vmax": 1,
|
|
"expected": 0
|
|
},
|
|
"id": "data3-0-1-0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_fraction_to_percentage[0.456-1-45.6]",
|
|
"callspec": {
|
|
"params": {
|
|
"fraction": 0.456,
|
|
"ndigits": 1,
|
|
"expected": 45.6
|
|
},
|
|
"id": "0.456-1-45.6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_fraction_to_percentage[0.12345-2-12.35]",
|
|
"callspec": {
|
|
"params": {
|
|
"fraction": 0.12345,
|
|
"ndigits": 2,
|
|
"expected": 12.35
|
|
},
|
|
"id": "0.12345-2-12.35"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_fraction_to_percentage[0.9999-0-100.0]",
|
|
"callspec": {
|
|
"params": {
|
|
"fraction": 0.9999,
|
|
"ndigits": 0,
|
|
"expected": 100.0
|
|
},
|
|
"id": "0.9999-0-100.0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_dtype[val0-ndarray]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": "[1 2 3]",
|
|
"expected": "<class 'numpy.ndarray'>"
|
|
},
|
|
"id": "val0-ndarray"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_dtype[val1-list]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"expected": "<class 'list'>"
|
|
},
|
|
"id": "val1-list"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_dtype[3.14-float]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 3.14,
|
|
"expected": "<class 'float'>"
|
|
},
|
|
"id": "3.14-float"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_shape[val0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": "[[1 2]\n [3 4]]",
|
|
"expected": [
|
|
2,
|
|
2
|
|
]
|
|
},
|
|
"id": "val0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_shape[val1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"expected": []
|
|
},
|
|
"id": "val1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_get_shape[42-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 42,
|
|
"expected": []
|
|
},
|
|
"id": "42-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_is_array[val0-True]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": "[1 2 3]",
|
|
"expected": true
|
|
},
|
|
"id": "val0-True"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_is_array[val1-False]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"expected": false
|
|
},
|
|
"id": "val1-False"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_npy.py::test_is_array[42-False]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 42,
|
|
"expected": false
|
|
},
|
|
"id": "42-False"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_path.py::test_can_create_all_files_user_says_yes",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_path.py::test_can_create_all_files_user_says_no",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_path.py::test_make_missing_dir_creates_folder",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_path.py::test_glob_files_returns_matching_files_only",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_path.py::test_filter_files_excludes_directories",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj0]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": {
|
|
"a": 1,
|
|
"b": [
|
|
2,
|
|
3
|
|
],
|
|
"c": {
|
|
"world": "ok"
|
|
}
|
|
}
|
|
},
|
|
"id": "test_obj0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj1]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": [
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5
|
|
]
|
|
},
|
|
"id": "test_obj1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[simple string]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": "simple string"
|
|
},
|
|
"id": "simple string"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[42]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": 42
|
|
},
|
|
"id": "42"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[3.14159]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": 3.14159
|
|
},
|
|
"id": "3.14159"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj5]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": [
|
|
true,
|
|
false,
|
|
null
|
|
]
|
|
},
|
|
"id": "test_obj5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_picklio.py::test_pickle_and_unpickle[test_obj6]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_obj": {
|
|
"complex": [
|
|
{
|
|
"list": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"dict": {
|
|
"x": 10
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"id": "test_obj6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxlen_valid[seq0-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
"a",
|
|
"abc",
|
|
""
|
|
],
|
|
"expected": 3
|
|
},
|
|
"id": "seq0-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxlen_valid[seq1-0]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [],
|
|
"expected": 0
|
|
},
|
|
"id": "seq1-0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxlen_valid[seq2-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
3
|
|
],
|
|
[
|
|
4,
|
|
5,
|
|
6
|
|
]
|
|
],
|
|
"expected": 3
|
|
},
|
|
"id": "seq2-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxlen_valid[seq3-2]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
{
|
|
"a": 2,
|
|
"b": 3
|
|
},
|
|
{},
|
|
{
|
|
"c": 4
|
|
}
|
|
],
|
|
"expected": 2
|
|
},
|
|
"id": "seq3-2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[42-2]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 42,
|
|
"expected": 2
|
|
},
|
|
"id": "42-2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[hello-5]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "hello",
|
|
"expected": 5
|
|
},
|
|
"id": "hello-5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[False-5]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": false,
|
|
"expected": 5
|
|
},
|
|
"id": "False-5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[None-4]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": null,
|
|
"expected": 4
|
|
},
|
|
"id": "None-4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[value4-9]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"expected": 9
|
|
},
|
|
"id": "value4-9"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[value5-8]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": {
|
|
"a": 1
|
|
},
|
|
"expected": 8
|
|
},
|
|
"id": "value5-8"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[value6-6]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": [
|
|
1,
|
|
2
|
|
],
|
|
"expected": 6
|
|
},
|
|
"id": "value6-6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[-0]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "",
|
|
"expected": 0
|
|
},
|
|
"id": "-0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_strlen[this is a phrase-16]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": "this is a phrase",
|
|
"expected": 16
|
|
},
|
|
"id": "this is a phrase-16"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxstrlen[seq0-6]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
1,
|
|
true,
|
|
3.1415
|
|
],
|
|
"expected": 6
|
|
},
|
|
"id": "seq0-6"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxstrlen[seq1-3]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
"aa",
|
|
"bbb",
|
|
"c"
|
|
],
|
|
"expected": 3
|
|
},
|
|
"id": "seq1-3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxstrlen[seq2-9]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[],
|
|
[
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
],
|
|
"expected": 9
|
|
},
|
|
"id": "seq2-9"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxstrlen[seq3-16]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
{
|
|
"a": 1
|
|
},
|
|
{},
|
|
{
|
|
"a": 1,
|
|
"b": 2
|
|
}
|
|
],
|
|
"expected": 16
|
|
},
|
|
"id": "seq3-16"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_maxstrlen[seq4-5]",
|
|
"callspec": {
|
|
"params": {
|
|
"seq": [
|
|
null,
|
|
false,
|
|
12345
|
|
],
|
|
"expected": 5
|
|
},
|
|
"id": "seq4-5"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_transpose_matrix[data0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
3,
|
|
4
|
|
]
|
|
],
|
|
"expected": [
|
|
[
|
|
1,
|
|
3
|
|
],
|
|
[
|
|
2,
|
|
4
|
|
]
|
|
]
|
|
},
|
|
"id": "data0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_transpose_matrix[data1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
[
|
|
"a",
|
|
"b"
|
|
],
|
|
[
|
|
"c",
|
|
"d"
|
|
]
|
|
],
|
|
"expected": [
|
|
[
|
|
"a",
|
|
"c"
|
|
],
|
|
[
|
|
"b",
|
|
"d"
|
|
]
|
|
]
|
|
},
|
|
"id": "data1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_transpose_matrix[data2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"data": [
|
|
[
|
|
{
|
|
"x": 1
|
|
},
|
|
{
|
|
"y": 2
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"x": 3
|
|
},
|
|
{
|
|
"y": 4
|
|
}
|
|
]
|
|
],
|
|
"expected": [
|
|
[
|
|
{
|
|
"x": 1
|
|
},
|
|
{
|
|
"x": 3
|
|
}
|
|
],
|
|
[
|
|
{
|
|
"y": 2
|
|
},
|
|
{
|
|
"y": 4
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"id": "data2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_prepend[initial0-1-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"prepend": 1,
|
|
"expected": [
|
|
1,
|
|
2,
|
|
3
|
|
]
|
|
},
|
|
"id": "initial0-1-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_prepend[initial1-a-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": [
|
|
"a",
|
|
"b",
|
|
"c"
|
|
],
|
|
"prepend": "a",
|
|
"expected": [
|
|
"a",
|
|
"b",
|
|
"c"
|
|
]
|
|
},
|
|
"id": "initial1-a-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_prepend[initial2-prepend2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": [
|
|
{
|
|
"a": 1
|
|
},
|
|
{
|
|
"b": 2
|
|
}
|
|
],
|
|
"prepend": {
|
|
"a": 1
|
|
},
|
|
"expected": [
|
|
{
|
|
"a": 1
|
|
},
|
|
{
|
|
"b": 2
|
|
}
|
|
]
|
|
},
|
|
"id": "initial2-prepend2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_prepend[initial3-prepend3-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"initial": [
|
|
[
|
|
1
|
|
],
|
|
[
|
|
2
|
|
],
|
|
[
|
|
3
|
|
]
|
|
],
|
|
"prepend": [
|
|
1
|
|
],
|
|
"expected": [
|
|
[
|
|
1
|
|
],
|
|
[
|
|
2
|
|
],
|
|
[
|
|
3
|
|
]
|
|
]
|
|
},
|
|
"id": "initial3-prepend3-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries0-widths0- a bbb]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
"a",
|
|
"bbb"
|
|
],
|
|
"widths": [
|
|
3,
|
|
5
|
|
],
|
|
"expected": " a bbb"
|
|
},
|
|
"id": "entries0-widths0- a bbb"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries1-widths1- 1 2]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
1,
|
|
2
|
|
],
|
|
"widths": [
|
|
2,
|
|
2
|
|
],
|
|
"expected": " 1 2"
|
|
},
|
|
"id": "entries1-widths1- 1 2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries2-widths2- long val]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
"long",
|
|
"val"
|
|
],
|
|
"widths": [
|
|
6,
|
|
4
|
|
],
|
|
"expected": " long val"
|
|
},
|
|
"id": "entries2-widths2- long val"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries3-widths3- True False]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
true,
|
|
false
|
|
],
|
|
"widths": [
|
|
5,
|
|
6
|
|
],
|
|
"expected": " True False"
|
|
},
|
|
"id": "entries3-widths3- True False"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries4-widths4- 123 4567]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
123,
|
|
4567
|
|
],
|
|
"widths": [
|
|
5,
|
|
5
|
|
],
|
|
"expected": " 123 4567"
|
|
},
|
|
"id": "entries4-widths4- 123 4567"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries5-widths5- text with space end]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
"text with space",
|
|
"end"
|
|
],
|
|
"widths": [
|
|
16,
|
|
5
|
|
],
|
|
"expected": " text with space end"
|
|
},
|
|
"id": "entries5-widths5- text with space end"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries6-widths6- {'a': 1} {'b': 2}]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
{
|
|
"a": 1
|
|
},
|
|
{
|
|
"b": 2
|
|
}
|
|
],
|
|
"widths": [
|
|
10,
|
|
10
|
|
],
|
|
"expected": " {'a': 1} {'b': 2}"
|
|
},
|
|
"id": "entries6-widths6- {'a': 1} {'b': 2}"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_table_line[entries7-widths7- [1, 2] [3, 4]]",
|
|
"callspec": {
|
|
"params": {
|
|
"entries": [
|
|
[
|
|
1,
|
|
2
|
|
],
|
|
[
|
|
3,
|
|
4
|
|
]
|
|
],
|
|
"widths": [
|
|
10,
|
|
10
|
|
],
|
|
"expected": " [1, 2] [3, 4]"
|
|
},
|
|
"id": "entries7-widths7- [1, 2] [3, 4]"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_label_sep[widths0------ ----]",
|
|
"callspec": {
|
|
"params": {
|
|
"widths": [
|
|
3,
|
|
4
|
|
],
|
|
"line": "-",
|
|
"expected": "--- ----"
|
|
},
|
|
"id": "widths0------ ----"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_label_sep[widths1-=-== ===]",
|
|
"callspec": {
|
|
"params": {
|
|
"widths": [
|
|
2,
|
|
3
|
|
],
|
|
"line": "=",
|
|
"expected": "== ==="
|
|
},
|
|
"id": "widths1-=-== ==="
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_fmt_label_sep[widths2-*-***** **]",
|
|
"callspec": {
|
|
"params": {
|
|
"widths": [
|
|
5,
|
|
2
|
|
],
|
|
"line": "*",
|
|
"expected": "***** **"
|
|
},
|
|
"id": "widths2-*-***** **"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_printable_dict_with_header[d0-HeaderTest-expected_lines0]",
|
|
"callspec": {
|
|
"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",
|
|
""
|
|
]
|
|
},
|
|
"id": "d0-HeaderTest-expected_lines0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_printing.py::test_printable_dict_of_dicts",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"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}}]",
|
|
"callspec": {
|
|
"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",
|
|
"\u2713 Success?",
|
|
"SuperPrecisionValue",
|
|
"Result Metadata"
|
|
],
|
|
"expected": "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}}"
|
|
},
|
|
"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}}"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[25-0-True-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": 25,
|
|
"value_before": 0,
|
|
"show_bar": true,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "25-0-True-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[50-25-True-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": 50,
|
|
"value_before": 25,
|
|
"show_bar": true,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "50-25-True-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[75-50-False-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": 75,
|
|
"value_before": 50,
|
|
"show_bar": false,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "75-50-False-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[100-75-True-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": 100,
|
|
"value_before": 75,
|
|
"show_bar": true,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "100-75-True-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[150-100-False-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": 150,
|
|
"value_before": 100,
|
|
"show_bar": false,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "150-100-False-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_put_with_progress_and_repr[-50-150-True-\\x1b[32m]",
|
|
"callspec": {
|
|
"params": {
|
|
"value_new": -50,
|
|
"value_before": 150,
|
|
"show_bar": true,
|
|
"expected_color": "\u001b[32m"
|
|
},
|
|
"id": "-50-150-True-\\x1b[32m"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_use_callback_context_manager",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pv.py::test_orig_repr_is_not_custom_repr",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_file_age[30-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"age_seconds": 30,
|
|
"expected": "0:00:30"
|
|
},
|
|
"id": "30-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_file_age[300-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"age_seconds": 300,
|
|
"expected": "0:05:00"
|
|
},
|
|
"id": "300-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_file_age[3600-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"age_seconds": 3600,
|
|
"expected": "1:00:00"
|
|
},
|
|
"id": "3600-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_file_age[86400-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"age_seconds": 86400,
|
|
"expected": "1 day, 0:00:00"
|
|
},
|
|
"id": "86400-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_file_age[1209600-expected4]",
|
|
"callspec": {
|
|
"params": {
|
|
"age_seconds": 1209600,
|
|
"expected": "14 days, 0:00:00"
|
|
},
|
|
"id": "1209600-expected4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_preload_valid_file",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_preload_old_file",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_preload_corrupt_file",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_offload",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_offload_exception",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_pvpreload.py::test_pvpreload_end_to_end",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_full_progress_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_half_progress_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_zero_progress_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_overflow_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_underflow_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_repr",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[0- ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 0,
|
|
"expected_bar_part": " "
|
|
},
|
|
"id": "0- "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[10-\\u2588 ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 10,
|
|
"expected_bar_part": "\u2588 "
|
|
},
|
|
"id": "10-\\u2588 "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[25-\\u2588\\u2588\\u258c ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 25,
|
|
"expected_bar_part": "\u2588\u2588\u258c "
|
|
},
|
|
"id": "25-\\u2588\\u2588\\u258c "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[27-\\u2588\\u2588\\u258a ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 27,
|
|
"expected_bar_part": "\u2588\u2588\u258a "
|
|
},
|
|
"id": "27-\\u2588\\u2588\\u258a "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[49-\\u2588\\u2588\\u2588\\u2588\\u2589 ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 49,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2589 "
|
|
},
|
|
"id": "49-\\u2588\\u2588\\u2588\\u2588\\u2589 "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[50-\\u2588\\u2588\\u2588\\u2588\\u2588 ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 50,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588 "
|
|
},
|
|
"id": "50-\\u2588\\u2588\\u2588\\u2588\\u2588 "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[51-\\u2588\\u2588\\u2588\\u2588\\u2588\\u258f ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 51,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588\u258f "
|
|
},
|
|
"id": "51-\\u2588\\u2588\\u2588\\u2588\\u2588\\u258f "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[73-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u258e ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 73,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258e "
|
|
},
|
|
"id": "73-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u258e "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[75-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u258c ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 75,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u258c "
|
|
},
|
|
"id": "75-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u258c "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[90-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 ]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 90,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588 "
|
|
},
|
|
"id": "90-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588 "
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_rangebar.py::test_each_value_separately[100-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588]",
|
|
"callspec": {
|
|
"params": {
|
|
"value": 100,
|
|
"expected_bar_part": "\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588"
|
|
},
|
|
"id": "100-\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588\\u2588"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[59.4-59 seconds]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 59.4,
|
|
"expected": "59 seconds"
|
|
},
|
|
"id": "59.4-59 seconds"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[59.9-60 seconds]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 59.9,
|
|
"expected": "60 seconds"
|
|
},
|
|
"id": "59.9-60 seconds"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[119.9-120 seconds]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 119.9,
|
|
"expected": "120 seconds"
|
|
},
|
|
"id": "119.9-120 seconds"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[120.1-2 minutes]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 120.1,
|
|
"expected": "2 minutes"
|
|
},
|
|
"id": "120.1-2 minutes"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[3599.9-60 minutes]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 3599.9,
|
|
"expected": "60 minutes"
|
|
},
|
|
"id": "3599.9-60 minutes"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[3600.1-60 minutes]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 3600.1,
|
|
"expected": "60 minutes"
|
|
},
|
|
"id": "3600.1-60 minutes"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[7199.9-120 minutes]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 7199.9,
|
|
"expected": "120 minutes"
|
|
},
|
|
"id": "7199.9-120 minutes"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[7200.1-2 hours]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 7200.1,
|
|
"expected": "2 hours"
|
|
},
|
|
"id": "7200.1-2 hours"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[90.4-90 seconds]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 90.4,
|
|
"expected": "90 seconds"
|
|
},
|
|
"id": "90.4-90 seconds"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[90.6-91 seconds]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 90.6,
|
|
"expected": "91 seconds"
|
|
},
|
|
"id": "90.6-91 seconds"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[121.9-2 minutes]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 121.9,
|
|
"expected": "2 minutes"
|
|
},
|
|
"id": "121.9-2 minutes"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[1296000.0-2 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 1296000.0,
|
|
"expected": "2 weeks"
|
|
},
|
|
"id": "1296000.0-2 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[2592000.0-4 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 2592000.0,
|
|
"expected": "4 weeks"
|
|
},
|
|
"id": "2592000.0-4 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[2800000.0-5 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 2800000.0,
|
|
"expected": "5 weeks"
|
|
},
|
|
"id": "2800000.0-5 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[3888000.0-6 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 3888000.0,
|
|
"expected": "6 weeks"
|
|
},
|
|
"id": "3888000.0-6 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[5097600.0-8 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 5097600.0,
|
|
"expected": "8 weeks"
|
|
},
|
|
"id": "5097600.0-8 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[5184000.0-9 weeks]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 5184000.0,
|
|
"expected": "9 weeks"
|
|
},
|
|
"id": "5184000.0-9 weeks"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[5270400.0-2 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 5270400.0,
|
|
"expected": "2 months"
|
|
},
|
|
"id": "5270400.0-2 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[23328000.0-9 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 23328000.0,
|
|
"expected": "9 months"
|
|
},
|
|
"id": "23328000.0-9 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[31104000.0-12 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 31104000.0,
|
|
"expected": "12 months"
|
|
},
|
|
"id": "31104000.0-12 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[33696000.0-13 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 33696000.0,
|
|
"expected": "13 months"
|
|
},
|
|
"id": "33696000.0-13 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[59616000.0-23 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 59616000.0,
|
|
"expected": "23 months"
|
|
},
|
|
"id": "59616000.0-23 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[62208000.0-24 months]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 62208000.0,
|
|
"expected": "24 months"
|
|
},
|
|
"id": "62208000.0-24 months"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_readable.py::test_readable_seconds[64208000.0-2 years]",
|
|
"callspec": {
|
|
"params": {
|
|
"seconds": 64208000.0,
|
|
"expected": "2 years"
|
|
},
|
|
"id": "64208000.0-2 years"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_metaclass_creates_weakset",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_metaclass_tracks_instances",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_registry_inheritance",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_instance_tracking",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_collect_instances_recursive",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_instances_function",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_non_registry_class_error",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_registry.py::test_signature_preservation",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_richcfg.py::test_rich_inspector_outputs_more_than_builtin",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_init_and_repr",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_call",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_matmul_with_string",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_matmul_with_list",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_matmul_with_single_int",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_at_future_triggered_and_logs",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_at_already_past",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_in_future_triggered_and_logs",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_in_past",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_later_with_seconds",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_later_with_past_datetime",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_run_at_tqdm_multiple_updates",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_today_basic",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_tomorrow_basic",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_yesterday_basic",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_today_matmul_string",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_tomorrow_matmul_list",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_run_later.py::test_yesterday_matmul_single",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_sendmail.py::test_sendmail_real_local_verbose",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_with_custom_name",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutInitialization::test_init_without_name",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_run_method",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_repr_output",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_source_with_regular_function",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_source_error_handling",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_as_shortcut_basic",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_as_shortcut_with_name",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_as_shortcut_factory_pattern",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutsSingleton::test_singleton_behavior",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutsSingleton::test_registration",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutsSingleton::test_getitem_access",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutsSingleton::test_missing_key",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestShortcutsSingleton::test_repr_output",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestFullIntegration::test_workflow",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::TestFullIntegration::test_multiple_shortcuts",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_shortcut.py::test_registry_inheritance",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[exclude_internals]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"v1",
|
|
"Visible",
|
|
false
|
|
],
|
|
[
|
|
"h1",
|
|
"Hidden",
|
|
true
|
|
]
|
|
],
|
|
"expected": [
|
|
"Visible"
|
|
],
|
|
"kwargs": {}
|
|
},
|
|
"id": "exclude_internals"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[include_internals]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"v1",
|
|
"Visible",
|
|
false
|
|
],
|
|
[
|
|
"h1",
|
|
"Hidden",
|
|
true
|
|
]
|
|
],
|
|
"expected": [
|
|
"Visible",
|
|
"Hidden"
|
|
],
|
|
"kwargs": {
|
|
"include_internal": true
|
|
}
|
|
},
|
|
"id": "include_internals"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[empty_case]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [],
|
|
"expected": [],
|
|
"kwargs": {}
|
|
},
|
|
"id": "empty_case"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[sort_str]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"3",
|
|
"Charlie"
|
|
],
|
|
[
|
|
"1",
|
|
"Alpha"
|
|
],
|
|
[
|
|
"2",
|
|
"Beta"
|
|
]
|
|
],
|
|
"expected": [
|
|
"Alpha",
|
|
"Beta",
|
|
"Charlie"
|
|
],
|
|
"kwargs": "{'sort_key': <class 'str'>}"
|
|
},
|
|
"id": "sort_str"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[sort_id]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"z3",
|
|
"C"
|
|
],
|
|
[
|
|
"a1",
|
|
"A"
|
|
],
|
|
[
|
|
"m2",
|
|
"B"
|
|
]
|
|
],
|
|
"expected": [
|
|
"A",
|
|
"B",
|
|
"C"
|
|
],
|
|
"kwargs": "{'sort_key': <function <lambda> at 0x7fe510959f70>}"
|
|
},
|
|
"id": "sort_id"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[sort_case_insensitive]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"3",
|
|
"Charlie"
|
|
],
|
|
[
|
|
"1",
|
|
"alpha"
|
|
],
|
|
[
|
|
"2",
|
|
"Beta"
|
|
]
|
|
],
|
|
"expected": [
|
|
"alpha",
|
|
"Beta",
|
|
"Charlie"
|
|
],
|
|
"kwargs": "{'sort_key': <function <lambda> at 0x7fe510969040>}"
|
|
},
|
|
"id": "sort_case_insensitive"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[sort_length]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"1",
|
|
"A"
|
|
],
|
|
[
|
|
"2",
|
|
"BB"
|
|
],
|
|
[
|
|
"3",
|
|
"CCC"
|
|
]
|
|
],
|
|
"expected": [
|
|
"A",
|
|
"BB",
|
|
"CCC"
|
|
],
|
|
"kwargs": "{'sort_key': <function <lambda> at 0x7fe5109690d0>}"
|
|
},
|
|
"id": "sort_length"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_snapshot.py::test_snapshot[sort_reverse]",
|
|
"callspec": {
|
|
"params": {
|
|
"test_input": [
|
|
[
|
|
"1",
|
|
"A"
|
|
],
|
|
[
|
|
"2",
|
|
"B"
|
|
],
|
|
[
|
|
"3",
|
|
"C"
|
|
]
|
|
],
|
|
"expected": [
|
|
"C",
|
|
"B",
|
|
"A"
|
|
],
|
|
"kwargs": "{'sort_key': <function <lambda> at 0x7fe510969160>}"
|
|
},
|
|
"id": "sort_reverse"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_termtitle.py::test_terminal_title_with_tmux",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_complete_progress_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_set_progress_multiple_points",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_format_sizeof_alignment",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_float_alignment_in_bar",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_custom_unit",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_clamp_above_total",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_tqdm_mod.py::test_clamp_below_zero",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_trinary.py::test_check_trinary_valid_values",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_trinary.py::test_check_trinary_invalid_value",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_trinary.py::test_check_trinary_with_custom_allowed_values",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_downcast_success",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_upcast_success",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_downcast_invalid",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_upcast_invalid",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_object_identity_preserved",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_ensure_subclass_valid",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_ensure_subclass_invalid",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_cast_changes_class",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_typecast.py::test_cast_preserves_identity",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_singleton_instance",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_singleton_identity",
|
|
"callspec": null
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[None-NoneType]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": null,
|
|
"expected": "NoneType"
|
|
},
|
|
"id": "None-NoneType"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[True-bool]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": true,
|
|
"expected": "bool"
|
|
},
|
|
"id": "True-bool"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[42-int]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": 42,
|
|
"expected": "int"
|
|
},
|
|
"id": "42-int"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[3.14-float]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": 3.14,
|
|
"expected": "float"
|
|
},
|
|
"id": "3.14-float"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[text-str]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "text",
|
|
"expected": "str"
|
|
},
|
|
"id": "text-str"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[obj5-set]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "{1, 2, 3}",
|
|
"expected": "set"
|
|
},
|
|
"id": "obj5-set"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[obj6-list]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": [
|
|
[
|
|
1
|
|
],
|
|
[
|
|
2,
|
|
3
|
|
]
|
|
],
|
|
"expected": "list"
|
|
},
|
|
"id": "obj6-list"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[obj7-list]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": [
|
|
{
|
|
"a": [
|
|
1,
|
|
2
|
|
]
|
|
},
|
|
{
|
|
"b": [
|
|
3,
|
|
4
|
|
]
|
|
}
|
|
],
|
|
"expected": "list"
|
|
},
|
|
"id": "obj7-list"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[obj8-dict]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": {
|
|
"key": [
|
|
{
|
|
"nested": 1
|
|
},
|
|
[
|
|
2,
|
|
3
|
|
]
|
|
]
|
|
},
|
|
"expected": "dict"
|
|
},
|
|
"id": "obj8-dict"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[<lambda>-function]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<function <lambda> at 0x7fe51095d8b0>",
|
|
"expected": "function"
|
|
},
|
|
"id": "<lambda>-function"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[sample_function-function]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<function sample_function at 0x7fe51095d820>",
|
|
"expected": "function"
|
|
},
|
|
"id": "sample_function-function"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[nested-function]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<function sample_function.<locals>.nested at 0x7fe51095d940>",
|
|
"expected": "function"
|
|
},
|
|
"id": "nested-function"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[len-builtin_function_or_method]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<built-in function len>",
|
|
"expected": "builtin_function_or_method"
|
|
},
|
|
"id": "len-builtin_function_or_method"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[sum-builtin_function_or_method]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<built-in function sum>",
|
|
"expected": "builtin_function_or_method"
|
|
},
|
|
"id": "sum-builtin_function_or_method"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[math-module]",
|
|
"callspec": {
|
|
"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"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[sys-module]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<module 'sys' (built-in)>",
|
|
"expected": "module"
|
|
},
|
|
"id": "sys-module"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[function-type]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<class 'function'>",
|
|
"expected": "type"
|
|
},
|
|
"id": "function-type"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[<genexpr>-generator]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<generator object <genexpr> at 0x7fe51049edd0>",
|
|
"expected": "generator"
|
|
},
|
|
"id": "<genexpr>-generator"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_typename[obj18-list_iterator]",
|
|
"callspec": {
|
|
"params": {
|
|
"obj": "<list_iterator object at 0x7fe5105c43d0>",
|
|
"expected": "list_iterator"
|
|
},
|
|
"id": "obj18-list_iterator"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_next_int[nums0-4]",
|
|
"callspec": {
|
|
"params": {
|
|
"nums": [
|
|
1,
|
|
2,
|
|
3
|
|
],
|
|
"expected": 4
|
|
},
|
|
"id": "nums0-4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_next_int[nums1-21]",
|
|
"callspec": {
|
|
"params": {
|
|
"nums": [
|
|
10,
|
|
20
|
|
],
|
|
"expected": 21
|
|
},
|
|
"id": "nums1-21"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_next_int[nums2-0]",
|
|
"callspec": {
|
|
"params": {
|
|
"nums": [],
|
|
"expected": 0
|
|
},
|
|
"id": "nums2-0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_zero_pad[7-3-007]",
|
|
"callspec": {
|
|
"params": {
|
|
"i": 7,
|
|
"n": 3,
|
|
"expected": "007"
|
|
},
|
|
"id": "7-3-007"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_zero_pad[123-5-00123]",
|
|
"callspec": {
|
|
"params": {
|
|
"i": 123,
|
|
"n": 5,
|
|
"expected": "00123"
|
|
},
|
|
"id": "123-5-00123"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_zero_pad[0-2-00]",
|
|
"callspec": {
|
|
"params": {
|
|
"i": 0,
|
|
"n": 2,
|
|
"expected": "00"
|
|
},
|
|
"id": "0-2-00"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_iround[3.6-4]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 3.6,
|
|
"expected": 4
|
|
},
|
|
"id": "3.6-4"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_iround[2.1-2]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": 2.1,
|
|
"expected": 2
|
|
},
|
|
"id": "2.1-2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_iround[-1.5--2]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": -1.5,
|
|
"expected": -2
|
|
},
|
|
"id": "-1.5--2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_iround[-1.4--1]",
|
|
"callspec": {
|
|
"params": {
|
|
"val": -1.4,
|
|
"expected": -1
|
|
},
|
|
"id": "-1.4--1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_sorted_naturally[items0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"items": [
|
|
"file1",
|
|
"file10",
|
|
"file2"
|
|
],
|
|
"expected": [
|
|
"file1",
|
|
"file2",
|
|
"file10"
|
|
]
|
|
},
|
|
"id": "items0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_sorted_naturally[items1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"items": [
|
|
"z9",
|
|
"z10",
|
|
"z2",
|
|
"z1"
|
|
],
|
|
"expected": [
|
|
"z1",
|
|
"z2",
|
|
"z9",
|
|
"z10"
|
|
]
|
|
},
|
|
"id": "items1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_utils.py::test_sorted_naturally_reverse[items0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"items": [
|
|
"file1",
|
|
"file10",
|
|
"file2"
|
|
],
|
|
"expected": [
|
|
"file10",
|
|
"file2",
|
|
"file1"
|
|
]
|
|
},
|
|
"id": "items0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_finite[args0-kwargs0-expected0]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [
|
|
10
|
|
],
|
|
"kwargs": {},
|
|
"expected": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9
|
|
]
|
|
},
|
|
"id": "args0-kwargs0-expected0"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_finite[args1-kwargs1-expected1]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [
|
|
0,
|
|
10
|
|
],
|
|
"kwargs": {},
|
|
"expected": [
|
|
0,
|
|
1,
|
|
2,
|
|
3,
|
|
4,
|
|
5,
|
|
6,
|
|
7,
|
|
8,
|
|
9
|
|
]
|
|
},
|
|
"id": "args1-kwargs1-expected1"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_finite[args2-kwargs2-expected2]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [
|
|
0,
|
|
10,
|
|
2
|
|
],
|
|
"kwargs": {},
|
|
"expected": [
|
|
0,
|
|
2,
|
|
4,
|
|
6,
|
|
8
|
|
]
|
|
},
|
|
"id": "args2-kwargs2-expected2"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_finite[args3-kwargs3-expected3]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [
|
|
10
|
|
],
|
|
"kwargs": {
|
|
"step": 2
|
|
},
|
|
"expected": [
|
|
0,
|
|
2,
|
|
4,
|
|
6,
|
|
8
|
|
]
|
|
},
|
|
"id": "args3-kwargs3-expected3"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_infinite[args0-kwargs0-count(0)]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [],
|
|
"kwargs": {},
|
|
"expected_repr": "count(0)"
|
|
},
|
|
"id": "args0-kwargs0-count(0)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_infinite[args1-kwargs1-count(0, 2)]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [],
|
|
"kwargs": {
|
|
"step": 2
|
|
},
|
|
"expected_repr": "count(0, 2)"
|
|
},
|
|
"id": "args1-kwargs1-count(0, 2)"
|
|
}
|
|
},
|
|
{
|
|
"nodeid": "tests/test_utils_xrange.py::test_xrange_too_many_args[args0]",
|
|
"callspec": {
|
|
"params": {
|
|
"args": [
|
|
1,
|
|
2,
|
|
3,
|
|
4
|
|
]
|
|
},
|
|
"id": "args0"
|
|
}
|
|
}
|
|
] |