[node-patches] Change in ovirt-node[master]: tests: Fix enter_all_top_menus testcase

fabiand at fedoraproject.org fabiand at fedoraproject.org
Fri May 10 15:42:34 UTC 2013


Fabian Deutsch has uploaded a new change for review.

Change subject: tests: Fix enter_all_top_menus testcase
......................................................................

tests: Fix enter_all_top_menus testcase

Change-Id: I66f46081bc23f1207e85183d7f8ba81f7ae21edf
Signed-off-by: Fabian Deutsch <fabiand at fedoraproject.org>
---
M tests/igor/tcs/uinput/enter_all_top_menus.py
1 file changed, 5 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/52/14652/1

diff --git a/tests/igor/tcs/uinput/enter_all_top_menus.py b/tests/igor/tcs/uinput/enter_all_top_menus.py
index 157a239..5c0b592 100644
--- a/tests/igor/tcs/uinput/enter_all_top_menus.py
+++ b/tests/igor/tcs/uinput/enter_all_top_menus.py
@@ -10,14 +10,15 @@
 sys.path.append(os.environ["IGOR_LIBDIR"])
 import common.input
 
-KEY_DOWN = common.input.uinput.KEY_DOWN
-KEY_UP = common.input.uinput.KEY_UP
+from common.input.uinput import KEY_DOWN, KEY_UP
 
 seconds_between_pages = 5
 
 story = [
     # First page, expect "Power Off" to be on the screen
-    (None,                0, "<Power Off>"),
+    (None,
+     0,
+     "<Power Off>"),
 ]
 
 keywords = ["System Identification",        # Network page
@@ -26,12 +27,7 @@
             "Logrotate",                    # Logging page
             "NFS Location",                 # Kernel Dump page
             "iSCSI",                        # Remote Storage page
-            "CIM Access",                   # CIM page
             "Monitoring Configuration",     # Monitoring
-            "Management Server",            # oVirt Engine Page
-            "Installed Plugins",            # Plugins page
-# Plugins should be checkd somewhere else
-#            "Enable SNMP",                  # SNMP page - became a plugin
         ]
 
 # Now press key down, and expext $txt to be on the screen for all keywords
@@ -43,7 +39,7 @@
     story.append(([KEY_UP], 1, None))
 
 # At last expect "<Power Off>" to be on the screen again
-story.append((None, 0, "<Power Off>"))
+story.append((None, 0, "<Restart>"))
 
 if __name__ == "__main__":
     common.input.Storyboard("Enter all top menus and go back", \


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I66f46081bc23f1207e85183d7f8ba81f7ae21edf
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