mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-12 02:40:31 +08:00
nixos.tests.udisks2: state_dir is now of type pathlib.Path
This commit is contained in:
committed by
David Arnold
parent
af859d1df1
commit
32face8dea
@@ -34,7 +34,7 @@ in
|
||||
|
||||
with lzma.open(
|
||||
"${stick}"
|
||||
) as data, open(machine.state_dir + "/usbstick.img", "wb") as stick:
|
||||
) as data, open(machine.state_dir / "usbstick.img", "wb") as stick:
|
||||
stick.write(data.read())
|
||||
|
||||
machine.succeed("udisksctl info -b /dev/vda >&2")
|
||||
|
||||
Reference in New Issue
Block a user