File tree Expand file tree Collapse file tree 2 files changed +3
-9
lines changed
Expand file tree Collapse file tree 2 files changed +3
-9
lines changed Original file line number Diff line number Diff line change 1- { "engineHash" : " 0a2740f " , "specHash" : " 8b51a89" , "version" : " 4.0.0" }
1+ { "engineHash" : " 522a2bf " , "specHash" : " 8b51a89" , "version" : " 4.0.0" }
Original file line number Diff line number Diff line change @@ -32,17 +32,14 @@ def test_box_api_exception():
3232 assert box_exception .url == url
3333 assert box_exception .method == method
3434 assert box_exception .context_info == context_info
35- assert (
36- str (box_exception )
37- == f'''Message: { message }
35+ assert str (box_exception ) == f'''Message: { message }
3836Status: { status }
3937Code: { code }
4038Request ID: { request_id }
4139Headers: { headers }
4240URL: { url }
4341Method: { method }
4442Context Info: { context_info } '''
45- )
4643
4744
4845@pytest .mark .parametrize ('has_network_response' , [True , False ])
@@ -62,13 +59,10 @@ def test_box_oauth_exception(has_network_response):
6259 method = method ,
6360 network_response = network_response ,
6461 )
65- assert (
66- str (box_exception )
67- == f'''
62+ assert str (box_exception ) == f'''
6863Message: { message }
6964Status: { status }
7065URL: { url }
7166Method: { method }
7267Headers: { headers if has_network_response else 'N/A' } '''
73- )
7468 assert box_exception .network_response is network_response
You can’t perform that action at this time.
0 commit comments