Skip to content

Commit

Permalink
DE-749 | initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
aMahanna committed Feb 2, 2024
1 parent 92b5f94 commit dae6107
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/test_analyzer.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,10 @@ def test_analyzer_management(db, bad_db, cluster, enterprise, db_version):
"format": "latLngDouble",
}
assert db.delete_analyzer(analyzer_name)

if db_version >= version.parse("3.12.0"):
analyzer_name = generate_analyzer_name()
result = db.create_analyzer(analyzer_name, "wildcard", {"ngramSize": 4})
assert result["type"] == "wildcard"
assert result["features"] == []
assert result["properties"] == {"ngramSize": 4}

0 comments on commit dae6107

Please sign in to comment.