Skip to content

Commit 385f290

Browse files
fix(disk_perf): usage of double quote in nested string
Signed-off-by: Mathieu Labourier <[email protected]>
1 parent 0d17e17 commit 385f290

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/storage/benchmarks/test_disk_perf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Tests default settings #
1313

14-
CSV_FILE = f"/tmp/results_{datetime.now().strftime("%Y-%m-%d_%H:%M:%S")}.csv"
14+
CSV_FILE = f"/tmp/results_{datetime.now().strftime('%Y-%m-%d_%H:%M:%S')}.csv"
1515

1616
DEFAULT_SAMPLES_NUM = 10
1717
DEFAULT_SIZE = "1G"
@@ -116,7 +116,7 @@ def test_disk_benchmark(
116116
):
117117
vm = running_unix_vm_with_fio
118118
vbd = plugged_vbd
119-
device = f"/dev/{vbd.param_get(param_name="device")}"
119+
device = f"/dev/{vbd.param_get(param_name='device')}"
120120
test_type = "{}-{}-{}-{}".format(
121121
block_size,
122122
file_size,

0 commit comments

Comments
 (0)