mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-06-05 21:03:40 +00:00
With the addition of test driver machines based on systemd-nspawn, the `Machine` class was superseded by an abstract base class `BaseMachine` and a subclass `QemuMachine` for conventional QEMU-based test nodes. This commit fixes the usage of the `Machine` class in type annotations across our tests. It also makes the tests use the more specific `machines_qemu` variable if QEMU-specific features are required from the machines. (`machines` provides only the methods shared by both `NspawnMachine` and `Qemumachine`.)