forked from mirrors/nixpkgs
nixos.tests.udisks2: state_dir is now of type pathlib.Path
This commit is contained in:
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")
|
||||
|
|
Loading…
Reference in a new issue