fix httpx test warning

This commit is contained in:
Matthias 2022-11-17 10:36:24 +00:00
parent afcb86f422
commit 0a7f4fd3cc

View File

@ -67,7 +67,7 @@ def botclient(default_conf, mocker):
def client_post(client, url, data={}):
return client.post(url,
data=data,
content=data,
headers={'Authorization': _basic_auth_str(_TEST_USER, _TEST_PASS),
'Origin': 'http://example.com',
'content-type': 'application/json'