From fb2ffe4b6c2424c04e76914904586c967a5dd119 Mon Sep 17 00:00:00 2001 From: Michael Kranzlein <8162250+mkranzlein@users.noreply.github.com> Date: Sun, 20 Aug 2023 17:41:09 -0400 Subject: [PATCH] Added src to toml for pytest --- pyproject.toml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 71513ae..280c635 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,3 +9,9 @@ authors = [ {name = "Irene Li"}, {name = "Michael Kranzlein"} ] + +# https://stackoverflow.com/questions/50155464/using-pytest-with-a-src-layer +[tool.pytest.ini_options] +pythonpath = [ + "src" +] \ No newline at end of file