Skip to content

Saleor Core: the high performance, composable, headless commerce API.

build(pytest): allow to access the host network (#19491)

Mikail0e43270f725f
diff --git a/pyproject.toml b/pyproject.toml
index bafe4a7645..ccfb5984c7 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -160,7 +160,7 @@ addopts = [
"--record-mode=none",
"--ds=saleor.tests.settings",
"--disable-socket",
- "--allow-hosts=127.0.0.1,::1,cache",
+ "--allow-hosts=127.0.0.1,::1,cache,host.docker.internal,host.containers.internal",
"--allow-unix-socket",
"--pdbcls=IPython.terminal.debugger:TerminalPdb",
"--dist=loadgroup",