diff options
author | renatofilho <renato.filho@openbossa.org> | 2010-11-09 16:07:47 -0300 |
---|---|---|
committer | renatofilho <renato.filho@openbossa.org> | 2010-11-09 16:07:47 -0300 |
commit | c7f6b49e1e8df003f44528839f4b0438f155e8b1 (patch) | |
tree | 5a5aeea19850e65a586e64ca0c6982f3d166c978 /tests/QtNetwork/basic_auth_test.py | |
parent | 90bdf74053b18d92df0eed142fef39ce8a15d6b4 (diff) |
Convert QByteArray values to string during function call.
Diffstat (limited to 'tests/QtNetwork/basic_auth_test.py')
-rw-r--r-- | tests/QtNetwork/basic_auth_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtNetwork/basic_auth_test.py b/tests/QtNetwork/basic_auth_test.py index 3f1b87b7c..b095f0938 100644 --- a/tests/QtNetwork/basic_auth_test.py +++ b/tests/QtNetwork/basic_auth_test.py @@ -30,7 +30,7 @@ class testAuthenticationSignal(UsesQCoreApplication): http.setHost("localhost", self.httpd.port()) http.connect(SIGNAL("authenticationRequired(const QString&, quint16, QAuthenticator*)"), self.onAuthRequest) path = QUrl.toPercentEncoding("/index.html", "!$&'()*+,;=:@/") - data = http.get(path) + data = http.get(str(path)) self.app.exec_() self.assert_(self._resultOk) @@ -40,7 +40,7 @@ class testAuthenticationSignal(UsesQCoreApplication): # Using new signal slot syntax causes a segfault http.authenticationRequired.connect(self.onAuthRequest) path = QUrl.toPercentEncoding("/index.html", "!$&'()*+,;=:@/") - data = http.get(path) + data = http.get(str(path)) self.app.exec_() self.assert_(self._resultOk) |