mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
python: Misspelling in tests, libirt -> libvirt.
This commit is contained in:
@@ -30,7 +30,7 @@ from .tests_helper import *
|
||||
|
||||
@skipUnlessArchMatches ("(i.86|x86_64)") # If the architecture doesn't support IDE, skip the test.
|
||||
@skipUnlessGuestfsBackendIs ('libvirt')
|
||||
@skipUnlessLibirtHasCPointer ()
|
||||
@skipUnlessLibvirtHasCPointer ()
|
||||
class Test820RHBZ912499 (unittest.TestCase):
|
||||
def setUp (self):
|
||||
# Create a test disk.
|
||||
|
||||
@@ -28,7 +28,7 @@ from .tests_helper import *
|
||||
|
||||
guestsdir = os.environ['guestsdir']
|
||||
|
||||
@skipUnlessLibirtHasCPointer ()
|
||||
@skipUnlessLibvirtHasCPointer ()
|
||||
class Test910Libvirt (unittest.TestCase):
|
||||
def test_libvirt (self):
|
||||
import libvirt
|
||||
|
||||
@@ -27,7 +27,7 @@ else:
|
||||
int_type = long
|
||||
|
||||
|
||||
def skipUnlessLibirtHasCPointer ():
|
||||
def skipUnlessLibvirtHasCPointer ():
|
||||
"""
|
||||
Skip the current class/method if:
|
||||
(a) libvirt cannot be imported (e.g. not installed)
|
||||
|
||||
Reference in New Issue
Block a user