curl_cffi
curl_cffi copied to clipboard
Add more unittests for asyncio stream mode
It's not well covered.
Hi @yifeikong, I would like to take this up. Could you please give me more details, need a little bit of more context?
There are a number of tests for stream mode in sync version.
https://github.com/yifeikong/curl_cffi/blob/45e687b286dc0eb9402277d5f37c834cd4a75fd5/tests/unittest/test_requests.py#L430-L610
But the async tests are not matched.
https://github.com/yifeikong/curl_cffi/blob/45e687b286dc0eb9402277d5f37c834cd4a75fd5/tests/unittest/test_async_session.py#L319-L369
Ok, sounds good! 🚀 Shall I have it assigned it to me, please? I will gladly work on it right after I have it. 🧐 I am happy to contribute to improving the test suite for this critical aspect of the project. My approach would involve thoroughly understanding the existing sync mode tests, identifying the gaps in the async mode tests, and then crafting robust and comprehensive tests to cover these areas effectively. 🔍 Thank you for considering my request. 🙏
Best regards!