From aa9c52db0ca5b91a87925c315876a28c8cdc2efd Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 11 Dec 2012 16:08:37 +0000 Subject: Adapt to executable name change --- (limited to 'tests') diff --git a/tests/sugar/shell.py b/tests/sugar/shell.py index 14a0709..0dd9ca2 100644 --- a/tests/sugar/shell.py +++ b/tests/sugar/shell.py @@ -7,7 +7,7 @@ ACTIVITIES_WITH_OBJECT_CHOOSER = ["Read", "Jukebox"] def build_activities_list(): root = tree.get_root() - shell = root.find_child(name="sugar-session", role_name="application") + shell = root.find_child(name="main.py", role_name="application") activities = [] @@ -26,7 +26,7 @@ def launch_and_stop_activity(activity_name): print "Launching %s" % activity_name root = tree.get_root() - shell = root.find_child(name="sugar-session", role_name="application") + shell = root.find_child(name="main.py", role_name="application") table = shell.find_child(role_name="table") cells = table.find_children(role_name="table cell") @@ -60,7 +60,7 @@ def launch_and_stop_activity(activity_name): def go_to_list_view(): root = tree.get_root() - shell = root.find_child(name="sugar-session", role_name="application") + shell = root.find_child(name="main.py", role_name="application") done_button = shell.find_child(name="Done", role_name="push button") done_button.do_action("click") -- cgit v0.9.1