From 7adc3568893d62d99d0663dd026237e14dec4960 Mon Sep 17 00:00:00 2001 From: Kamil Gierszewski Date: Fri, 10 Jan 2025 13:11:10 +0100 Subject: [PATCH] conftest: move import to the top of file Signed-off-by: Kamil Gierszewski --- test/functional/tests/conftest.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/functional/tests/conftest.py b/test/functional/tests/conftest.py index 100f25d..4460d6c 100644 --- a/test/functional/tests/conftest.py +++ b/test/functional/tests/conftest.py @@ -34,6 +34,7 @@ from log.logger import create_log, Log from test_utils.common.singleton import Singleton from storage_devices.lvm import Lvm, LvmConfiguration from storage_devices.disk import Disk +from storage_devices.drbd import Drbd TEST_RUN_DATA_PATH = "/tmp/open_cas_test_data" @@ -320,8 +321,6 @@ def unmount_cas_devices(): def __drbd_cleanup(): - from storage_devices.drbd import Drbd - Drbd.down_all() # If drbd instance had been configured on top of the CAS, the previous attempt to stop # failed. As drbd has been stopped try to stop CAS one more time.