import subprocess
import tempfile
from typing import Iterator
+from typing import Match
from typing import Optional
from typing import Set
return None
def __process_match(
- match: re.Match[str],
+ match: Match[str],
date_order: str,
) -> Optional[datetime.datetime]:
date_string = match.group(0)
@mock.patch("documents.views.match_document_types")
@mock.patch("documents.views.match_tags")
@mock.patch("documents.views.match_correspondents")
+ @override_settings(NUMBER_OF_SUGGESTED_DATES=10)
def test_get_suggestions(
self,
match_correspondents,