Added a filter for financial reports. (#372)

Finanical reports are now filtered before beeing added to the SQL
database to only added knwon keys.
Some matching is also done.
The most importend missing reports are printed to be implemented later
on.
Rapidfuzz could be used.
This commit is contained in:
2023-11-13 18:52:12 +01:00
committed by GitHub
parent da340d5ec5
commit d0677287b6
3 changed files with 47 additions and 16 deletions

View File

@ -123,7 +123,6 @@ def test_add_article_to_sql(news: News, full_db: Session) -> None:
transfer_news.add_article_to_sql(news, full_db)
@pytest.mark.working_on()
def test_transfer_news_to_sql(full_db: Session, monkeypatch: MonkeyPatch) -> None:
"""Tests if a set of news articles / sentiments can be added to the sql db."""
monkeypatch.setattr(