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:
Stanislaw Pitucha
2012-08-04 19:05:52 +01:00
parent fca0a5cdae
commit 3e6d346911

View File

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