diff options
author | Munyoki Kilyungi | 2022-09-05 15:43:15 +0300 |
---|---|---|
committer | BonfaceKilz | 2022-09-08 14:26:19 +0300 |
commit | 71d958db0f9e874f74358b76a9fb1847076c20c3 (patch) | |
tree | f870fad8671df039f34baab3d39cb9d5f31e38e1 /pyproject.toml | |
parent | ea9315da2333fc327616f94093e2603b8532e53a (diff) | |
download | genenetwork2-71d958db0f9e874f74358b76a9fb1847076c20c3.tar.gz |
Force pytest to use "importlib" import-mode to be able to run
Having "--import-mode=importlib" enables pytest to find the imports in
our tests; otherwise we get import errors.
* pyproject.toml: New pytest conf file.
Diffstat (limited to 'pyproject.toml')
-rw-r--r-- | pyproject.toml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..2c70d6c3 --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,4 @@ +[tool.pytest.ini_options] +addopts = [ + "--import-mode=importlib", +] |