aboutsummaryrefslogtreecommitdiff
path: root/scripts/testing/tests/test_dotfiles.py
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-06-25 01:12:35 -0400
committerCraig Jennings <c@cjennings.net>2026-06-25 01:12:35 -0400
commitea5ba1469f7003d739de8a28f1b293a323863141 (patch)
tree7aecf726130d768eb88ff54cdbea5528d927ba7a /scripts/testing/tests/test_dotfiles.py
parent5a76e5ce034a3ca11ebb368cd91d7b896b33c0c8 (diff)
downloadarchsetup-ea5ba1469f7003d739de8a28f1b293a323863141.tar.gz
archsetup-ea5ba1469f7003d739de8a28f1b293a323863141.zip
test(archsetup): port full shell validation sweep to Testinfra (P2)
Port all ~26 post-install checks from validation.sh to pytest/Testinfra, reaching parity before the cutover. Adds test_users, test_packages, test_services, test_desktop, test_boot, test_keyring, and test_archsetup (88 tests after parametrizing groups, services, timers, tools, and configs), plus shared conftest fixtures for ZFS/NVMe/compositor/networking gating. The shell sweep's three outcomes map cleanly: hard failures become assertions, advisory warnings and unmet preconditions (headless compositor, slirp networking, optional services, non-ZFS/non-NVMe hosts) become skips. One correctness fix vs the shell sweep: check awww, not swww — archsetup installs awww (swww's successor) and `pacman -Q swww` no longer matches. Verified on the host: py_compile clean, pytest --collect-only green (88 tests). The sweep against a real VM is verified by the make test run that follows.
Diffstat (limited to 'scripts/testing/tests/test_dotfiles.py')
0 files changed, 0 insertions, 0 deletions