aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2022-02-22 01:16:59 +0100
committergabrielgio <gabriel.giovanini@pm.me>2022-02-22 01:16:59 +0100
commitbd9588afd7f2c53363dfa83474ca8a258085739b (patch)
tree36c0e916d09e991f9cc166d1c48178e5c3725038
parent08526429dbf4ac4032195d8afab04757f79cc69b (diff)
downloadreddit-nextcloud-importer-bd9588afd7f2c53363dfa83474ca8a258085739b.tar.gz
reddit-nextcloud-importer-bd9588afd7f2c53363dfa83474ca8a258085739b.tar.bz2
reddit-nextcloud-importer-bd9588afd7f2c53363dfa83474ca8a258085739b.zip
fix: Fix python path
Makes pytest set proper sys.path.
-rw-r--r--pyproject.toml1
-rw-r--r--pytest.ini3
2 files changed, 4 insertions, 0 deletions
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