From 4a1069009a73c2c2e3080ddfb81e2eaea0b99d58 Mon Sep 17 00:00:00 2001 From: Kazuaki Matsuo Date: Tue, 15 Oct 2024 22:46:55 -0700 Subject: [PATCH] modify --- test/unit/webdriver/webdriver_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/unit/webdriver/webdriver_test.py b/test/unit/webdriver/webdriver_test.py index 1e6a333b..10a292d4 100644 --- a/test/unit/webdriver/webdriver_test.py +++ b/test/unit/webdriver/webdriver_test.py @@ -54,7 +54,7 @@ def test_create_session(self): request = httpretty.HTTPretty.latest_requests[0] assert request.headers['content-type'] == 'application/json;charset=UTF-8' - assert request.headers['user-agent'] == 'appium/4.1.0 (selenium/4.25.0 (python mac)' + assert request.headers['user-agent'] == 'appium/4.1.0 (selenium/4.25.0 (python mac))' request_json = json.loads(httpretty.HTTPretty.latest_requests[0].body.decode('utf-8')) assert request_json.get('capabilities') is not None