mirror of
https://github.com/creyD/creyPY.git
synced 2026-04-12 19:30:30 +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:
|
||||
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
|
||||
|
||||
async def post_file(
|
||||
|
||||
Reference in New Issue
Block a user