Jörg Thalheim
c5e30a40b4
pytests: use /tmp on macos to avoid unix socket issues
2025-03-19 18:35:38 +01:00
Jörg Thalheim
43035b85a5
always resolve symlinks for TemporaryDirectory
...
On macOS mktemp returns a temporary directory in a symlink.
Nix has a bug where it won't accept path:// located in a symlink.
This avoid this issue by always resolving symlinks as returned by
TemporaryDirectory.
2025-03-19 16:47:18 +01:00
Jörg Thalheim
27b1aeb827
add temp_dir fixture
2024-10-01 20:54:19 +02:00
Qubasa
1cb6cff6fe
clan-cli: Better env jailing in temporary_home
2024-06-25 12:03:44 +02:00
Qubasa
0ffb45eaf0
clan-cli: temporary_home, set XDG_RUNTIME_DIR
2024-06-05 13:34:17 +02:00
Qubasa
941bc49c1d
clan-cli: Fix tmpdir leak and fix tests/temporary_dir inconsistencies
2024-03-27 15:51:52 +01:00
Jörg Thalheim
6f0722c692
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Jörg Thalheim
2924e3e912
drop unused clan_data_dir
2023-11-10 12:55:46 +01:00
Jörg Thalheim
48d7968cf9
move flake configuration to .config/clan/flakes rather than $XDG_DATA_DIRS
2023-11-10 12:50:51 +01:00
Jörg Thalheim
679b70bb34
also override XDG_DATA_HOME in tests
...
otherwise tests will fail if XDG_DATA_HOME is set by a user
2023-11-09 17:45:24 +01:00
Qubasa
e389c7cfe7
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
a628934351
Removing find_git_repo
2023-10-27 19:26:03 +02:00
Qubasa
adffdc14f6
Added repro_env_break debugging command. This spawn a terminal inside the temp home folder with the same environment as the python test
2023-10-27 19:20:17 +02:00
Qubasa
3dc7d12e9c
Added ref to Qubasa-main in template/new-clan/flake.nix
2023-10-27 19:20:17 +02:00
Qubasa
d96ea61243
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Qubasa
2ad87785c0
Added state directory.
2023-10-27 19:11:27 +02:00
Jörg Thalheim
5e5fbfcf06
write test for get_clan_flake_toplevel
2023-07-28 10:22:25 +00:00