From a7386c6e9c3d6729bcf59d06045e44b1dcf70d41 Mon Sep 17 00:00:00 2001 From: Xiretza Date: Sun, 22 May 2022 14:25:16 +0200 Subject: [PATCH] fix(tests): allow pytest to automatically discover tests By default, pytest only looks for modules named test_*. --- .github/workflows/Pipeline.yml | 2 +- test/{wrappers.py => test_wrappers.py} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename test/{wrappers.py => test_wrappers.py} (100%) diff --git a/.github/workflows/Pipeline.yml b/.github/workflows/Pipeline.yml index e4bc0a3..282f4a2 100644 --- a/.github/workflows/Pipeline.yml +++ b/.github/workflows/Pipeline.yml @@ -215,4 +215,4 @@ jobs: . ./.github/scripts/activate.sh pip3 install -r ./test/requirements.txt - pytest -vsrA --color=yes test/wrappers.py + pytest --verbose --capture=no -rA --color=yes test/ diff --git a/test/wrappers.py b/test/test_wrappers.py similarity index 100% rename from test/wrappers.py rename to test/test_wrappers.py