tests: remove the cloudflare test from the sync version
To not put pressure on the website
This commit is contained in:
@@ -22,11 +22,6 @@ class TestStealthyFetcher:
|
||||
self.html_url = f"{httpbin.url}/html"
|
||||
self.delayed_url = f"{httpbin.url}/delay/10" # 10 Seconds delay response
|
||||
self.cookies_url = f"{httpbin.url}/cookies/set/test/value"
|
||||
self.cloudflare_url = "https://nopecha.com/demo/cloudflare" # Interactive turnstile page
|
||||
|
||||
def test_cloudflare_fetch(self, fetcher):
|
||||
"""Test if Cloudflare bypass is working"""
|
||||
assert fetcher.fetch(self.cloudflare_url, solve_cloudflare=True).status == 200
|
||||
|
||||
def test_basic_fetch(self, fetcher):
|
||||
"""Test doing a basic fetch request with multiple statuses"""
|
||||
|
||||
Reference in New Issue
Block a user