(
item: str,
pattern: re.Pattern[str],
under_words_text: list[str],
case_words_text: list[str],
expected: int | None,
)
| 103 | ], |
| 104 | ) |
| 105 | def test_find_fuzzy_match( |
| 106 | item: str, |
| 107 | pattern: re.Pattern[str], |
| 108 | under_words_text: list[str], |
| 109 | case_words_text: list[str], |
| 110 | expected: int | None, |
| 111 | ) -> None: |
| 112 | completer = SQLCompleter() |
| 113 | assert completer.find_fuzzy_match(item, pattern, under_words_text, case_words_text) == expected |
| 114 | |
| 115 | |
| 116 | def test_find_fuzzy_matches_collects_item_level_matches(monkeypatch) -> None: |
nothing calls this directly
no test coverage detected