From f428372511bf6003458b548afc923b839e8f1ddc Mon Sep 17 00:00:00 2001 From: Matthias Bisping Date: Fri, 6 May 2022 23:19:25 +0200 Subject: [PATCH] renaming --- test/unit_tests/rest/dispatcher_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit_tests/rest/dispatcher_test.py b/test/unit_tests/rest/dispatcher_test.py index 7185c13..e1a93cc 100644 --- a/test/unit_tests/rest/dispatcher_test.py +++ b/test/unit_tests/rest/dispatcher_test.py @@ -6,6 +6,6 @@ from pyinfra.server.dispatcher.dispatchers.rest import RestDispatcher @pytest.mark.parametrize("batched", [True, False]) @pytest.mark.parametrize("item_type", ["string", "image", "pdf"]) def test_rest_sender(endpoint, packages, server_process): - sender = RestDispatcher(endpoint) - responses = sender(packages) + dispatcher = RestDispatcher(endpoint) + responses = dispatcher(packages) assert all((r.status_code == 200 for r in responses))