From 3d83f41b82adc1924873dcfbd21855eccc1844e8 Mon Sep 17 00:00:00 2001 From: IceS2 Date: Fri, 20 Dec 2024 10:48:56 +0100 Subject: [PATCH] Remove the sample_data from assert in profiler since it was moved to the classification workflow (#19153) --- ingestion/tests/cli_e2e/common/test_cli_db.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ingestion/tests/cli_e2e/common/test_cli_db.py b/ingestion/tests/cli_e2e/common/test_cli_db.py index 7ed847f64fdd..55fe0bf25c4d 100644 --- a/ingestion/tests/cli_e2e/common/test_cli_db.py +++ b/ingestion/tests/cli_e2e/common/test_cli_db.py @@ -12,7 +12,6 @@ """ Test database connectors which extend from `CommonDbSourceService` with CLI """ -import json import os from abc import ABC, abstractmethod from pathlib import Path @@ -152,10 +151,6 @@ def assert_for_table_with_profiler_time_partition( self.assertEqual( column_profile[key], expected_column_profile[key] ) - if sample_data: - self.assertGreater( - len(json.loads(sample_data.json()).get("rows")), 0 - ) def assert_for_delete_table_is_marked_as_deleted( self, source_status: Status, sink_status: Status