clan-core/pkgs/clan-cli/tests
DavHau 02dd132e08
All checks were successful
checks-impure / test (pull_request) Successful in 1m43s
checks / test (pull_request) Successful in 2m44s
vms: init graceful shutdown for GUI
- add python modules for qemu protocols: QMP (hardware interactions) and QGA (guest service interaction)
- refactor state directory: remove name from path (already contains url)
- add impure vm test for basic qmp interaction
- simplify existing vm persistance test (factor out shared code)
- integrate graceful shutdown into GUI

the GUI integration still needs to be improved later:
- add fallback in case system doesn't react to powerdown button
- shutdown GUI switch fails if VM hasn't been started yet, and then remains in a wrong position
2024-02-09 19:55:18 +07:00
..
data pregenerate ssh_host keys for tests 2023-09-28 16:31:59 +02:00
helpers Removed duplicate logging messages 2024-01-11 22:46:29 +01:00
machines rename deployment address to target address 2024-02-02 16:39:29 +07:00
test_flake api/machines: allow importing extra modules 2023-10-25 16:36:30 +01:00
test_flake_with_core rename deployment address to target address 2024-02-02 16:39:29 +07:00
test_flake_with_core_and_pass rename deployment address to target address 2024-02-02 16:39:29 +07:00
test_flake_with_core_dynamic_machines Fixing a multitude of tests 2023-10-27 19:21:50 +02:00
age_keys.py rename cli tests to have a common suffix 2023-08-09 15:54:27 +02:00
command.py integegrate remote-viewer instead of spicy 2023-11-29 16:07:12 +01:00
conftest.py Removed duplicate logging messages 2024-01-11 22:46:29 +01:00
fixtures_flakes.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00
getpwnam-preload.c add test for remote ssh commands 2023-08-10 11:05:05 +02:00
host_group.py add host_group fixture 2023-08-11 16:10:12 +02:00
ports.py modernisation for python 3.11 2023-11-29 13:29:45 +00:00
root.py fix clan-pytest build 2023-09-27 16:20:05 +02:00
sshd.py disallow variable shadowing 2023-11-30 14:31:37 +01:00
temporary_dir.py modernisation for python 3.11 2023-11-29 13:29:45 +00:00
test_backups.py backups: implement list the easy way 2023-12-07 13:22:41 +01:00
test_clan_uri.py URI: Added support for #flake_attr 2024-01-16 17:11:26 +01:00
test_cli.py clan-cli: move arg parsing to extra method 2023-08-24 18:28:33 +02:00
test_config.py disallow variable shadowing 2023-11-30 14:31:37 +01:00
test_create_flake.py Deleted everything webui 2023-12-14 18:47:14 +01:00
test_dirs.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00
test_flakes_cli.py Fixed pytest 2023-12-14 18:21:10 +01:00
test_git.py make git idempotent 2023-09-22 16:38:46 +02:00
test_history_cli.py Fixed failing tests in machines and history cli, removed test_machines_api.py 2023-12-14 18:25:42 +01:00
test_import_sops_cli.py clan-cli secrets: flake_name -> flake_dir 2023-11-05 16:58:48 +01:00
test_machines_cli.py Fix cmd to default print on all outputs. Default print on stderr 2024-01-10 17:31:11 +01:00
test_machines_config.py clan_cli: flake_name -> flake_dir 2023-11-15 16:23:28 +01:00
test_secrets_cli.py modernisation for python 3.11 2023-11-29 13:29:45 +00:00
test_secrets_generate.py Working test_secrets_generate 2024-01-11 21:48:39 +01:00
test_secrets_password_store.py rename deployment address to target address 2024-02-02 16:39:29 +07:00
test_secrets_upload.py rename deployment address to target address 2024-02-02 16:39:29 +07:00
test_ssh_cli.py modernisation for python 3.11 2023-11-29 13:29:45 +00:00
test_ssh_local.py remove unused ssh.run method 2024-02-06 15:47:32 +01:00
test_ssh_remote.py test: add ipv6 example without port 2023-11-29 11:38:01 +01:00
test_vms_cli.py vms: init graceful shutdown for GUI 2024-02-09 19:55:18 +07:00