Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tests/test_cypher_vector_behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,8 @@ def test_drop_index_drops_it_and_if_exists_does_not_raise_when_it_is_gone(temp_d
temp_db.command("opencypher", "DROP INDEX article_embedding")
assert not temp_db.schema.exists_index("article_embedding")

with pytest.raises(ArcadeDBError, match="does not exist"):
# 26.11.1 says "does not exist"; engines with ArcadeData/arcadedb@9c89c306fa (IndexDropFailedException) say "There is no such index".
with pytest.raises(ArcadeDBError, match="does not exist|There is no such index"):
temp_db.command("opencypher", "DROP INDEX article_embedding")
temp_db.command("opencypher", "DROP INDEX article_embedding IF EXISTS")

Expand Down
Loading