From 9068400fc29ce804e1d13025fa8b6549cf30eaba Mon Sep 17 00:00:00 2001 From: Jan-Lukas Wynen Date: Thu, 19 Oct 2023 15:02:20 +0200 Subject: [PATCH] Use pytest-socket --- pyproject.toml | 2 ++ requirements-pydantic1/test.in | 1 + requirements-pydantic1/test.txt | 5 ++++- requirements/test.in | 1 + requirements/test.txt | 5 ++++- 5 files changed, 12 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1bae3492..528e4f20 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -53,6 +53,8 @@ testpaths = "tests" addopts = """ --strict-config --strict-markers +--disable-socket +--allow-hosts=127.0.0.1,::1 -ra -v --hypothesis-profile=scitacean diff --git a/requirements-pydantic1/test.in b/requirements-pydantic1/test.in index adebe0bf..7c09c10d 100644 --- a/requirements-pydantic1/test.in +++ b/requirements-pydantic1/test.in @@ -4,5 +4,6 @@ hypothesis pyfakefs pytest pytest-randomly +pytest-socket pytest-xdist pyyaml diff --git a/requirements-pydantic1/test.txt b/requirements-pydantic1/test.txt index 67bdf546..3baf7b0f 100644 --- a/requirements-pydantic1/test.txt +++ b/requirements-pydantic1/test.txt @@ -1,4 +1,4 @@ -# SHA1:45eb6b4473659cdd3e14e1196ed972db81800bdf +# SHA1:75deeef1826d3fede48f6f2de96ad90ac30e27a5 # # This file is autogenerated by pip-compile-multi # To update, run: @@ -26,9 +26,12 @@ pytest==7.4.2 # via # -r requirements-pydantic1/test.in # pytest-randomly + # pytest-socket # pytest-xdist pytest-randomly==3.15.0 # via -r requirements-pydantic1/test.in +pytest-socket==0.6.0 + # via -r requirements-pydantic1/test.in pytest-xdist==3.3.1 # via -r requirements-pydantic1/test.in pyyaml==6.0.1 diff --git a/requirements/test.in b/requirements/test.in index adebe0bf..7c09c10d 100644 --- a/requirements/test.in +++ b/requirements/test.in @@ -4,5 +4,6 @@ hypothesis pyfakefs pytest pytest-randomly +pytest-socket pytest-xdist pyyaml diff --git a/requirements/test.txt b/requirements/test.txt index 94f504bc..3a4b540b 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -1,4 +1,4 @@ -# SHA1:45eb6b4473659cdd3e14e1196ed972db81800bdf +# SHA1:75deeef1826d3fede48f6f2de96ad90ac30e27a5 # # This file is autogenerated by pip-compile-multi # To update, run: @@ -26,9 +26,12 @@ pytest==7.4.2 # via # -r requirements/test.in # pytest-randomly + # pytest-socket # pytest-xdist pytest-randomly==3.15.0 # via -r requirements/test.in +pytest-socket==0.6.0 + # via -r requirements/test.in pytest-xdist==3.3.1 # via -r requirements/test.in pyyaml==6.0.1