diff --git a/src/tests/dbus-tests/test_20_LVM.py b/src/tests/dbus-tests/test_20_LVM.py index 4689277d9..5c2439151 100644 --- a/src/tests/dbus-tests/test_20_LVM.py +++ b/src/tests/dbus-tests/test_20_LVM.py @@ -10,10 +10,6 @@ import udiskstestcase -import gi -gi.require_version('BlockDev', '2.0') -from gi.repository import BlockDev - class UDisksLVMTestBase(udiskstestcase.UdisksTestCase): diff --git a/src/tests/dbus-tests/test_70_encrypted.py b/src/tests/dbus-tests/test_70_encrypted.py index 41605a8d3..2a564c95b 100644 --- a/src/tests/dbus-tests/test_70_encrypted.py +++ b/src/tests/dbus-tests/test_70_encrypted.py @@ -10,7 +10,7 @@ import configparser import gi -gi.require_version('BlockDev', '2.0') +gi.require_version('BlockDev', '3.0') from gi.repository import BlockDev from packaging.version import Version diff --git a/src/tests/dbus-tests/test_80_filesystem.py b/src/tests/dbus-tests/test_80_filesystem.py index b92134760..171e859e8 100644 --- a/src/tests/dbus-tests/test_80_filesystem.py +++ b/src/tests/dbus-tests/test_80_filesystem.py @@ -15,7 +15,7 @@ import gi gi.require_version('GLib', '2.0') -gi.require_version('BlockDev', '2.0') +gi.require_version('BlockDev', '3.0') from gi.repository import GLib from gi.repository import BlockDev