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:
Karim shoair
2025-09-14 20:24:46 +03:00
parent ce4fc31f2c
commit eae088a07b
7 changed files with 5 additions and 45 deletions
-4
View File
@@ -77,7 +77,3 @@ class TestStealthyFetcher:
**kwargs
)
assert response.status == 200
def test_infinite_timeout(self, fetcher):
"""Test if infinite timeout breaks the code or not"""
assert fetcher.fetch(self.delayed_url, timeout=0).status == 200