From 81c59716e339361f5d53e7439bfea33648adae27 Mon Sep 17 00:00:00 2001 From: eleanorjboyd Date: Wed, 24 May 2023 09:51:49 -0700 Subject: [PATCH] switch to stdinStr --- src/client/common/process/types.ts | 2 +- .../testing/testController/pytest/pytestExecutionAdapter.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/client/common/process/types.ts b/src/client/common/process/types.ts index ae787bf37d56..62e787b694b5 100644 --- a/src/client/common/process/types.ts +++ b/src/client/common/process/types.ts @@ -25,7 +25,7 @@ export type SpawnOptions = ChildProcessSpawnOptions & { throwOnStdErr?: boolean; extraVariables?: NodeJS.ProcessEnv; outputChannel?: OutputChannel; - pytestExecutionTestIds?: string[]; + stdinStr?: string; }; export type ShellOptions = ExecOptions & { throwOnStdErr?: boolean }; diff --git a/src/client/testing/testController/pytest/pytestExecutionAdapter.ts b/src/client/testing/testController/pytest/pytestExecutionAdapter.ts index f90edf3c91dc..4c6dcd9cdbee 100644 --- a/src/client/testing/testController/pytest/pytestExecutionAdapter.ts +++ b/src/client/testing/testController/pytest/pytestExecutionAdapter.ts @@ -91,7 +91,7 @@ export class PytestTestExecutionAdapter implements ITestExecutionAdapter { TEST_PORT: this.testServer.getPort().toString(), }, outputChannel: this.outputChannel, - pytestExecutionTestIds: testIds, + stdinStr: testIds.toString(), }; // Create the Python environment in which to execute the command.