Drop redundant variable definition

This is follow-up of 867c9dd8b9 and fix
the redundant variable definition introduced by the commit.

Change-Id: I82425c3eb8ee77460578fdfa34cddf3d97fd855c
This commit is contained in:
Takashi Kajinami
2025-06-24 10:23:11 +09:00
parent e80ff9bd41
commit 27452ea2e9

View File

@@ -688,11 +688,6 @@ class LibvirtDriverTestCase(base.BaseTestCase):
volume_mock = pool_mock.createXML.return_value
volume_mock.upload.assert_called_once_with(mock.ANY, 0, mock.ANY)
expected_disk = ('<disk device="cdrom" type="file">'
'<target bus="sata" dev="sdx" />'
'<address bus="0" controller="0" '
'target="0" type="drive" unit="0" />')
expected_disk = ('<disk type="file" device="cdrom">'
'<target dev="sdx" bus="sata" />'
'<address type="drive" controller="0"'