-def test_process_xml_content(temp_db_conn, def_config, special_phrases_importer):
- """
- Test that _process_xml_content() process the given xml content right
- by executing the right SQL functions for amenities and
- by returning the right set of pairs.
- """
- class_test = 'aerialway'
- type_test = 'zip_line'
-
- #Converted output set to a dict for easy assert further.
- results = dict(special_phrases_importer._process_xml_content(get_test_xml_wiki_content(), 'en'))
-
- assert results[class_test] and type_test in results.values()
-
-def test_remove_non_existent_tables_from_db(special_phrases_importer, default_phrases,