diff --git a/lua/plugins/neotest.lua b/lua/plugins/neotest.lua index f4da010..6bc202c 100644 --- a/lua/plugins/neotest.lua +++ b/lua/plugins/neotest.lua @@ -7,6 +7,7 @@ return { 'nvim-neotest/neotest-python' }, config = function() + local pythonVenv = require('utils.python_venv') require('neotest').setup({ adapters = { require('neotest-python')({ @@ -15,6 +16,7 @@ return { }, args = { '--log-level', 'DEBUG' }, runner = 'pytest', + python = pythonVenv.getPythonEnv }) } })