mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 10:21:59 +00:00
fix httpx test warning
This commit is contained in:
parent
afcb86f422
commit
0a7f4fd3cc
|
@ -67,7 +67,7 @@ def botclient(default_conf, mocker):
|
||||||
|
|
||||||
def client_post(client, url, data={}):
|
def client_post(client, url, data={}):
|
||||||
return client.post(url,
|
return client.post(url,
|
||||||
data=data,
|
content=data,
|
||||||
headers={'Authorization': _basic_auth_str(_TEST_USER, _TEST_PASS),
|
headers={'Authorization': _basic_auth_str(_TEST_USER, _TEST_PASS),
|
||||||
'Origin': 'http://example.com',
|
'Origin': 'http://example.com',
|
||||||
'content-type': 'application/json'
|
'content-type': 'application/json'
|
||||||
|
|
Loading…
Reference in New Issue
Block a user