We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 914a873 + ee2b54e commit cec9723Copy full SHA for cec9723
test_agent.py
@@ -12,6 +12,7 @@
12
# See the License for the specific language governing permissions and
13
# limitations under the License.
14
15
+import os
16
import unittest
17
from unittest.mock import MagicMock, patch
18
from google.genai import types
@@ -20,6 +21,7 @@
20
21
22
class TestBrowserAgent(unittest.TestCase):
23
def setUp(self):
24
+ os.environ["GEMINI_API_KEY"] = "test_api_key"
25
self.mock_browser_computer = MagicMock()
26
self.mock_browser_computer.screen_size.return_value = (1000, 1000)
27
self.agent = BrowserAgent(
0 commit comments