Skip to content

Commit

Permalink
add index names to pass validation
Browse files Browse the repository at this point in the history
  • Loading branch information
mikealfare committed Apr 25, 2024
1 parent f6cfed6 commit b49e672
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_materialized_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit b49e672

Please sign in to comment.