summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrenatofilho <renato.filho@openbossa.org>2010-11-09 16:07:47 -0300
committerrenatofilho <renato.filho@openbossa.org>2010-11-09 16:07:47 -0300
commitc7f6b49e1e8df003f44528839f4b0438f155e8b1 (patch)
tree5a5aeea19850e65a586e64ca0c6982f3d166c978
parent90bdf74053b18d92df0eed142fef39ce8a15d6b4 (diff)
downloadpyside-c7f6b49e1e8df003f44528839f4b0438f155e8b1.tar.gz
pyside-c7f6b49e1e8df003f44528839f4b0438f155e8b1.tar.xz
pyside-c7f6b49e1e8df003f44528839f4b0438f155e8b1.zip
Convert QByteArray values to string during function call.
-rw-r--r--tests/QtNetwork/basic_auth_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/QtNetwork/basic_auth_test.py b/tests/QtNetwork/basic_auth_test.py
index 3f1b87b..b095f09 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)