From ffb1b40dc2286ef2f5eae4139cb51d952e79b6f9 Mon Sep 17 00:00:00 2001 From: Cristian Re Date: Fri, 9 Aug 2019 18:19:18 -0300 Subject: [PATCH] Fix client.py paths --- multipart/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/multipart/client.py b/multipart/client.py index 9590576..d82c54d 100644 --- a/multipart/client.py +++ b/multipart/client.py @@ -12,7 +12,7 @@ async def req1(): writer.append_json({'passed': True}) resp = await aiohttp.ClientSession().request( - "post", 'http://localhost:8080/multipart', + "post", 'http://localhost:8080/', data=writer, headers=writer.headers) print(resp) assert 200 == resp.status @@ -25,7 +25,7 @@ async def req2(): writer.append(open('src/main.rs')) resp = await aiohttp.ClientSession().request( - "post", 'http://localhost:8080/multipart', + "post", 'http://localhost:8080/', data=writer, headers=writer.headers) print(resp) assert 200 == resp.status