Commit graph

7 commits

Author SHA1 Message Date
Jörg Thalheim
d5a10dc6d5 test: other random ruff lints 2023-11-29 08:32:38 +01:00
Jörg Thalheim
8c46f6e97d tests: don't use print in favour of logger 2023-11-29 08:28:52 +01:00
Jörg Thalheim
9ac34be48f test: use builtins for type annotations instead of List / Optional 2023-11-29 08:28:52 +01:00
Andrew Marshall
857bcd5c4f Remove unneeded shebangs from test files
The files are not executable, tests should only be run via `pytest`, and
some of them were incorrectly python2.
2023-04-14 12:43:34 -04:00
Jörg Thalheim
471aa92765 sort imports with ruff 2023-01-16 14:09:00 +01:00
Jörg Thalheim
28a0597659 graceful fallback if no nixpkgs is in NIX_PATH 2023-01-16 14:06:09 +01:00
Jörg Thalheim
748988f4b9
rewrite tests using pytest
this allows us to use fixtures that are more flexible
2022-06-01 08:20:43 +02:00