[node-patches] Change in ovirt-node[master]: tests: Add sizes page to mi_extended

fabiand at fedoraproject.org fabiand at fedoraproject.org
Wed Oct 17 09:37:32 UTC 2012


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Add sizes page to mi_extended
......................................................................

tests: Add sizes page to mi_extended

Change-Id: Ifdf0f152028c750beab612c1d47fb8baafcdb17b
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/sets/tui/manual_installation_extended.set
A tests/igor/tcs/uinput/installer/05_sizes_page.py
R tests/igor/tcs/uinput/installer/06_password_page.py
R tests/igor/tcs/uinput/installer/07_progress_page.py
4 files changed, 35 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/22/8622/1

diff --git a/tests/igor/sets/tui/manual_installation_extended.set b/tests/igor/sets/tui/manual_installation_extended.set
index b56c0ec..a42d2fe 100644
--- a/tests/igor/sets/tui/manual_installation_extended.set
+++ b/tests/igor/sets/tui/manual_installation_extended.set
@@ -21,10 +21,13 @@
 filename: '04_installation_device_page.py'
 
 ---
-filename: '05_password_page.py'
+filename: '05_sizes_page.py'
 
 ---
-filename: '06_progress_page.py'
+filename: '06_password_page.py'
+
+---
+filename: '07_progress_page.py'
 # Timeout for installation
 timeout: 120
 
diff --git a/tests/igor/tcs/uinput/installer/05_sizes_page.py b/tests/igor/tcs/uinput/installer/05_sizes_page.py
new file mode 100644
index 0000000..dc920e4
--- /dev/null
+++ b/tests/igor/tcs/uinput/installer/05_sizes_page.py
@@ -0,0 +1,30 @@
+#!/bin/env python
+# -*- coding: utf-8 -*
+# vim: set sw=4:
+
+import sys
+import os
+import logging
+import time
+
+sys.path.append(os.environ["IGOR_LIBDIR"])
+import common.common
+import common.input
+
+
+logger = logging.getLogger(__name__)
+
+title = "TUI Installer Sizes Page"
+
+story = [
+    # Expect sizes page
+    (None,                  4, "Please enter the sizes for"),
+]
+
+story += [
+    # Keep default values
+    (["\t\t\t\t\t\t\n"],            0, None),
+]
+
+if __name__ == "__main__":
+    common.input.Storyboard(title, story).run_and_exit()
diff --git a/tests/igor/tcs/uinput/installer/05_password_page.py b/tests/igor/tcs/uinput/installer/06_password_page.py
similarity index 100%
rename from tests/igor/tcs/uinput/installer/05_password_page.py
rename to tests/igor/tcs/uinput/installer/06_password_page.py
diff --git a/tests/igor/tcs/uinput/installer/06_progress_page.py b/tests/igor/tcs/uinput/installer/07_progress_page.py
similarity index 100%
rename from tests/igor/tcs/uinput/installer/06_progress_page.py
rename to tests/igor/tcs/uinput/installer/07_progress_page.py


--
To view, visit http://gerrit.ovirt.org/8622
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ifdf0f152028c750beab612c1d47fb8baafcdb17b
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list