Jörg Thalheim
50ecdebdd3
pytest: add missing with-core marker
2023-11-15 07:21:26 +01:00
Qubasa
4ff9990054
Fixed wrong examples
2023-11-08 21:40:17 +01:00
Jörg Thalheim
d08fe82864
switch from black to ruff for formatting
2023-11-03 13:38:13 +01:00
Qubasa
1fef2d1732
Fixed test_webui only failing in nix_sandbox
2023-10-29 19:35:29 +01:00
Qubasa
e389c7cfe7
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
d69b8920d1
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
750b4b6b7e
Fixing test_vms_api test
2023-10-27 19:26:03 +02:00
Qubasa
3aed7b834f
Commit only for debugging Container
2023-10-27 19:26:03 +02:00
Qubasa
5bd2345bc1
Commit only for debugging Container
2023-10-27 19:26:03 +02:00
Qubasa
0be3dac289
nix fmt
2023-10-27 19:21:50 +02:00
Qubasa
6d0deefa6b
Added ipdb as breakpoint console. Improved logging.
2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
d96ea61243
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Qubasa
7bbadaa60f
Fixed cyclic dependencie AND swapped pytest-parallel for pytest-xdist to fix deadlock in tests
2023-10-27 19:18:45 +02:00
Jörg Thalheim
455952cfaa
tests: increase timeout to 60
2023-09-28 15:24:06 +02:00
Jörg Thalheim
164f95723d
pytest: add impure marker
2023-09-19 13:12:10 +02:00
Jörg Thalheim
b7212b9988
ruff: also enforce variable naming rules
2023-08-27 10:51:47 +02:00
Jörg Thalheim
9913a95cc2
ruff: enable upgrade rule checks
2023-08-27 10:46:53 +02:00
Jörg Thalheim
bac0942033
pytest: report slow tests and set a 30 timeout
2023-08-27 10:41:32 +02:00
Jörg Thalheim
9cc6a14d73
run pytest in parallel
2023-08-27 09:45:15 +02:00
Jörg Thalheim
9ae14a4f7d
integrate static assets into webui command
2023-08-26 12:24:57 +02:00
Jörg Thalheim
fb7c77690a
replace environment variable with nixpkgs directory
...
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
DavHau
0a9b914ad5
clan-config: improve jsonschema arg parsing
...
- output json to stdout after success
- expect args in the style: `foo.bar = baz`
- handle different input types
- cast input types on best effort basis
- throw meaningful errors
2023-08-11 00:05:52 +02:00
Jörg Thalheim
8e07fc28ab
clan-cli: unbreak build
2023-08-10 11:30:12 +02:00
DavHau
0f54eccb78
clan-cli: unbreak dev-shell
2023-08-09 18:03:46 +02:00
DavHau
f9aaa5ad39
clan-config: unbreak + include data files
2023-08-09 17:59:18 +02:00
Jörg Thalheim
4cf82f3596
also rename project/pypi name
2023-08-08 14:20:45 +02:00
Jörg Thalheim
b540f318c7
cli: add test for --help
2023-08-03 15:33:08 +02:00
Jörg Thalheim
31a2d90df9
cli: fix installation of subpackages
2023-08-03 15:22:22 +02:00
Jörg Thalheim
df6e94b20e
move environment to helpers module
...
This fixes registering pytest plugins
2023-07-28 10:22:25 +00:00
Jörg Thalheim
282307ca2a
cli: explicitly list clan_cli package
2023-07-28 10:22:25 +00:00
Jörg Thalheim
e4af29d0b4
disable 100% coverage enforcement
2023-07-25 18:55:30 +02:00
DavHau
202e07d5fe
clan-cli: hint on how to get coverage html
2023-07-25 00:59:51 +02:00
DavHau
e806b5549d
clan-cli: enable mypy for tests
2023-07-21 13:43:29 +02:00
Jörg Thalheim
0bf3f42812
clan-cli: restructure according to python's module standard
2023-07-21 12:47:47 +02:00
DavHau
af7e4d7bb9
clan-cli: shell completion for bash, zsh, fish
2023-07-21 11:19:03 +02:00
DavHau
1e5cce99a9
clan-cli: manage sub-commands via python argparse
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