mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Run tests with caplog in a single worker (#1304)
This commit is contained in:
@@ -107,7 +107,9 @@ markers = [
|
||||
asyncio_mode = "auto"
|
||||
asyncio_default_fixture_loop_scope = "function"
|
||||
timeout = 10
|
||||
addopts = "--disable-socket --allow-unix-socket"
|
||||
# dist=loadgroup enables grouping of tests into single worker.
|
||||
# required as caplog doesn't play nicely with multiple workers.
|
||||
addopts = "--disable-socket --allow-unix-socket --dist=loadgroup"
|
||||
|
||||
[tool.doc8]
|
||||
paths = ["docs"]
|
||||
|
Reference in New Issue
Block a user