-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathtest_run_whole_search.py
More file actions
30 lines (18 loc) · 1003 Bytes
/
test_run_whole_search.py
File metadata and controls
30 lines (18 loc) · 1003 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
import pytest
import os
from run_whole_search import main
# def test_run_scopus():
# result = os.system('python run_whole_search.py --file_type=1 --articles_list=ArticlesDataDownloader/Scopus/scopus_full_test.csv')
# assert result == 0
# def test_run_ieee():
# result = os.system('python run_whole_search.py --file_type=2 --articles_list=ArticlesDataDownloader/IEEE/ieee_test.csv')
# assert result == 0
# def test_run_science_direct():
# result = os.system('python run_whole_search.py --file_type=3 --articles_list=ArticlesDataDownloader/ScienceDirect/science_direct_test.ris')
# assert result == 0
# def test_run_springer():
# result = os.system('python run_whole_search.py --file_type=4 --articles_list=ArticlesDataDownloader/Springer/springer_test.csv')
# assert result == 0
# def test_run_willey():
# result = os.system('python run_whole_search.py --file_type=6 --articles_list=ArticlesDataDownloader/Willey/willey_test.bib')
# assert result == 0