Skip to content

Commit

Permalink
style: reformat test_products.py
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael0202 committed Oct 29, 2024
1 parent 2dcf4a7 commit 11e0199
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/unit/test_products.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 11e0199

Please sign in to comment.