diff --git a/pyproject.toml b/pyproject.toml index 9da7955..26e1152 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,6 +48,11 @@ poethepoet = "^0.29.0" [tool.poe.tasks] check = "./scripts/check.sh" +[tool.pytest.ini_options] +pythonpath = [ + "kci-dev" +] + [build-system] requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" diff --git a/tests/test_kcidev.py b/tests/test_kcidev.py index 42a0837..f7dc030 100644 --- a/tests/test_kcidev.py +++ b/tests/test_kcidev.py @@ -84,6 +84,14 @@ def test_kcidev_commit(): assert result.returncode == 1 +def test_main(): + from subcommands.commit import api_connection + + print(api_connection("test")) + + pass + + def test_clean(): # clean enviroment shutil.rmtree("my-new-repo/")