Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuCocoa committed Oct 16, 2024
1 parent 090b6e8 commit 4a10690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/webdriver/webdriver_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4a10690

Please sign in to comment.