From 74ce88e8b3ecd194019fe0f74bc11a88865a5efd Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 10 Jun 2020 21:50:08 +0200 Subject: [PATCH] Add DataFrame creation and filtering test --- tests/preprocessing_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/preprocessing_test.py b/tests/preprocessing_test.py index a01cd61..78f72d6 100644 --- a/tests/preprocessing_test.py +++ b/tests/preprocessing_test.py @@ -7,12 +7,18 @@ from os import remove def test_dataset_request(): + """ + Checks that the datasets URLs are reachable + """ for dataset in DATASETS: response = get(URL.format(dataset)) assert response.status_code == 200 def test_dataframe_creation(): + """ + Verifes that the DataFrames are created and filtered properly + """ for dataset in DATASETS: request_dataset(dataset) df = create_dataframe(dataset)