test: adding new tests and updating existing ones

This commit is contained in:
Karim shoair
2025-08-15 04:52:51 +03:00
parent 13700e2692
commit 0e3358007f
7 changed files with 586 additions and 10 deletions
+1 -10
View File
@@ -1,7 +1,7 @@
import pytest
from scrapling.engines.static import FetcherSession, FetcherClient, AsyncFetcherClient
from scrapling.engines.static import FetcherSession, FetcherClient
class TestFetcherSession:
@@ -45,12 +45,3 @@ class TestFetcherSession:
assert client.__enter__ is None
assert client.__exit__ is None
assert client._curl_session is True # Special marker
def test_async_fetcher_client_creation(self):
"""Test AsyncFetcherClient creation"""
client = AsyncFetcherClient()
# Should not have context manager methods
assert client.__aenter__ is None
assert client.__aexit__ is None
assert client._async_curl_session is True # Special marker