python: Misspelling in tests, libirt -> libvirt.

This commit is contained in:
Richard W.M. Jones
2016-03-24 13:52:28 +00:00
parent db982654d1
commit 0024e5a13e
3 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -28,7 +28,7 @@ from .tests_helper import *
guestsdir = os.environ['guestsdir']
@skipUnlessLibirtHasCPointer ()
@skipUnlessLibvirtHasCPointer ()
class Test910Libvirt (unittest.TestCase):
def test_libvirt (self):
import libvirt

View File

@@ -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)