From 45fe8a668b467c0def72accb6917b27d92f26e57 Mon Sep 17 00:00:00 2001 From: missytake Date: Tue, 17 Oct 2023 19:17:28 +0200 Subject: [PATCH] tests: pass CLI arguments to pytest, don't run chatmails tests in weird subdir --- scripts/test.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/test.sh b/scripts/test.sh index 64e3bb74..e7ce0a4b 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -1,7 +1,3 @@ #!/bin/bash -set -e -pushd chatmaild/src/chatmaild -../../venv/bin/pytest -popd - -online-tests/venv/bin/pytest online-tests/ -vrx --durations=5 +chatmaild/venv/bin/pytest chatmaild/ $@ +online-tests/venv/bin/pytest online-tests/ -vrx --durations=5 $@