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
@@ -0,0 +1,17 @@
import pytest
from scrapling.engines.static import AsyncFetcherClient
class TestFetcherSession:
"""Test FetcherSession functionality"""
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