diff options
Diffstat (limited to 'tests/shell.py')
-rw-r--r-- | tests/shell.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/shell.py b/tests/shell.py index c02b5f5..03d4036 100644 --- a/tests/shell.py +++ b/tests/shell.py @@ -53,6 +53,12 @@ def launch_and_stop_activity(activity_name): stop_button = activity.find_child(name="Stop", role_name="push button") stop_button.do_action("click") + activity = root.find_child(name="sugar-activity", + role_name="application", + expect_none=True) + if activity is not None: + raise RuntimeError + def go_to_list_view(): root = tree.get_root() shell = root.find_child(name="sugar-session", role_name="application") |