From 3ee3174e30e33c9d58fa07b0a73a6e180474b59c Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 6 Mar 2023 17:53:57 +0100 Subject: fix: fix writing pyvenv module wrapper (#1073) Closes #1071. --- tests/helpers/lua/test_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/helpers/lua') diff --git a/tests/helpers/lua/test_helpers.lua b/tests/helpers/lua/test_helpers.lua index 08a0e91b..f11765d5 100644 --- a/tests/helpers/lua/test_helpers.lua +++ b/tests/helpers/lua/test_helpers.lua @@ -43,7 +43,7 @@ end ---@param opts PackageInstallOpts? function InstallContextGenerator(handle, opts) local context = InstallContext.new(handle, opts or {}) - context.spawn = setmetatable({ strict_mode = false }, { + context.spawn = setmetatable({ strict_mode = true }, { __index = function(self, cmd) self[cmd] = spy.new(mockx.just_runs()) return self[cmd] -- cgit v1.2.3-70-g09d2