diff options
| author | Craig Jennings <c@cjennings.net> | 2026-06-25 02:27:38 -0400 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-06-25 02:27:38 -0400 |
| commit | 08844e730f9acd0874f596bb9906f1f264824eba (patch) | |
| tree | 0e2191da3f8689f09e5c7b6e11b595b4c2e1a5e2 /scripts/testing/tests/test_services.py | |
| parent | f50fc1def85c1dbbb0ec781be4071b7ec9285785 (diff) | |
| download | archsetup-08844e730f9acd0874f596bb9906f1f264824eba.tar.gz archsetup-08844e730f9acd0874f596bb9906f1f264824eba.zip | |
test(archsetup): fix fixture scope and initramfs path in the sweep
VM run #2 exposed two test bugs (archsetup itself passed clean, 53/0/0):
- ScopeMismatch errors on 26 tests: the host-dependent fixtures were
session-scoped, but Testinfra's host fixture is module-scoped, and a
session fixture cannot request a module one. Drop those fixtures to
module scope.
- test_console_font_in_initramfs hardcoded /boot/initramfs-linux.img; this
fleet runs linux-lts, so the image is initramfs-linux-lts.img. Pick the
main (non-fallback) initramfs by glob instead.
Diffstat (limited to 'scripts/testing/tests/test_services.py')
0 files changed, 0 insertions, 0 deletions
