Scrape for "paris coronavirus" images

This commit is contained in:
2020-06-15 01:19:13 +02:00
parent da4d9b1dad
commit 8307a54fe0
4 changed files with 6 additions and 6 deletions

View File

@@ -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