Fix up tests
This commit is contained in:
@@ -259,7 +259,7 @@ class LibvirtConnTestCase(test.TestCase):
|
||||
|
||||
check = [
|
||||
(lambda t: t.find('.').get('type'), 'lxc'),
|
||||
(lambda t: t.find('./os/type').text, 'exe'),
|
||||
(lambda t: t.find('./os/type').text, 'exe')
|
||||
]
|
||||
|
||||
for i, (check, expected_result) in enumerate(check):
|
||||
@@ -342,7 +342,6 @@ class LibvirtConnTestCase(test.TestCase):
|
||||
(lambda t: t.find('./devices/serial/source').get(
|
||||
'path').split('/')[1], 'console.log'),
|
||||
(lambda t: t.find('./memory').text, '2097152')]
|
||||
|
||||
if rescue:
|
||||
common_checks += [
|
||||
(lambda t: t.findall('./devices/disk/source')[0].get(
|
||||
|
Reference in New Issue
Block a user