Fix bug#218 - TimedQApplication uses a singleton.

It's necessary to use a global TIMEOUT value, big enough to run
all the tests without killing the QApp.

Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>
          Renato Araujo <renato.araujo@openbossa.org>
This commit is contained in:
Luciano Wolf 2010-05-20 22:07:17 -03:00
commit 17f9eed1ad
2 changed files with 14 additions and 7 deletions

View file

@ -14,7 +14,7 @@ class TestLoadFinished(TimedQApplication):
def setUp(self):
#Acquire resources
TimedQApplication.setUp(self, timeout=250)
TimedQApplication.setUp(self, timeout=1000)
self.view = QWebView()
QObject.connect(self.view, SIGNAL('loadFinished(bool)'),
self.load_finished)