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:
parent
7fd722a38a
commit
17f9eed1ad
2 changed files with 14 additions and 7 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue