diff options
Diffstat (limited to 'tests')
-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) |