Commit Graph

12 Commits

Author SHA1 Message Date
Jörg Thalheim
fe66a740b5 add fixture to capture output in tests less fragile
Now we always remove previous output before capturing.
2024-08-15 18:45:03 +02:00
DavHau
e7908c2af5 clan-cli: simplify cli helper 2024-07-10 18:14:06 +07:00
DavHau
0367fc1e90 clan-cli tests: remove dynamic inclusion of helpers module
Dynamically extending the python path at runtime is bad for developer experience, as this is not understood by the text editor and therefore jump to definition etc. does not work.

-> Better to remove the dynamic inclusion and force developers to specify the import correctly.
2024-07-05 16:38:22 +07:00
Jörg Thalheim
3b099ccb89 clan-cli: move arg parsing to extra method 2023-08-24 18:28:33 +02:00
Jörg Thalheim
0b654c7434 apply treefmt 2023-07-21 14:11:46 +02:00
DavHau
7223b25ac6 clan-cli: fix tests 2023-07-21 14:07:38 +02:00
Jörg Thalheim
b7cf89dba8 clan-cli: add missing typing 2023-07-21 13:50:46 +02:00
DavHau
e806b5549d clan-cli: enable mypy for tests 2023-07-21 13:43:29 +02:00
Jörg Thalheim
7f937077cf clan-cli/tests: fixup imports 2023-07-21 13:30:49 +02:00
Jörg Thalheim
926de547e2 clan-cli/tests: reformat 2023-07-21 12:48:26 +02:00
DavHau
4c4ff01b64 clan-cli: write some unit tests 2023-07-21 11:19:03 +02:00
DavHau
9906d12384 clan-cli: initialize python project from template
clan-cli: remove unnecessary unit test file

clan-cli: fix shell.nix too stateful

clan-cli: remove conftest.py

clan-cli: fix flake-module.nix
2023-07-21 11:19:03 +02:00