From 470ff5144213c8935eb8e79d1ba24244b00f75b1 Mon Sep 17 00:00:00 2001 From: Yohe-Am <56622350+Yohe-Am@users.noreply.github.com> Date: Tue, 17 Oct 2023 20:48:17 +0300 Subject: [PATCH] fix: use python itself as the entrypoint for tests --- src/tests.rs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/tests.rs b/src/tests.rs index 6599638..522c213 100644 --- a/src/tests.rs +++ b/src/tests.rs @@ -120,11 +120,14 @@ fn test_grim_reaper() { let fut = async move { let config_raw =r#" test: - command: python3 -c 'print("hello whiz")' + entrypoint: 'python3 -c' + command: 'print("hello whiz")' long_test_dep: - command: python3 -c 'import time; time.sleep(1); print("wake up")' + entrypoint: 'python3 -c' + command: 'import time; time.sleep(1); print("wake up")' long_test: - command: python3 -c 'print("my que to enter")' + entrypoint: 'python3 -c' + command: 'print("my que to enter")' depends_on: - long_test_dep"#; let config: Config = config_raw.parse()?;