From bd65a2f4b272af835f79ab1c5094d42b191150d7 Mon Sep 17 00:00:00 2001 From: rmm Date: Tue, 7 Jan 2025 14:33:28 +0100 Subject: [PATCH] fix: avoid failures arising from a badly-named non-test script - also configured test path in ini file --- pytest.ini | 2 ++ snippets/{test_upload.py => try_upload.py} | 0 2 files changed, 2 insertions(+) rename snippets/{test_upload.py => try_upload.py} (100%) diff --git a/pytest.ini b/pytest.ini index 29da2dd..7767b6d 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,5 @@ [pytest] pythonpath = "src" +testpaths = + tests diff --git a/snippets/test_upload.py b/snippets/try_upload.py similarity index 100% rename from snippets/test_upload.py rename to snippets/try_upload.py