From 21132c0d55b68c1a7f7cab14b2afdd15df9024f4 Mon Sep 17 00:00:00 2001 From: "Matwey V. Kornilov" Date: Mon, 9 Sep 2024 12:15:52 +0300 Subject: [PATCH] Drop src from pytest pythonpath option There is no sense to have `src` in pythonpath since compiled collectd_rest.rrd sharded object cannot be imported. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 66e92b4..60389c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -46,7 +46,7 @@ wheel.packages = ["src/collectd_rest"] [tool.pytest.ini_options] DJANGO_SETTINGS_MODULE = "tests.settings" django_find_project = false -pythonpath = ". src" +pythonpath = "." testpaths = [ "src/collectd_rest", "tests",