diff --git a/src/Fable.Build/Test/Python.fs b/src/Fable.Build/Test/Python.fs index f962293af0..f122b7c1b4 100644 --- a/src/Fable.Build/Test/Python.fs +++ b/src/Fable.Build/Test/Python.fs @@ -33,11 +33,11 @@ let handle (args: string list) = CmdLine.empty |> CmdLine.appendRaw "--watch" |> CmdLine.appendRaw "--runWatch" - |> CmdLine.appendRaw "poetry run pytest -x" + |> CmdLine.appendRaw $"poetry run pytest {buildDir} -x" else CmdLine.empty |> CmdLine.appendRaw "--run" - |> CmdLine.appendRaw "poetry run pytest -x" + |> CmdLine.appendRaw $"poetry run pytest {buildDir} -x" ] if isWatch then