Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

fix: address CI lint failures

ShawnPanabff682fee66e
diff --git a/tests/ci/test_doctor_command.py b/tests/ci/test_doctor_command.py
index b7842c557..f912fdfe1 100644
--- a/tests/ci/test_doctor_command.py
+++ b/tests/ci/test_doctor_command.py
@@ -1,7 +1,5 @@
"""Tests for doctor command."""
-import os
-
import pytest
from browser_use.skill_cli.commands import doctor
diff --git a/tests/ci/test_server_locking.py b/tests/ci/test_server_locking.py
index e5ee296ee..63fcdaf31 100644
--- a/tests/ci/test_server_locking.py
+++ b/tests/ci/test_server_locking.py
@@ -212,6 +212,7 @@ time.sleep(60) # Hold lock
)
# Wait for lock acquisition
+ assert proc.stdout is not None
line = proc.stdout.readline()
assert 'LOCKED' in line