Skip to content

Commit fe5b8f5

Browse files
committed
Reformat and add --allow-unix-socket to pytest config
1 parent e553b3a commit fe5b8f5

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pyproject.toml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,15 @@ follow_imports = "skip"
300300
#
301301

302302
[tool.pytest.ini_options]
303-
addopts = "--ignore src/pip/_vendor --ignore tests/tests_cache -r aR --color=yes --disable-socket --allow-hosts=localhost"
303+
addopts = [
304+
"-r=aR",
305+
"--color=yes",
306+
"--ignore=src/pip/_vendor",
307+
"--ignore=tests/tests_cache",
308+
"--disable-socket",
309+
"--allow-unix-socket",
310+
"--allow-hosts=localhost",
311+
]
304312
xfail_strict = true
305313
markers = [
306314
"network: tests that need network",

0 commit comments

Comments
 (0)