tests: changing tests accordingly

This commit is contained in:
Karim shoair
2025-09-08 16:09:24 +03:00
parent ecaec65049
commit 931993f901
2 changed files with 11 additions and 42 deletions
+1 -2
View File
@@ -53,7 +53,6 @@ class TestStealthySession:
"""Test if the session is created correctly"""
with StealthySession(
max_pages=3,
headless=True,
block_images=True,
disable_resources=True,
@@ -63,7 +62,7 @@ class TestStealthySession:
cookies=[{"name": "test", "value": "123", "domain": "example.com", "path": "/"}],
) as session:
assert session.max_pages == 3
assert session.max_pages == 1
assert session.headless is True
assert session.block_images is True
assert session.disable_resources is True