[virt-tools-list] [PATCH v4 3/5] Add GUI test for Virtuozzo containers
Mikhail Feoktistov
mfeoktistov at virtuozzo.com
Mon Mar 13 12:01:52 UTC 2017
---
tests/uitests/newvm.py | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/tests/uitests/newvm.py b/tests/uitests/newvm.py
index 83b4d67..d6782da 100644
--- a/tests/uitests/newvm.py
+++ b/tests/uitests/newvm.py
@@ -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
--
2.9.3
More information about the virt-tools-list
mailing list