Skip to content

Commit

Permalink
Merge pull request #171 from SciCatProject/pytest-socket
Browse files Browse the repository at this point in the history
Use pytest-socket
  • Loading branch information
jl-wynen authored Oct 19, 2023
2 parents 6989d30 + 9068400 commit b75cca4
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements-pydantic1/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ hypothesis
pyfakefs
pytest
pytest-randomly
pytest-socket
pytest-xdist
pyyaml
5 changes: 4 additions & 1 deletion requirements-pydantic1/test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:45eb6b4473659cdd3e14e1196ed972db81800bdf
# SHA1:75deeef1826d3fede48f6f2de96ad90ac30e27a5
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions requirements/test.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@ hypothesis
pyfakefs
pytest
pytest-randomly
pytest-socket
pytest-xdist
pyyaml
5 changes: 4 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SHA1:45eb6b4473659cdd3e14e1196ed972db81800bdf
# SHA1:75deeef1826d3fede48f6f2de96ad90ac30e27a5
#
# This file is autogenerated by pip-compile-multi
# To update, run:
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit b75cca4

Please sign in to comment.