summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/test_search.py
Commit message (Collapse)AuthorAgeFilesLines
* Add dialect to ft aggregate (#2537)DvirDukhan2023-01-021-71/+98
| | | | | | | | | * add dialect to aggregate request * added test * format * async test
* Add TIMEOUT to query class (#2519)shacharPash2022-12-211-0/+9
| | | | | | | | | | | | | | | | | | | * add timeout to query class * Add test_timeout * fix lines * fix format * add test & fixes * merge tests * change timeout to not_a_number * change q1 to q2 * Fix async method
* Deprecate `add_doccument` (FT.ADD) (#2425)dvora-h2022-10-241-163/+78
| | | | | | | | | * deprecate add_doccuments * linters * linters * async tests
* Add support for WITHSUFFIXTRIE to FT.CREATE (#2324)v4.4.0rc1dvora-h2022-08-041-0/+24
| | | | | | | * withsuffixtrie * Update test_search.py * fix
* Search test - Ignore order of the items in the response (#2322)dvora-h2022-08-041-1/+1
| | | | | * fix test * async test
* Fix async SEARCH pipeline (#2316)dvora-h2022-08-021-1/+20
| | | | | * fix search async pipeline * newline
* Drop python 3.6 support (#2306)dvora-h2022-07-271-5/+0
|
* Fix warnings and resource usage problems in asyncio unittests (#2258)Kristján Valur Jónsson2022-07-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use pytest-asyncio in auto mode Remove overly genereric `pytestmark=pytest.mark.asyncio` causing lots of warning noise * Use "Factories as Fixtures" test pattern for the `create_redis` fixture this fixture is now async, avoiding teardown problems with missing event loops. * Fix sporadic error on fast event loops, such as `--uvloop` * Close connection, even if "username" was in kwargs This fixes a resource usage warning in the async unittests. * Do async cleanup of acl passwords via a fixture * Remove unused import, fix whitespace * Fix test with missing "await" * Close pubsub objects after use in unittest Use a simple fixture where possible, otherwise manually call pubsub.close() * re-introduce `pytestmark=pytest.mark.asyncio` for python 3.6 * Use context manager to clean up connections in connection pool for unit tests * Provide asynccontextmanager for python 3.6 * make `test_late_subscribe()` more robuste * Catch a couple of additional leaked resources
* update black to 22.3.0 (#2171)Utkarsh Gupta2022-05-301-32/+13
|
* Add async supoort for SEARCH commands (#2096)dvora-h2022-04-281-0/+1067
* Add async supoort for SEARCH commands * linters * linters * linters * linters * linters