tests: Multiple changes to tests
- Remove all tests for the old encoding logic - Stop using the `nopecha` test page to test Cloudflare solver - Remove useless tests like testing for infinite timeout - Fixes to make the code compatible with new changes
This commit is contained in:
@@ -90,9 +90,3 @@ class TestDynamicFetcherAsync:
|
||||
|
||||
with pytest.raises(Exception):
|
||||
await fetcher.async_fetch(urls["html_url"], cdp_url="ws://blahblah")
|
||||
|
||||
@pytest.mark.asyncio
|
||||
async def test_infinite_timeout(self, fetcher, urls):
|
||||
"""Test if infinite timeout breaks the code or not"""
|
||||
response = await fetcher.async_fetch(urls["delayed_url"], timeout=0)
|
||||
assert response.status == 200
|
||||
|
||||
Reference in New Issue
Block a user