Scrape for "paris coronavirus" images
This commit is contained in:
@@ -3,7 +3,7 @@ from requests import get
|
||||
|
||||
from app.preprocessing import create_dataframe
|
||||
from app.data_request import request_dataset
|
||||
from constants import COLUMNS, DATASETS, URL
|
||||
from constants import COLUMNS, DATASETS, DATASET_URL
|
||||
|
||||
|
||||
def test_dataset_request():
|
||||
@@ -11,7 +11,7 @@ def test_dataset_request():
|
||||
Checks that the datasets URLs are reachable
|
||||
"""
|
||||
for dataset in DATASETS:
|
||||
response = get(URL.format(dataset))
|
||||
response = get(DATASET_URL.format(dataset))
|
||||
assert response.status_code == 200
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user