Skip to content

Commit 665db70

Browse files
committed
test: correct the RG config fixture to a shape the server accepts
- RG configs take no `version` key, and a label's mask goes under `preset_mask` rather than being mapped to a bare string - The client treats `config_yaml` as an opaque string, so no test caught this; the fixture's only reader is whoever copies it as an example
1 parent 7491b57 commit 665db70

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_rg_configs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
CONFIG_ID_1 = "aaaaaaaa-1111-2222-3333-444444444444"
1919
CONFIG_ID_2 = "bbbbbbbb-1111-2222-3333-444444444444"
2020

21-
CONFIG_YAML = "version: '1.0'\nlabels:\n full_name: person_full_name\n"
21+
CONFIG_YAML = "labels:\n full_name:\n preset_mask: first_name_mask\n"
2222

2323

2424
@pytest.fixture

0 commit comments

Comments
 (0)