From 1363c4a6991b20dfe1d29d14d48aa8b1f33a5bd2 Mon Sep 17 00:00:00 2001 From: Martin Date: Thu, 14 Nov 2024 11:03:48 +0100 Subject: [PATCH] Tests - assert single values in tables --- test_manager/utils_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_manager/utils_test.py b/test_manager/utils_test.py index d955061b..69cd4e93 100644 --- a/test_manager/utils_test.py +++ b/test_manager/utils_test.py @@ -25,8 +25,8 @@ def compare_tables(tables_res, tables_exp): for key, value_res in table_res['metadata'].items(): assert value_res == tables_exp[idx]['metadata'][key] assert table_res['columns'] == tables_exp[idx]['columns'] - assert len(tables_res['rows']) == len(tables_exp['rows']) - for row_idx, row_res in enumerate(tables_res['rows']): + assert len(table_res['rows']) == len(tables_exp['rows']) + for row_idx, row_res in enumerate(table_res['rows']): assert row_res == tables_exp[idx]['rows'][row_idx]