test: update tests accordingly

This commit is contained in:
Karim shoair
2026-01-08 00:52:35 +02:00
parent 6a73f9dcd7
commit 9eb5f68fcb
2 changed files with 2 additions and 2 deletions
+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):