pyinfra/test/unit_tests/rest/receiver_test.py
Matthias Bisping 24313241a8 sync
2022-05-04 17:46:35 +02:00

11 lines
391 B
Python

# import pytest
#
# from pyinfra.server.sender.sender import RestServer, Sender
#
#
# @pytest.mark.parametrize("batched", [True, False])
# @pytest.mark.parametrize("item_type", ["string", "image", "pdf"])
# def test_rest_receiver(url, packages, server_process):
# sender = Sender(RestServer(f"{url}/process"))
# assert all([r.status_code == 200 for r in receiver(sender(packages))])