From 4abdc6295f983d5dc9bee8686ae7c3a744f750ac Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Tue, 22 Jan 2013 14:39:14 +0000 Subject: Update main process name --- (limited to 'tests/sugar') diff --git a/tests/sugar/shell.py b/tests/sugar/shell.py index 94059bc..7be2abe 100644 --- a/tests/sugar/shell.py +++ b/tests/sugar/shell.py @@ -10,7 +10,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 = [] @@ -30,7 +30,7 @@ def launch_and_stop_activity(activity_name): logging.info("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") @@ -65,7 +65,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