test: Adjusting tests with the correct timeout

This commit is contained in:
Karim shoair
2025-06-23 03:24:13 +03:00
parent 69b983b42f
commit 560ae95281
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -106,5 +106,5 @@ class TestStealthyFetcher:
async def test_infinite_timeout(self, fetcher, urls):
"""Test if infinite timeout breaks the code or not"""
assert (
await fetcher.async_fetch(urls["delayed_url"], timeout=None)
await fetcher.async_fetch(urls["delayed_url"], timeout=0)
).status == 200