From 11e0199c35ce71a728cab0f847dca5f62812c327 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Tue, 29 Oct 2024 14:21:37 +0100 Subject: [PATCH] style: reformat test_products.py --- tests/unit/test_products.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_products.py b/tests/unit/test_products.py index f4a0ca192d..de98df18e8 100644 --- a/tests/unit/test_products.py +++ b/tests/unit/test_products.py @@ -59,8 +59,10 @@ def test_is_valid_image( class TestConvertJSONLToParquet: def test_convert_jsonl_to_parquet(self, mocker: Mock): - """This function doesn't test the DuckDB Query but only the logic of the `convert_jsonl_to_parquet`function. - The reason is that the JSONL dataset schema can change over time, potentially leading to this test to fail. + """This function doesn't test the DuckDB Query but only the logic of the + `convert_jsonl_to_parquet`function. + The reason is that the JSONL dataset schema can change over time, potentially + leading to this test to fail. The JSONL schema validity responsability should remain out of this unittest. """ # Mock the DuckDB SQL query and parquet writing