summaryrefslogtreecommitdiff
path: root/tests/test_asyncio/mocks.py
Commit message (Collapse)AuthorAgeFilesLines
* Make PythonParser resumable (#2510)Kristján Valur Jónsson2023-01-051-0/+51
* PythonParser is now resumable if _stream IO is interrupted * Add test for parse resumability * Clear PythonParser state when connection or parsing errors occur. * disable test for cluster mode. * Perform "closed" check in a single place. * Update tests * Simplify code. * Remove reduntant test, EOF is detected inside _readline() * Make syncronous PythonParser restartable on error, same as HiredisParser Fix sync PythonParser * Add CHANGES * isort * Move MockStream and MockSocket into their own files