From ddd445e2918cb76ec8d870e16c7c8a9264273a90 Mon Sep 17 00:00:00 2001 From: Daniel Narvaez Date: Fri, 06 Jul 2012 11:04:23 +0000 Subject: Try to sleep 10 seconds after closing an activity That's where we always seems to fail, maybe something with treeview refresh. --- (limited to 'tests') diff --git a/tests/shell.py b/tests/shell.py index c13bf8f..1e00b97 100644 --- a/tests/shell.py +++ b/tests/shell.py @@ -1,15 +1,13 @@ import sys +from time import sleep from dogtail import tree from dogtail import predicate from dogtail import dump -from dogtail.config import config ACTIVITIES_WITH_OBJECT_CHOOSER = ["Read", "Image Viewer", "Jukebox"] ACTIVITIES_TO_IGNORE = ["Pippy", "Write"] -config.load({ "actionDelay": 3 }) - def build_activities_list(): shell = tree.root.child(name="sugar-session", roleName="application") @@ -71,6 +69,7 @@ def main(): for activity in build_activities_list(): launch_and_stop_activity(activity) + sleep(10) try: main() -- cgit v0.9.1