|
14 | 14 |
|
15 | 15 | index_types = [ |
16 | 16 | # reference to the columns key |
17 | | - "region", |
18 | | - dict(reg="region"), |
| 17 | + pytest.param("region", id="column_key"), |
| 18 | + pytest.param(dict(reg="region"), id="column_key_dict"), |
19 | 19 | # label_id, i.e. obj id without "label/" prefix - index can reference only attributes |
20 | | - "region", |
21 | | - dict(region="region"), |
| 20 | + pytest.param("region", id="label_id"), |
| 21 | + pytest.param(dict(region="region"), id="label_id_dict"), |
22 | 22 | # object identifier in string form |
23 | | - "label/region", |
24 | | - dict(reg="label/region"), |
| 23 | + pytest.param("label/region", id="obj_id_str"), |
| 24 | + pytest.param(dict(reg="label/region"), id="obj_id_str_dict"), |
25 | 25 | # Attribute instance |
26 | | - Attribute(local_id="abcd", label=ObjId(id="region", type="label")), |
27 | | - dict(region=Attribute(local_id="abcd", label=ObjId(id="region", type="label"))), |
| 26 | + pytest.param(Attribute(local_id="abcd", label=ObjId(id="region", type="label")), id="attribute"), |
| 27 | + pytest.param(dict(region=Attribute(local_id="abcd", label=ObjId(id="region", type="label"))), id="attribute_dict"), |
28 | 28 | # ObjId instance |
29 | | - ObjId(id="region", type="label"), |
30 | | - dict(region=ObjId(id="region", type="label")), |
| 29 | + pytest.param(ObjId(id="region", type="label"), id="obj_id"), |
| 30 | + pytest.param(dict(region=ObjId(id="region", type="label")), id="obj_id_dict"), |
31 | 31 | ] |
32 | 32 |
|
33 | 33 |
|
|
0 commit comments