mirror of
https://github.com/virt-manager/virt-manager.git
synced 2024-12-22 13:34:07 +03:00
Add GUI test for Virtuozzo containers
This commit is contained in:
parent
5a70b946c7
commit
3f59906af6
@ -285,6 +285,27 @@ class NewVM(unittest.TestCase):
|
||||
self.assertFalse(newvm.showing)
|
||||
self.app.quit()
|
||||
|
||||
def testNewVMContainerVZ(self):
|
||||
"""
|
||||
Virtuozzo container install
|
||||
"""
|
||||
self.app.uri = tests.utils.uri_vz
|
||||
|
||||
newvm = self._open_create_wizard()
|
||||
uiutils.find_fuzzy(newvm, "Container", "radio").click()
|
||||
uiutils.find_fuzzy(newvm, "Forward", "button").click()
|
||||
|
||||
# Set directory path
|
||||
uiutils.find_fuzzy(newvm, None,
|
||||
"text", "container template").text = "centos-6-x86_64"
|
||||
uiutils.find_fuzzy(newvm, "Forward", "button").click()
|
||||
uiutils.find_fuzzy(newvm, "Forward", "button").click()
|
||||
uiutils.find_fuzzy(newvm, "Finish", "button").click()
|
||||
|
||||
uiutils.find_fuzzy(self.app.root, "container1 on", "frame")
|
||||
self.assertFalse(newvm.showing)
|
||||
self.app.quit()
|
||||
|
||||
def testNewXenPV(self):
|
||||
"""
|
||||
Test the create wizard with a fake xen PV install
|
||||
|
Loading…
Reference in New Issue
Block a user