From 63695d70e0efca57ba28427cce88272b35d9ca48 Mon Sep 17 00:00:00 2001 From: Sultan Iman Date: Tue, 5 Mar 2024 13:54:12 +0100 Subject: [PATCH] Check last_trace schema hashes --- tests/pipeline/test_pipeline_load_info.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/pipeline/test_pipeline_load_info.py b/tests/pipeline/test_pipeline_load_info.py index 388cae9121..9b59a504cb 100644 --- a/tests/pipeline/test_pipeline_load_info.py +++ b/tests/pipeline/test_pipeline_load_info.py @@ -55,3 +55,10 @@ def test_pipeline_load_info_metrics_schema_is_not_chaning() -> None: ) == 1 ) + + last_trace = pipeline.last_trace + assert ( + last_trace.last_extract_info.load_packages[0].schema_hash + == last_trace.last_normalize_info.load_packages[0].schema_hash + == last_trace.last_load_info.load_packages[0].schema_hash + )