Webkit test cleanup.
Running 2 different tests inside the same class causes a segfault
due to TimedQApplication limitations.
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
parent
0eb416d487
commit
e5c3d58025
1 changed files with 0 additions and 5 deletions
|
|
@ -33,11 +33,6 @@ class TestLoadFinished(TimedQApplication):
|
||||||
|
|
||||||
self.assert_(self.called)
|
self.assert_(self.called)
|
||||||
|
|
||||||
def testLoadFinishedFromUrl(self):
|
|
||||||
url = QUrl('http://www.python.org')
|
|
||||||
self.view.setUrl(url)
|
|
||||||
self.app.exec_()
|
|
||||||
|
|
||||||
def load_finished(self, ok):
|
def load_finished(self, ok):
|
||||||
#Callback to check if load was successful
|
#Callback to check if load was successful
|
||||||
self.app.quit()
|
self.app.quit()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue