|
71 | 71 | [{key_unbound: ["tag1"], key_empty: ["description"]}, {"description": "desc"}],
|
72 | 72 | ),
|
73 | 73 | ("; no author", [{key_unbound: ["no", "author"]}]),
|
74 |
| - ("description: Foo", [{"description": "foo"}]) |
| 74 | + ("description: Foo", [{"description": "foo"}]), |
75 | 75 | ]
|
76 | 76 |
|
77 | 77 | remap_cases: list[tuple] = [
|
78 | 78 | (test_entry_one, {"tags": [1000, 1001], "author": ["James"]}),
|
79 | 79 | (test_entry_two, {}),
|
80 |
| - (test_entry_three, {"tags": [1001], "description": ["Foo description"]}), |
| 80 | + (test_entry_three, {"tags": [1001], "description": ["foo description"]}), |
81 | 81 | (test_entry_four, {"author": ["Victor"], "description": ["description"]}),
|
82 | 82 | (test_entry_five, {"author": ["Victor", "James"]}),
|
83 | 83 | ]
|
|
157 | 157 | )
|
158 | 158 |
|
159 | 159 | filter_case_six: tuple = (
|
160 |
| - [{"description": "foo"}], |
161 |
| - SearchMode.OR, |
162 |
| - [(ItemType.ENTRY, 2), (ItemType.ENTRY, 5)] |
163 |
| - ) |
| 160 | + [{"description": "foo"}], |
| 161 | + SearchMode.OR, |
| 162 | + [(ItemType.ENTRY, 2), (ItemType.ENTRY, 5)], |
| 163 | +) |
164 | 164 |
|
165 | 165 | negative_filter_case_one: tuple = (
|
166 | 166 | [{key_empty: "description"}],
|
|
180 | 180 | [
|
181 | 181 | (ItemType.ENTRY, 0),
|
182 | 182 | (ItemType.ENTRY, 1),
|
183 |
| - (ItemType.ENTRY, 2), |
184 | 183 | (ItemType.ENTRY, 3),
|
185 | 184 | (ItemType.ENTRY, 4),
|
186 | 185 | ],
|
|
0 commit comments