diff options
author | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-11 16:08:37 (GMT) |
---|---|---|
committer | Daniel Narvaez <dwnarvaez@gmail.com> | 2012-12-11 16:08:37 (GMT) |
commit | aa9c52db0ca5b91a87925c315876a28c8cdc2efd (patch) | |
tree | 37412029cd4e21f13b76be84737ab61431478196 /tests/sugar/shell.py | |
parent | 3caabbed9f95de37367c0dd3b2f1e87edef471b2 (diff) |
Adapt to executable name change
Diffstat (limited to 'tests/sugar/shell.py')
-rw-r--r-- | tests/sugar/shell.py | 6 |
1 files changed, 3 insertions, 3 deletions
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") |