aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRenato Filho <renato.filho@openbossa.org>2010-06-22 18:54:31 -0300
committerRenato Filho <renato.filho@openbossa.org>2010-06-23 11:00:37 -0300
commitd1ee9643270fcdad8ab7db9f812194be2e2c9d94 (patch)
treefc8a88faa109d11fd1475dfe658dc19ab2111d73 /tests
parent7373ecb1c067f1f1c0156e88d1ed799ef8b02a24 (diff)
Fixed http test.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Luciano Wolf <luciano.wolf@openbossa.org>
Diffstat (limited to 'tests')
-rw-r--r--tests/QtNetwork/http_test.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/QtNetwork/http_test.py b/tests/QtNetwork/http_test.py
index 5d40405a..531316da 100644
--- a/tests/QtNetwork/http_test.py
+++ b/tests/QtNetwork/http_test.py
@@ -22,7 +22,8 @@ class HttpSignalsCase(UsesQApplication):
def tearDown(self):
self.httpd.shutdown()
- del self.http
+ self.http = None
+ self.httpd = None
super(HttpSignalsCase, self).tearDown()
def callback(self, ident):
@@ -32,7 +33,7 @@ class HttpSignalsCase(UsesQApplication):
def testDefaultArgs(self):
#QHttp signal requestStarted signal
# @bug 114
- QObject.connect(self.http, SIGNAL('requestStarted(int)'), self.callback)
+ self.http.requestStarted.connect(self.callback)
self.http.get(self.url.path())
self.app.exec_()