MCPcopy
hub / github.com/redis/redis-py / _make_search

Function _make_search

tests/test_search_result.py:109–113  ·  view source on GitHub ↗

Build a ``Search`` instance whose parsers can be exercised without talking to Redis.

()

Source from the content-addressed store, hash-verified

107
108
109def _make_search():
110 """Build a ``Search`` instance whose parsers can be exercised without
111 talking to Redis."""
112 client = MagicMock()
113 return Search(client)
114
115
116@pytest.mark.fixed_client

Calls 1

SearchClass · 0.90

Tested by

no test coverage detected