mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Use pytest-socket to ensure no tests are performing io (#1133)
This commit is contained in:
@@ -57,6 +57,7 @@ dev-dependencies = [
|
||||
"pytest-freezer~=0.4",
|
||||
"mypy~=1.0",
|
||||
"pytest-xdist>=3.6.1",
|
||||
"pytest-socket>=0.7.0",
|
||||
]
|
||||
|
||||
|
||||
@@ -108,6 +109,7 @@ markers = [
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
timeout = 10
|
||||
addopts = "--disable-socket --allow-unix-socket"
|
||||
|
||||
[tool.doc8]
|
||||
paths = ["docs"]
|
||||
|
Reference in New Issue
Block a user