Skip to content

Commit dc0ecdd

Browse files
committed
Fixing some ruff errors
Signed-off-by: Damien Thenot <[email protected]>
1 parent b6acbb4 commit dc0ecdd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

tests/storage/coalesce/conftest.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import pytest
2+
23
import logging
34

45
MAX_LENGTH = 1 * 1024 * 1024 * 1024 # 1GiB
@@ -17,7 +18,7 @@ def vdi_on_local_sr(host, local_sr_on_hostA1, image_format):
1718
@pytest.fixture(scope="module")
1819
def vdi_with_vbd_on_dom0(host, vdi_on_local_sr):
1920
dom0 = host.get_dom0_VM()
20-
vbd_uuid = dom0.connect_vdi(vdi_on_local_sr)
21+
dom0.connect_vdi(vdi_on_local_sr)
2122

2223
yield vdi_on_local_sr
2324

tests/storage/coalesce/test_coalesce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import logging
22

3-
from .utils import wait_for_vdi_coalesce, copy_data_to_tapdev, snapshot_vdi, compare_data
3+
from .utils import compare_data, copy_data_to_tapdev, snapshot_vdi, wait_for_vdi_coalesce
44

55
class Test:
66
def test_write_data(self, host, tapdev, data_file_on_host):

0 commit comments

Comments
 (0)