From b362b765d0bf63ab708f3c962e920f1e7c48c299 Mon Sep 17 00:00:00 2001 From: Robin Linacre Date: Thu, 16 May 2024 14:04:25 +0100 Subject: [PATCH] fix tests --- tests/test_analyse_blocking.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/test_analyse_blocking.py b/tests/test_analyse_blocking.py index 874c90fa42..54999e11a9 100644 --- a/tests/test_analyse_blocking.py +++ b/tests/test_analyse_blocking.py @@ -213,7 +213,12 @@ def test_source_dataset_works_as_expected(test_helpers, dialect): ) # Both of the above use the vertical concat of the two datasets so should # be equivalent - assert r1 == r2 + keys_to_check = [ + "number_of_comparisons_generated_pre_filter_conditions", + "number_of_comparisons_to_be_scored_post_filter_conditions", + ] + for k in keys_to_check: + assert r1[k] == r2[k] r1 = count_comparisons_from_blocking_rule( table_or_tables=df_concat_2,