We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc38169 commit 232747bCopy full SHA for 232747b
tests/integration/test_search_index.py
@@ -380,10 +380,12 @@ def test_search_index_validates_redis_modules(redis_url):
380
"Required modules not installed"
381
)
382
with pytest.raises(RedisModuleVersionError):
383
- SearchIndex(
+ index = SearchIndex(
384
schema=IndexSchema.from_dict(
385
{"index": {"name": "my_index"}, "fields": fields}
386
),
387
redis_client=client,
388
389
+ index.create(overwrite=True, drop=True)
390
+
391
mock_validate_sync_redis.assert_called_once()
0 commit comments