| 
									
										
										
										
											2020-04-27 12:54:12 -07:00
										 |  |  | def test_module_imports(): | 
					
						
							|  |  |  |     from haystack import Finder | 
					
						
							|  |  |  |     from haystack.database.sql import SQLDocumentStore | 
					
						
							|  |  |  |     from haystack.indexing.cleaning import clean_wiki_text | 
					
						
							| 
									
										
										
										
											2020-06-08 11:07:19 +02:00
										 |  |  |     from haystack.indexing.utils import convert_files_to_dicts, fetch_archive_from_http | 
					
						
							| 
									
										
										
										
											2020-04-27 12:54:12 -07:00
										 |  |  |     from haystack.reader.farm import FARMReader | 
					
						
							|  |  |  |     from haystack.reader.transformers import TransformersReader | 
					
						
							| 
									
										
										
										
											2020-06-30 19:05:45 +02:00
										 |  |  |     from haystack.retriever.sparse import TfidfRetriever | 
					
						
							| 
									
										
										
										
											2020-04-27 12:54:12 -07:00
										 |  |  |     from haystack.utils import print_answers | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     assert Finder is not None | 
					
						
							|  |  |  |     assert SQLDocumentStore is not None | 
					
						
							|  |  |  |     assert clean_wiki_text is not None | 
					
						
							| 
									
										
										
										
											2020-06-08 11:07:19 +02:00
										 |  |  |     assert convert_files_to_dicts is not None | 
					
						
							| 
									
										
										
										
											2020-04-27 12:54:12 -07:00
										 |  |  |     assert fetch_archive_from_http is not None | 
					
						
							|  |  |  |     assert FARMReader is not None | 
					
						
							|  |  |  |     assert TransformersReader is not None | 
					
						
							|  |  |  |     assert TfidfRetriever is not None | 
					
						
							|  |  |  |     assert print_answers is not None |