Add tests for the new SPWikiLoader and SPCsvLoader

This commit is contained in:
AntoJvlt
2021-05-16 15:32:22 +02:00
parent 9d83da830f
commit fb0ebb5bf0
7 changed files with 3090 additions and 7 deletions

View File

@@ -185,7 +185,7 @@ def test_remove_non_existent_tables_from_db(sp_importer, default_phrases,
tables_result[0][0] == 'place_classtype_testclasstypetable_to_keep'
)
def test_import_from_wiki(monkeypatch, temp_db_conn, def_config, sp_importer,
def test_import_phrases(monkeypatch, temp_db_conn, def_config, sp_importer,
placex_table, tokenizer_mock):
"""
Check that the main import_phrases() method is well executed.