mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-15 04:40:36 +02:00
fix: changes to post method in testing_async (#28)
This commit is contained in:
@@ -35,7 +35,8 @@ class AsyncGenericClient:
|
|||||||
)
|
)
|
||||||
if re.status_code != r_code:
|
if re.status_code != r_code:
|
||||||
print(re.content)
|
print(re.content)
|
||||||
assert r_code == re.status_code
|
if not raw_response:
|
||||||
|
assert r_code == re.status_code
|
||||||
return re.json() if not raw_response else re
|
return re.json() if not raw_response else re
|
||||||
|
|
||||||
async def post_file(
|
async def post_file(
|
||||||
|
|||||||
Reference in New Issue
Block a user