Corrections de typage et d'appels à filter_table_data

This commit is contained in:
Colin Maudry
2026-04-19 23:55:20 +02:00
parent 7aef7acd34
commit e44fe452b2
6 changed files with 24 additions and 18 deletions
+1 -3
View File
@@ -38,9 +38,7 @@ def test_filter_table_data_does_not_call_track_search(monkeypatch, sample_lff):
calls = []
monkeypatch.setattr(table, "track_search", lambda *a, **kw: calls.append(a))
result = table.filter_table_data(
sample_lff, "{objet} icontains travaux", "tableau"
).collect()
result = table.filter_table_data(sample_lff, "{objet} icontains travaux").collect()
assert calls == []
assert result.height == 1