Fix test classes collision
Test classes LibvirtConfigGuestSerialTest were colliding, hiding a failing test by accident. One has been renamed to *GuestConsoleTest. Change-Id: Idc67634b3e5a616021840fa66313a65b135e6f86
This commit is contained in:
@@ -431,11 +431,11 @@ class LibvirtConfigGuestSerialTest(LibvirtConfigBaseTest):
|
||||
xml = obj.to_xml()
|
||||
self.assertXmlEqual(xml, """
|
||||
<serial type="file">
|
||||
<source file="/tmp/vm.log"/>
|
||||
<source path="/tmp/vm.log"/>
|
||||
</serial>""")
|
||||
|
||||
|
||||
class LibvirtConfigGuestSerialTest(LibvirtConfigBaseTest):
|
||||
class LibvirtConfigGuestConsoleTest(LibvirtConfigBaseTest):
|
||||
def test_config_pty(self):
|
||||
obj = config.LibvirtConfigGuestConsole()
|
||||
obj.type = "pty"
|
||||
|
||||
Reference in New Issue
Block a user