File size: 347 Bytes
a8d4e3d
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import os
from src.Surveyor import Surveyor

def test_files():
    surveyor = Surveyor()
    sample_query = 'quantum entanglement'
    zip_file, survey_file = surveyor.survey(sample_query, max_search=10, num_papers=6,
                    debug=False, weigh_authors=False)
    assert os.path.exists(zip_file)
    assert os.path.exists(survey_file)