Convert minimal test to python test driver

This commit is contained in:
Martin Weinelt 2022-07-19 23:54:04 +02:00
parent f535d8123c
commit 004c229ca4
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -14,9 +14,9 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/> # along with this program. If not, see <http://www.gnu.org/licenses/>
import <nixpkgs/nixos/tests/make-test.nix> { import <nixpkgs/nixos/tests/make-test-python.nix> {
machine = nodes.machine =
{ config, pkgs, ... }: { config, pkgs, ... }:
{ {
imports = [ imports = [
@ -26,6 +26,6 @@ import <nixpkgs/nixos/tests/make-test.nix> {
testScript = testScript =
'' ''
$machine->waitForUnit("multi-user.target"); machine.wait_for_unit("multi-user.target");
''; '';
} }