From bd9588afd7f2c53363dfa83474ca8a258085739b Mon Sep 17 00:00:00 2001 From: gabrielgio Date: Tue, 22 Feb 2022 01:16:59 +0100 Subject: fix: Fix python path Makes pytest set proper sys.path. --- pyproject.toml | 1 + pytest.ini | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 pytest.ini diff --git a/pyproject.toml b/pyproject.toml index 2c78da1..dbafff5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,3 +22,4 @@ pytest-cov = "^3.0.0" [build-system] requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" + diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 0000000..20c6e5e --- /dev/null +++ b/pytest.ini @@ -0,0 +1,3 @@ +[pytest] +pythonpath = . +testpaths = test -- cgit v1.2.3