test: update tests accordingly

This commit is contained in:
Karim shoair committed 2026-01-08 00:52:35 +02:00
1 parent 6a73f9dcd7
commit 9eb5f68fcb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ class TestAsyncDynamicSession:
assert stats["total_pages"] <= 3
# After exit, should be closed
assert session._closed is True
assert session._is_alive is False
# Should raise RuntimeError when used after closing
with pytest.raises(RuntimeError):
+1 -1
View File
@@ -44,7 +44,7 @@ class TestAsyncStealthySession:
assert stats["total_pages"] <= 3
# After exit, should be closed
assert session._closed is True
assert session._is_alive is False
# Should raise RuntimeError when used after closing
with pytest.raises(RuntimeError):