diff --git a/csv2http/core.py b/csv2http/core.py index df39125..f9ff8d8 100644 --- a/csv2http/core.py +++ b/csv2http/core.py @@ -100,13 +100,11 @@ async def execute(args: cli.Args, **client_kwargs) -> int: async with httpx.AsyncClient( auth=args.auth, headers=args.headers, timeout=args.timeout, **client_kwargs ) as client_session: - print(f" {args.method} {args.url}") for paylod_batch in chunker( parser.csv_payload_generator(file_input), chunk_size=args.concurrency ): - responses = await parrelelize_requests( args.method, args.url, diff --git a/tests/conftest.py b/tests/conftest.py index 47ed29b..e01d97e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -44,7 +44,6 @@ def http_reflect(): # TODO: make http_reflect_airgap # pylint: disable=not-context-manager with respx.mock(assert_all_called=False, assert_all_mocked=True) as respx_mock: - respx_mock.route(method__in=["POST", "PUT", "PATCH"]).mock( side_effect=_reflect_request ) @@ -57,7 +56,6 @@ def http_reflect_random_status(): """Randomize status codes. Return all outgoing http request's payload as a response.""" # pylint: disable=not-context-manager with respx.mock(assert_all_called=False, assert_all_mocked=True) as respx_mock: - respx_mock.route(method__in=["POST", "PUT", "PATCH"]).mock( side_effect=_reflect_request_random_status ) diff --git a/tests/test_core.py b/tests/test_core.py index 5be19af..0de5b45 100644 --- a/tests/test_core.py +++ b/tests/test_core.py @@ -55,7 +55,6 @@ async def test_parrelelize_requests(http_reflect, csv_payload_generator_param_fx async def test_main( http_reflect_random_status, tmp_log_files: pathlib.Path, sample_csv: pathlib.Path ): - total = await core.execute( cli.Args( sample_csv,