From b49e672589bcf383cb1333b7d4db26b513d5330a Mon Sep 17 00:00:00 2001 From: Mike Alfare Date: Thu, 25 Apr 2024 15:05:33 -0400 Subject: [PATCH] add index names to pass validation --- tests/unit/test_materialized_view.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/test_materialized_view.py b/tests/unit/test_materialized_view.py index f2b0543e..dc4f822b 100644 --- a/tests/unit/test_materialized_view.py +++ b/tests/unit/test_materialized_view.py @@ -9,16 +9,19 @@ def test_index_config_changes(): index_0_old = { + "name": "my_index_0", "column_names": {"column_0"}, "unique": True, "method": "btree", } index_1_old = { + "name": "my_index_1", "column_names": {"column_1"}, "unique": True, "method": "btree", } index_2_old = { + "name": "my_index_2", "column_names": {"column_2"}, "unique": True, "method": "btree", @@ -31,6 +34,7 @@ def test_index_config_changes(): index_2_new = deepcopy(index_2_old) index_2_new.update(method="hash") index_3_new = { + "name": "my_index_3", "column_names": {"column_3"}, "unique": True, "method": "hash",