We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 32a2cf8 commit e93e3cfCopy full SHA for e93e3cf
1 file changed
tests/test_api_request.py
@@ -25,7 +25,7 @@ def test_api_exception():
25
with pytest.raises(BinanceAPIException):
26
with requests_mock.mock() as m:
27
json_obj = {"code": 1002, "msg": "Invalid API call"}
28
- m.get('https://www.binance.com/api/v1/time', json=json_obj, status_code=400)
+ m.get('https://api.binance.com/api/v1/time', json=json_obj, status_code=400)
29
client.get_server_time()
30
31
0 commit comments